You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 38 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 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
LosersInc
Guest






PostPosted: Thu Feb 27, 2003 2:49 am Reply with quoteBack to top

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.
Find all posts by Anonymous
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Thu Feb 27, 2003 6:59 am Reply with quoteBack to top

modify it and add NOT NULL before default next to the pid and sid fields

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
LosersInc
Guest






PostPosted: Thu Feb 27, 2003 7:34 am Reply with quoteBack to top

Thanks, I got it but I had to modify about 10 others too.

What's with that Question
Find all posts by Anonymous
LosersInc
Guest






PostPosted: Thu Feb 27, 2003 7:42 am Reply with quoteBack to top

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.
Find all posts by Anonymous
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Feb 27, 2003 8:09 am Reply with quoteBack to top

You certainly are running old versions there.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
LosersInc
Guest






PostPosted: Thu Feb 27, 2003 4:17 pm Reply with quoteBack to top

I deleted index.php and admin.php right away:

http://www.losersinc.net/analyze.php
Find all posts by Anonymous
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.174 Seconds - 300 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::