PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Tizwit
Involved
Involved


Joined: Aug 29, 2004
Posts: 266
Location: New Mexico

PostPosted: Thu Feb 28, 2008 4:18 am Reply with quote Back to top

I backed up my database and tried to reload it on my new hosting providers site and I get these errors:

Quote:
# --------------------------------------------------------
#
# Table structure for table 'nuke_nsnst_tracked_ips'
#
CREATE TABLE nuke_nsnst_tracked_ips(

tid int( 10 ) NOT NULL AUTO_INCREMENT ,
ip_addr varchar( 15 ) NOT NULL ,
ip_long int( 10 ) unsigned DEFAULT '0' NOT NULL ,
user_id int( 11 ) DEFAULT '1' NOT NULL ,
username varchar( 60 ) NOT NULL ,
user_agent text NOT NULL ,
refered_from text NOT NULL ,
date int( 20 ) DEFAULT '0' NOT NULL ,
page text NOT NULL ,
x_forward_for varchar( 32 ) NOT NULL ,
client_ip varchar( 32 ) NOT NULL ,
remote_addr varchar( 32 ) NOT NULL ,
remote_port varchar( 11 ) NOT NULL ,
request_method varchar( 10 ) NOT NULL ,
c2cchar( 2 ) DEFAULT '00' NOT NULL ,
PRIMARY KEY ( tid ) ,
KEY ip_addr( ip_addr ) ,
KEY ip_long( ip_long ) ,
KEY user_id( user_id ) ,
KEY username( username ) ,
KEY user_agent( user_agent ) ,
KEY refered_from( refered_from ) ,
KEY date( date ) ,
KEY page( page ) ,
KEY c2c( c2c )
);



MySQL said:

#1170 - BLOB/TEXT column 'user_agent' used in key specification without a key length



How can I stop them so I can finish my database load. I really don't want to redo everything.

Thank you
View user's profile Send private message Visit poster's website
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2847

PostPosted: Thu Feb 28, 2008 7:41 am Reply with quote Back to top

Remove the line
Code:

KEY user_agent( user_agent ) ,
View user's profile Send private message Visit poster's website
Tizwit
Involved
Involved


Joined: Aug 29, 2004
Posts: 266
Location: New Mexico

PostPosted: Thu Feb 28, 2008 3:33 pm Reply with quote Back to top

I got another error for the referred from field. I removed that and now get #1072 - Key column 'refered_from' doesn't exist in table
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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 vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum