#1 (permalink)  
Alt 09.11.2005, 17:12
 
Registriert seit: 21.08.2005
Beiträge: 41
Standard

Hallo,
bin Datenbanktechnisch leider noch bissl auf der Leitung.
beim einspielen der SQL-Befehle aus der price_disclaimer.sql kommt folgende Fehlermeldung.

Code:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 10.11.2005, 07:08
sff sff ist offline
xt:Commerce Support Kunde
 
Registriert seit: 16.07.2004
Beiträge: 775
Standard

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:

Code:
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''),');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
bringen, fehlermeldung, pricedisclaimer, sqlbefehle

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 18:47 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand