NilsK Posted July 24, 2018 Report Share Posted July 24, 2018 Hallo liebe Spezialisten, jetzt wollte ich gerade ein Slave-Artikel kopieren und es kommt zu einer SQL-Fehlermeldung (bei einem normalen Artikel klappt alles wie gehabt) und es lässt sich im Artikel auch nichts speichern (außer: Bild & Metadaten, jedoch kein Text, es erfolgt dann eine Fehlermeldung). Der Artikel wird in der DB auch nicht unter xt_products_description angelegt, unter xt_products schon. Hier mal die Fehlermeldung: (2018-07-24 21:51:11) mysqli error: [1048: Column 'reload_st' cannot be null] in EXECUTE("INSERT INTO xt_products_description ( PRODUCTS_ID, LANGUAGE_CODE, RELOAD_ST, PRODUCTS_NAME, PRODUCTS_DESCRIPTION, PRODUCTS_SHORT_DESCRIPTION, VIDEO_HTML, PRODUCTS_KEYWORDS, PRODUCTS_URL, PRODUCTS_STORE_ID ) VALUES ( 2312, 'de', null, '', '', '', null, '', '', 1 )") #0 /pfad/pfad/pfad/pfad/pfad/xtFramework/library/adodb-5.20.12/adodb.inc.php(1264): ADODB_Error_Handler(...) #1 /pfad/pfad/pfad/pfad/pfad/xtFramework/library/adodb-5.20.12/adodb.inc.php(1228): _Execute(...) #2 /pfad/pfad/pfad/pfad/pfad/xtFramework/library/adodb-5.20.12/adodb.inc.php(2164): Execute(...) #3 /pfad/pfad/pfad/pfad/pfad/xtFramework/admin/classes/class.adminDB_DataSave.php(0): AutoExecute(...) #4 /pfad/pfad/pfad/pfad/pfad/xtFramework/classes/class.product.php(1821): saveDataSet(...) #5 /pfad/pfad/pfad/pfad/pfad/xtFramework/admin/classes/class.ExtAdminHandler.php(0): _set(...) #6 /pfad/pfad/pfad/pfad/pfad/xtAdmin/adminHandler.php(0): saveClassData(...) Hat jemand eine Idee, woran es liegen könnte und wie man den Fehler beheben kann? Shop ist aktuell (5.1.2) und vor dem Update lief alles bestens. Freue mich über jede Antwort. Herzliche Grüße Nils Link to comment Share on other sites More sharing options...
Alex@4tfm Posted July 24, 2018 Report Share Posted July 24, 2018 Der Updater (nicht sicher ob 4.1.10 auf 4.2.00 oder ein späterer) setzt das default value des Feldes xt_products_description.reload_st nicht auf "0", das müsstest du ein mal manuell nachholen. Link to comment Share on other sites More sharing options...
NilsK Posted July 24, 2018 Author Report Share Posted July 24, 2018 Hallo Alex, super, Dankeschön - dass war es!!! Herzliche Grüße Nils Link to comment Share on other sites More sharing options...
Alex@4tfm Posted July 25, 2018 Report Share Posted July 25, 2018 Sehr gerne, hatten wir vor kurzem selbst bei einem update Link to comment Share on other sites More sharing options...
NilsK Posted August 9, 2018 Author Report Share Posted August 9, 2018 Hallo Alex, noch eine Frage dazu: Seit dem Update werden alle neuen Produkte nicht mehr unter xt_new_products angezeigt (zumindest keine Slaves), hier steht das Datum auf Null in der DB. Ein normales Produkt wird ganz normal angezeigt. Muß da in der DB auch noch was geändert werden? Danke im Voraus! Herzliche Grüße Nils Link to comment Share on other sites More sharing options...
Alex@4tfm Posted August 9, 2018 Report Share Posted August 9, 2018 Der default von dem date_added auf CURRENT_TIMESTAMP, das Problem gibt es aber meine ich schon eine Weile Link to comment Share on other sites More sharing options...
NilsK Posted August 9, 2018 Author Report Share Posted August 9, 2018 Hallo Alex, Danke, aber dann kommt eine Fehlermeldung "#1067 - Invalid Default value for date_added". So sieht es aus: Name [date_added], Typ [DATETIME], Länge/Werte [ ], Standard [NULL], Kollation [ ], Attribute [ ], Null [], A_I [ ], ...(Rest ist leer) Muß evtl. Datetime auf Timestamp gestellt werden...? Herzliche Grüße Nils Link to comment Share on other sites More sharing options...
Alex@4tfm Posted August 10, 2018 Report Share Posted August 10, 2018 Also das kann ich aus der Ferne nicht beurteilen. Ist bei uns so im Einsatz. Link to comment Share on other sites More sharing options...
NilsK Posted August 15, 2018 Author Report Share Posted August 15, 2018 Danke Alex! Bei wem werden denn die neuen Slaves angezeigt und sieht die Tabelle da eventuell anders aus? Einzige Lösung derzeit ist, dass jeder neue Artikel mit einem Zeit-stempel in der DB angepasst werden muss, damit er sichtbar wird... Herzliche Grüße Nils Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.