Guten Morgen, ich bin´s wieder,
gestern habe ich mit meinem Umlaut-Problem in pdf_Rechnung aufgegeben und habe mit UID 2.0 angefangen.
Gleich auf Schritt 2 in der Anleitung bin ich stehengeblieben. Schritt 2 heißt:
2. Zen-Cart Administration öffnen und unter Tools > SQL Patches installieren den Inhalt ins Feld hineinkopieren und absenden.
Dadurch werden die nötigen Datenbankeinträge vorgenommen und in der Zen-Cart Administration ist unter Konfiguration der neue Menüpunkt UID Einstellungen verfügbar.
Ich habe die SQL Queries durchgeführt, allerdings direkt in phpMyAdmin, da ich immer Fehlermeldungen bekomme, wenn ich die SQL Patches unter Admin > Tools verwende.
Also nach ich die SQL Queries aus der Datei install.sql "erfolgreich" durchgeführt habe, habe ich folgende Meldung im Datenbank bekommen:
Ich bin dann zum Admin gegangen. Leider finde ich keine UID Menupunkt unter Admin > Konfiguration. Ich bin ausgeloggt, und wiedereingloggt. Aber immernoch nichts. Dann habe ich aufgegeben und wieder heute morgen alles nochmal probiert. Ich habe die uninstall.sql Datei verwendet. Ich habe alles uninstalliert und nochmal installiert, aber ich kriege keinen Menupunkt.
Mache ich etwas falsch? (Das ich ehe eine retorische Frage. Ich bin eigentlich der Falschmacher. Die Frage ich ehe... Was mache ich falsch?)
Neuigkeit:
Ich habe gerade alles wieder uninstalliert. Dann habe ich versucht die install.sql Query in vier verschiedene Schritten durchzuführen. Zuerst...
dann...
dann...
und schließlich...
Bei der letzten Query, habe ich folgende Fehlermeldung bekommen...
Ich habe versucht die vier verschiedene Schritten durchzuführen, weil es kamm mir eine bisschen kommisch vor das die erste "Erfolgsmeldung" (siehe oben) beim ganzigen Durchführung des Inhalts der install.sql Datei so kurz war.
gestern habe ich mit meinem Umlaut-Problem in pdf_Rechnung aufgegeben und habe mit UID 2.0 angefangen.
Gleich auf Schritt 2 in der Anleitung bin ich stehengeblieben. Schritt 2 heißt:
2. Zen-Cart Administration öffnen und unter Tools > SQL Patches installieren den Inhalt ins Feld hineinkopieren und absenden.
Dadurch werden die nötigen Datenbankeinträge vorgenommen und in der Zen-Cart Administration ist unter Konfiguration der neue Menüpunkt UID Einstellungen verfügbar.
Ich habe die SQL Queries durchgeführt, allerdings direkt in phpMyAdmin, da ich immer Fehlermeldungen bekomme, wenn ich die SQL Patches unter Admin > Tools verwende.
Also nach ich die SQL Queries aus der Datei install.sql "erfolgreich" durchgeführt habe, habe ich folgende Meldung im Datenbank bekommen:
Your SQL query has been executed successfully
SQL query: ################################################## ##############################
# UID 2.0 Install Zen-Cart 1.5 - 2011-12-17 - webchills
################################################## ##############################
INSERT INTO configuration_group (configuration_group_title, configuration_group_description, sort_order, visible) VALUES
('UID', 'Configure UID settings', '1', '1');# Affected rows: 1
SET @gid=last_insert_id();# MySQL returned an empty result set (i.e. zero rows).
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();# Affected rows: 1
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('Check the UID number', 'ENTRY_TVA_INTRACOM_CHECK', 'true', 'Chec[...]
SQL query: ################################################## ##############################
# UID 2.0 Install Zen-Cart 1.5 - 2011-12-17 - webchills
################################################## ##############################
INSERT INTO configuration_group (configuration_group_title, configuration_group_description, sort_order, visible) VALUES
('UID', 'Configure UID settings', '1', '1');# Affected rows: 1
SET @gid=last_insert_id();# MySQL returned an empty result set (i.e. zero rows).
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();# Affected rows: 1
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('Check the UID number', 'ENTRY_TVA_INTRACOM_CHECK', 'true', 'Chec[...]
Mache ich etwas falsch? (Das ich ehe eine retorische Frage. Ich bin eigentlich der Falschmacher. Die Frage ich ehe... Was mache ich falsch?)
Neuigkeit:
Ich habe gerade alles wieder uninstalliert. Dann habe ich versucht die install.sql Query in vier verschiedene Schritten durchzuführen. Zuerst...
INSERT INTO configuration_group (configuration_group_title, configuration_group_description, sort_order, visible) VALUES
('UID', 'Configure UID settings', '1', '1');
SET @gid=last_insert_id();
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('Check the UID number', 'ENTRY_TVA_INTRACOM_CHECK', 'true', 'Check the Customers UID number by the europa.eu.int server<br /><b>Default: true</b>', @gid, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
('UID number of the store', 'TVA_SHOP_INTRACOM', 'XXXXXXXX', 'Enter your own UID number', @gid, 2, NOW(), NOW(), NULL, NULL),
('Minimum characters for the UID number', 'ENTRY_TVA_INTRACOM_MIN_LENGTH', '10', 'Required characters for VAT number<br/>Set to 0 if you dont want checking.', @gid, 3, NOW(), NOW(), NULL, NULL);
('UID', 'Configure UID settings', '1', '1');
SET @gid=last_insert_id();
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('Check the UID number', 'ENTRY_TVA_INTRACOM_CHECK', 'true', 'Check the Customers UID number by the europa.eu.int server<br /><b>Default: true</b>', @gid, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
('UID number of the store', 'TVA_SHOP_INTRACOM', 'XXXXXXXX', 'Enter your own UID number', @gid, 2, NOW(), NOW(), NULL, NULL),
('Minimum characters for the UID number', 'ENTRY_TVA_INTRACOM_MIN_LENGTH', '10', 'Required characters for VAT number<br/>Set to 0 if you dont want checking.', @gid, 3, NOW(), NOW(), NULL, NULL);
INSERT INTO configuration_group (configuration_group_id, language_id, configuration_group_title, configuration_group_description, sort_order, visible ) VALUES
(@gid, 43, 'UID', 'UID Einstellungen', '1', '1');
REPLACE INTO configuration_language (configuration_title, configuration_key, configuration_description, configuration_language_id) VALUES
('UID Nummer überprüfen', 'ENTRY_TVA_INTRACOM_CHECK', '<br />Soll die UID Nummer am europa.eu.int server überprüft werden<br /><br /><b>Voreinstellung: true</b><br />', 43),
('UID Nummer des Shops', 'TVA_SHOP_INTRACOM', '<br />Geben Sie hier Ihre eigene UID Nummer ein<br />', 43),
('UID Nummer - Minimale Länge', 'ENTRY_TVA_INTRACOM_MIN_LENGTH', '<br />Erforderliche Zeichenlänge für die UID-Nummer<br/>Stellen Sie auf 0, wenn die Nummer nicht überprüft werden soll<br />', 43);
(@gid, 43, 'UID', 'UID Einstellungen', '1', '1');
REPLACE INTO configuration_language (configuration_title, configuration_key, configuration_description, configuration_language_id) VALUES
('UID Nummer überprüfen', 'ENTRY_TVA_INTRACOM_CHECK', '<br />Soll die UID Nummer am europa.eu.int server überprüft werden<br /><br /><b>Voreinstellung: true</b><br />', 43),
('UID Nummer des Shops', 'TVA_SHOP_INTRACOM', '<br />Geben Sie hier Ihre eigene UID Nummer ein<br />', 43),
('UID Nummer - Minimale Länge', 'ENTRY_TVA_INTRACOM_MIN_LENGTH', '<br />Erforderliche Zeichenlänge für die UID-Nummer<br/>Stellen Sie auf 0, wenn die Nummer nicht überprüft werden soll<br />', 43);
ALTER TABLE address_book ADD entry_tva_intracom VARCHAR(32) DEFAULT NULL AFTER entry_company;
ALTER TABLE orders ADD billing_tva_intracom VARCHAR(32) AFTER billing_company;
ALTER TABLE orders ADD billing_tva_intracom VARCHAR(32) AFTER billing_company;
INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_ key,display_on_menu,sort_order)
VALUES ('configProdUID','BOX_CONFIGURATION_PRODUCT_UID',' FILENAME_CONFIGURATION',CONCAT('gID=',@gid),'confi guration','Y',@gid);
VALUES ('configProdUID','BOX_CONFIGURATION_PRODUCT_UID',' FILENAME_CONFIGURATION',CONCAT('gID=',@gid),'confi guration','Y',@gid);
Error
SQL query:
INSERT INTO admin_pages( page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order )
VALUES (
'configProdUID', 'BOX_CONFIGURATION_PRODUCT_UID', 'FILENAME_CONFIGURATION', CONCAT( 'gID=', @gid ) , 'configuration', 'Y', @gid
) MySQL said:
#1048 - Column 'page_params' cannot be null
SQL query:
INSERT INTO admin_pages( page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order )
VALUES (
'configProdUID', 'BOX_CONFIGURATION_PRODUCT_UID', 'FILENAME_CONFIGURATION', CONCAT( 'gID=', @gid ) , 'configuration', 'Y', @gid
) MySQL said:
#1048 - Column 'page_params' cannot be null
Kommentar