It is currently Thu Mar 28, 2024 11:06 pm



Reply to topic  [ 3 posts ] 
[Solved]MySql (myAdmin thingy) 
Author Message
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 5:09 pm
Posts: 4003
Location: Walsall, West Mids, UK
Reply with quote
Post [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?

_________________
Games to complete:
GTA IV [100%] (For Multiplayer next!)
Fallout 3 [50%]
Rock Band [35%]
http://www.cafepress.com/SmeepProducts


Last edited by Mole on Fri Jan 28, 2005 12:47 pm, edited 1 time in total.



Sun Jan 23, 2005 7:39 am
Profile WWW
King
User avatar

Joined: Wed Apr 16, 2003 2:18 pm
Posts: 1976
Location: Sexy Town
Reply with quote
Post 
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

_________________
Contrary to popular belief, America is not a democracy, it is a Chucktatorship.
Image


Sun Jan 23, 2005 10:46 am
Profile ICQ YIM
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 5:09 pm
Posts: 4003
Location: Walsall, West Mids, UK
Reply with quote
Post 
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.

_________________
Games to complete:
GTA IV [100%] (For Multiplayer next!)
Fallout 3 [50%]
Rock Band [35%]
http://www.cafepress.com/SmeepProducts


Fri Jan 28, 2005 12:47 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.