Ludinator Posted November 9, 2005 Report Share Posted November 9, 2005 Hallo, bin Datenbanktechnisch leider noch bissl auf der Leitung. beim einspielen der SQL-Befehle aus der price_disclaimer.sql kommt folgende Fehlermeldung. Fehler Es scheint einen Fehler in Ihrer MySQL-Abfrage zu geben. Die MySQL-Fehlerausgabe, falls vorhanden, kann Ihnen auch bei der Fehleranalyse helfen. ERROR: Nicht geschlossene Anf?hrungszeichen @ 803 STR: ' SQL: INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_PRODUCT_INFO', 'true', 1, 32, NOW(), NOW()', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_PRODUCT_LISTING', 'true', 1, 33, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_WHATS_NEW', 'true', 1, 34, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_BESTSELLER', 'false', 1, 35, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_SPECIALS', 'false', 1, 36, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); SQL-Befehl: INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_PRODUCT_INFO', 'true', 1, 32, NOW(), NOW()', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_PRODUCT_LISTING', 'true', 1, 33, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_WHATS_NEW', 'true', 1, 34, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_BESTSELLER', 'false', 1, 35, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_SPECIALS', 'false', 1, 36, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); MySQL meldet: #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 '', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); Ich versteh leider nur Bahnhof. Kann mir jemnd bitte helfen? Der Shop l?uft nebenbeigesagt super. Gru? Frank Link to comment Share on other sites More sharing options...
sff Posted November 10, 2005 Report Share Posted November 10, 2005 Da ist wohl ein ' zuviel. Es scheint als dass manche MySQL-Versionen da gutm?tig dr?ber wegsehen, sonst w?re es mir aufgefallen... So sollte es gehen: INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_SHOW', 'false', 1, 30, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_SHOW_TAX_CLASS', 'true', 1, 31, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_PRODUCT_INFO', 'true', 1, 32, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_PRODUCT_LISTING', 'true', 1, 33, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_WHATS_NEW', 'true', 1, 34, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_BESTSELLER', 'false', 1, 35, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); INSERT INTO `configuration` VALUES ('', 'PRICE_DISCLAIMER_SPECIALS', 'false', 1, 36, NOW(), NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''),'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.