phpone
04-16-2007, 07:32 PM
ho un problema con l'esyndicat pro
ho fatto un backup del db per poter fare alcuni lavoretti sul database
ora vado a ripristinare il backup del db e sia esyndicat che phpmyadmin mi danno un errore di sintassi e non mi fanno caricare il db
questo e' l'errore
Errore
query SQL:
CREATE TABLE `v2102_categories` ( `id` int( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
`id_editor` int( 8 ) NOT NULL DEFAULT '0',
`id_parent` int( 8 ) NOT NULL DEFAULT '0',
`title` varchar( 255 ) NOT NULL ,
`description` text NOT NULL ,
`status` enum( 'approval', 'active' ) NOT NULL DEFAULT 'approval',
`meta_description` tinytext NOT NULL ,
`meta_keywords` tinytext NOT NULL ,
`path` varchar( 250 ) NOT NULL ,
`order` smallint( 10 ) NOT NULL DEFAULT '0',
`locked` enum( '0', '1' ) NOT NULL DEFAULT '0',
`unique_tpl` enum( '0', '1' ) NOT NULL DEFAULT '0',
`level` smallint( 6 ) NOT NULL DEFAULT '1',
`num_cols` tinyint( 2 ) unsigned,
`neighbour` tinyint( 4 ) ,
`num_links` int( 8 ) NOT NULL DEFAULT '0',
`num_all_links` int( 8 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( id ) ,
KEY id_parent( id_parent ) ,
KEY STATUS ( STATUS ) ,
KEY path( path ) ,
KEY ORDER ( ORDER )
);
Messaggio di MySQL:
#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 'order (order)
)' at line 23
ho fatto un backup del db per poter fare alcuni lavoretti sul database
ora vado a ripristinare il backup del db e sia esyndicat che phpmyadmin mi danno un errore di sintassi e non mi fanno caricare il db
questo e' l'errore
Errore
query SQL:
CREATE TABLE `v2102_categories` ( `id` int( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
`id_editor` int( 8 ) NOT NULL DEFAULT '0',
`id_parent` int( 8 ) NOT NULL DEFAULT '0',
`title` varchar( 255 ) NOT NULL ,
`description` text NOT NULL ,
`status` enum( 'approval', 'active' ) NOT NULL DEFAULT 'approval',
`meta_description` tinytext NOT NULL ,
`meta_keywords` tinytext NOT NULL ,
`path` varchar( 250 ) NOT NULL ,
`order` smallint( 10 ) NOT NULL DEFAULT '0',
`locked` enum( '0', '1' ) NOT NULL DEFAULT '0',
`unique_tpl` enum( '0', '1' ) NOT NULL DEFAULT '0',
`level` smallint( 6 ) NOT NULL DEFAULT '1',
`num_cols` tinyint( 2 ) unsigned,
`neighbour` tinyint( 4 ) ,
`num_links` int( 8 ) NOT NULL DEFAULT '0',
`num_all_links` int( 8 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( id ) ,
KEY id_parent( id_parent ) ,
KEY STATUS ( STATUS ) ,
KEY path( path ) ,
KEY ORDER ( ORDER )
);
Messaggio di MySQL:
#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 'order (order)
)' at line 23