Webmastersite.net
Register Log In

Emergency...backup.sql problem

Title Emergency...backup.sql problem
Description I backed up my database so I could make changes...
Message Text My site is down until I fix this! Version 3.3.9 Created backup.sql in admin for safety before making any changes. I was trying to add a ton of links using the guidelines provided on www.webmastersite.net/forum...9&highlight=import%20links. Regardless of why I wasn't successful I went back to reinstall my backup.sql and I get this error in php myadmin SQL query: CREATE TABLE wsnlinks_email( id int( 11 ) NOT NULL AUTO_INCREMENT , TO text NOT NULL , subject text NOT NULL , message text NOT NULL , headers text NOT NULL , timesent int( 11 ) NOT NULL default '0', ip text NOT NULL , replacement text NOT NULL , mime tinyint( 1 ) NOT NULL default '0', UNIQUE KEY id( id ) ) TYPE = MYISAM MySQL said: #1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'to text NOT NULL, subject text NOT NULL, message text NOT -------------------------------------- I had to reinstall via setup.php and ran the back up through admin but then I get these errors above the site and then admin crashes. Warning: mysql_list_fields(): Unable to save MySQL query result in /home/thrifty/public_html/dir/classes/database.php on line 30 Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/thrifty/public_html/dir/classes/database.php on line 31 The last version I had installed took the backup.sql smoothly. What's happening? I don't know enough mySQL to fix this.
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership sparkalina
Views 388 views. Averaging 0 views per day.
Similar Topics
Submission Date Apr 16, 2006 - 5:42 AM