Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
tourniqu3t
Regular
Regular



Joined: Jan 16, 2009
Posts: 91

PostPosted: Mon Sep 06, 2010 10:40 am Reply with quote

I was trying to fix this error. It should be correct. It still appears as the error. Did I miss anything else?

Error

SQL query:

CREATE TABLE nuke_seo_dh_master(
'mid' int( 11 ) NOT NULL AUTO_INCREMENT ,
'order' int( 5 ) NOT NULL ,
'type' varchar( 50 ) NOT NULL ,
'name' varchar( 50 ) NOT NULL ,
'default' varchar( 255 ) NOT NULL ,
'active' int( 1 ) NOT NULL ,
PRIMARY KEY ( 'mid' ) ,
KEY 'order'('order') )
TYPE = MYISAM ;

MySQL said: Documentation
#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 ''mid' int(11) NOT NULL auto_increment,
'order' int(5) NOT NULL,
'type' varchar(5' at line 2
 
View user's profile Send private message
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Mon Sep 06, 2010 3:12 pm Reply with quote

Odd. Are the rest of your tables importing okay? One thing I am seeing is that your software is using single quotes (') instead of the backticks (`) that we normally see in SQL load statements. Trying your query (copied from your post) on my local phpmyadmin screen (but changing the table name so I don't overwrite my own) I get the same error message you did. Changing ' to ` throughout the query executes and creates the table. Conclusion: your backup is not compatible with PHPmyadmin.
 
View user's profile Send private message Visit poster's website
tourniqu3t







PostPosted: Mon Sep 06, 2010 3:26 pm Reply with quote

I am going to try backticks now. What hotkey did you add for backticks? I am using notepadd++.
 
fkelly







PostPosted: Mon Sep 06, 2010 3:31 pm Reply with quote

No hotkey. Upper left corner of my keyboard ... upper case character on that key is a tilde (~).
 
tourniqu3t







PostPosted: Mon Sep 06, 2010 5:31 pm Reply with quote

Ah ok thanks. It's solved now. Very Happy I almost solve it myself. I have missed backticks. lol
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©