WebSite X5Help Center

 
Manuel H.
Manuel H.
User

Generic Error  de

Autore: Manuel H.
Visite 1497, Followers 1, Condiviso 0  

Hallo ich bekomme beim Abschicken einer Bestellung (wenn ich die Daten in eine Datenbank schreiben möchte) im Webshop ein Popup mit: "Generic Error". Die Daten landen in der Datenbank und die Mails sowohl an den Kunden als auch an den Empfänger der Bestellung kommen an.

Die installierte PHP Version ist die 5.4.21

Hat hier jemand eine Idee dazu?

Danke

Postato il
6 RISPOSTE - 1 CORRETTO
Manuel H.
Manuel H.
User
Autore

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/test/admin/orders.php on line 91

Hilft das vielleicht weiter!?

Leggi di più
Postato il da Manuel H.
Manuel H.
Manuel H.
User
Autore

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/test/res/x5engine.php on line 1946


oder das hier...

Leggi di più
Postato il da Manuel H.
Andreas S.
Andreas S.
Moderator

Das dürfte ein Zeitzonenproblem sein ! Ob das von der Datenbank oder vom Skript ein Fehler ist muss sich INCO direkt anschauen.  Ein Link zum PRoblem wäre nicht schlecht.

Leggi di più
Postato il da Andreas S.
Manuel H.
Manuel H.
User
Autore

Hi Andreas,

danke für die Antwort. Ich habe das Zeitproblem mit "date_default_timezone_set('Europe/Berlin');" in den betroffenen Dateien erst einmal Temporär behoben.

Der "Generic Error" kommt jedoch weiterhin.http://www.fahrzeug-codierung.de/test/shop.html ist der "Shop"

Leggi di più
Postato il da Manuel H.
Manuel H.
Manuel H.
User
Autore

Debuging hat aktuell folgendes ergeben:

- Eintraege aus dem Shop in der Datenbank sind Zeitversetzt um -1h.

- Setze ich manuell die Zeile "date_default_timezone_set('Europe/Berlin');" in der xSettings.php ist der Fehler behoben. Hier wäre eine Möglichkeit in INCO selbst eine Zeitzone wählen, die den Eintrag übernimmt praktisch

Leggi di più
Postato il da Manuel H.
Manuel H.
Manuel H.
User
Autore

So die Lösung des Problems:

In der PHP.ini ab Version 5.3 ist "date.timezone =" auskomentiert. Abhilfe schafft hier die Zeile "date.timezone = Europe/Berlin" ein zu kommentieren. Danach ist auch die date.timezone Master Value gesetzt. Diese wird (Warum auch immer) benötigt. Die Local Value der date.timezone welche über .htaccess etc. konfiguriert werden kann reicht für den Shop nicht aus.

Leggi di più
Postato il da Manuel H.