ClanKiller.com
http://forums.clankiller.com/

[Solved]MySql (myAdmin thingy)
http://forums.clankiller.com/viewtopic.php?f=24&t=1113
Page 1 of 1

Author:  Mole [ Sun Jan 23, 2005 7:39 am ]
Post subject:  [Solved]MySql (myAdmin thingy)

Right, I installed phpMyAdmin, so that I could run sql queries in my database, in order to add tables etc (to see why, click here then on "store" at the top)

However, I try to run the following sql query

Code:

CREATE TABLE phpbb_store_inventory (
  inventory_id bigint(8) NOT NULL auto_increment,
  inventory_item bigint(8) NOT NULL default '0',
  inventory_store bigint(8) default NULL,
  inventory_user bigint(8) default NULL,
  inventory_price bigint(8) NOT NULL default '0',
  inventory_amount bigint(8) NOT NULL default '0',
  restock_time varchar(255) default NULL,
  restock_amount bigint(8) default NULL,
  restock_last varchar(255) default NULL,
  UNIQUE KEY item_id (inventory_id)
) TYPE=MyISAM;
 


And I get the following error,

Code:

Warning: Wrong parameter count for rtrim() in /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/read_dump.lib.php on line 23

Warning: Cannot add header information - headers already sent by (output started at /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/read_dump.lib.php:23) in /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/header_http.inc.php on line 14

Warning: Cannot add header information - headers already sent by (output started at /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/read_dump.lib.php:23) in /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/header_http.inc.php on line 15

Warning: Cannot add header information - headers already sent by (output started at /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/read_dump.lib.php:23) in /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/header_http.inc.php on line 16

Warning: Cannot add header information - headers already sent by (output started at /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/read_dump.lib.php:23) in /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/header_http.inc.php on line 17

Warning: Cannot add header information - headers already sent by (output started at /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/read_dump.lib.php:23) in /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/header_http.inc.php on line 20
 



Does anyone have any idea's what could be wrong?

Author:  ElevenBravo [ Sun Jan 23, 2005 10:46 am ]
Post subject: 

I would guess this
When ever you changed this
Quote:
$username = htmlspecialchars(rtrim(trim($username)));


It messed up this

Quote:
Warning: Wrong parameter count for rtrim() in /home/.sites/123/site117/web/phpMyAdmin-2.6.0-pl3/libraries/read_dump.lib.php on line 23

Author:  Mole [ Fri Jan 28, 2005 12:47 pm ]
Post subject: 

Well I have no idea what you are on about... lol, but I fixed it, problem was outdated php version, got them to put me to a server with a more recent version on.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/