- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 43 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - phpMyAdmin errors [ ]
Author
Message
LosersInc
Guest
Posted:
Thu Feb 27, 2003 2:49 am
Getting the following error with phpMyAdmin:
Code:
Error
SQL-query :
CREATE TABLE nuke_comments(
tid int( 11 ) NOT NULL auto_increment,
pid int( 11 ) default '0',
sid int( 11 ) default '0',
date datetime default NULL ,
name varchar( 60 ) NOT NULL default '',
email varchar( 60 ) default NULL ,
url varchar( 60 ) default NULL ,
host_name varchar( 60 ) default NULL ,
subject varchar( 85 ) NOT NULL default '',
COMMENT text NOT NULL ,
score tinyint( 4 ) NOT NULL default '0',
reason tinyint( 4 ) NOT NULL default '0',
PRIMARY KEY ( tid ) ,
KEY tid( tid ) ,
KEY pid( pid ) ,
KEY sid( sid )
) TYPE = MYISAM
MySQL said:
Column 'pid' is used with UNIQUE or INDEX but is not defined as NOT NULL
Anyone got any ideas? I haven't modified the nuke.sql file at all.
ArtificialIntel
Joined: Jan 31, 2004
Posts: -88
Posted:
Thu Feb 27, 2003 6:59 am
modify it and add NOT NULL before default next to the pid and sid fields
ArtificialIntel
LosersInc
Guest
Posted:
Thu Feb 27, 2003 7:34 am
Thanks, I got it but I had to modify about 10 others too.
What's with that
LosersInc
Guest
Posted:
Thu Feb 27, 2003 7:42 am
Wouldn't happen to be cos I am running PHP/4.0.3pl1 would it? Cos it's getting upgraded to 4.3.1 this weekend.
Few other things that might track down the soruce:
Apache/1.3.9
MySQL/3.22.30
Apache is also undergoing an upgrade this weekend, but as far as I know the MySQL ins't, if that's the prob.
Zhen-Xjell
Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Thu Feb 27, 2003 8:09 am
You certainly are running old versions there.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de ] [en ] [wiki ]
LosersInc
Guest
Posted:
Thu Feb 27, 2003 4:17 pm
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum