PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  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
tourniqu3t
Hangin' Around


Joined: Jan 16, 2009
Posts: 40

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

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
Moderator


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

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

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
Hangin' Around


Joined: Jan 16, 2009
Posts: 40

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

I am going to try backticks now. What hotkey did you add for backticks? I am using notepadd++.
View user's profile Send private message
fkelly
Moderator


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

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

No hotkey. Upper left corner of my keyboard ... upper case character on that key is a tilde (~).
View user's profile Send private message Visit poster's website
tourniqu3t
Hangin' Around


Joined: Jan 16, 2009
Posts: 40

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

Ah ok thanks. It's solved now. Very Happy I almost solve it myself. I have missed backticks. lol
View user's profile Send private message
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum