Post-processing after update to Joomla!4

Phoca Cart - complex e-commerce extension
TzaIS
Phoca Professional
Phoca Professional
Posts: 138
Joined: 03 Aug 2020, 22:56

Re: Post-processing after update to Joomla!4

Post by TzaIS »

Hi Jan,
how do I set debug mode under which browser? I ask for a timely response. Greetings, Thomas.

Dasselbe in deutscher Sprache:

Hi Jan,
wie stelle ich unter welchem Browser den Debug-Modus ein? Ich bitte um zeitnahe Rückantwort. Grüße, Thomas.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Post-processing after update to Joomla!4

Post by Jan »

Hi, debug mode you can enable in Joomla Global Configuration. It is not related to browser in this case, it is a debug of PHP which renders code on server.

Just visit the page where you get the error with enabled debug mode and you should get full error message.

Jan
If you find Phoca extensions useful, please support the project
TzaIS
Phoca Professional
Phoca Professional
Posts: 138
Joined: 03 Aug 2020, 22:56

Re: Post-processing after update to Joomla!4

Post by TzaIS »

Hi Jan,

I have turned on the debug mode. Where is the output? Nothing is displayed on the corresponding page with the selected category and in the front-end! I guess there is a special log file somewhere for this, detailing this error. Where is this? I did not find it in the \plugins\system\debug directory.

By the way, the error appears in the back-end and not in the front-end. It occurs, as I said, when saving a category from Phoca-Cart in the back-end. I cannot change an existing old category because of this!!! I can create new categories though.

The link to my screenshot I have given yes on 08 January 2023 at 19:04. Here again:

Error message "Save failed. Error: incorrect datetime value: '' for column 'created' at row 1."

and here the screenshot:

https://1drv.ms/u/s!AmyavhWggyoOlkqYNulxEq0bxZE3? e=MbFYAG

Greetings, Thomas.

Dasselbe auf deutsch:

Hi Jan,

ich habe den Debug-Modus eingeschaltet. Wo ist die Ausgabe? Auf der entsprechenden Seite mit der gewählten Kategorie und im Front-End wird nichts angezeigt! Ich vermute, es gibt dazu irgendwo eine spezielle Protokoll-Datei, in der dieser Fehler detailliert angegeben wird. Wo ist diese? Im Verzeichnis \plugins\system\debug bin ich nicht fündig geworden.

Übrigens erscheint der Fehler im Back-End und nicht im Front-End. Er tritt, wie gesagt, beim Speichern einer Kategorie von Phoca-Cart im Back-End auf. Ich kann deshalb keine existierende alte Kategorie verändern!! Neue Kategorien kann ich aber erstellen.

Der Link zu meinem Screenshot habe ich ja am 08. Januar 2023 um 19:04 Uhr angegeben. Hier nochmal:

Fehlermeldung "Speichern fehlgeschlagen. Fehler: incorrect datetime value: '' for column 'created' at row 1."

und hier der Screenshot:

https://1drv.ms/u/s!AmyavhWggyoOlkqYNulxEq0bxZE3? e=MbFYAG

Grüße, Thomas.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Post-processing after update to Joomla!4

Post by Jan »

Hi, debug mode should display the error directly on the screen.

But here it seems like the error message is coming from database and there will be no trace, etc. etc.

I don't see the version info. Which version of Phoca Cart do you use? If you update to latest Beta: https://github.com/PhocaCz/PhocaCart/re ... Beta13.zip do you get the same problem?

Jan
If you find Phoca extensions useful, please support the project
TzaIS
Phoca Professional
Phoca Professional
Posts: 138
Joined: 03 Aug 2020, 22:56

Re: Post-processing after update to Joomla!4

Post by TzaIS »

Hello Jan,

I have installed the beta version 4.0.6Beta13 of PhocaCart you specified, unfortunately no improvement, the same error appears.

Greetings, Thomas.

Dasselbe auf deutsch:

Hallo Jan,

ich habe die von Dir angegebene Betaversion 4.0.6Beta13 von PhocaCart installiert, leider keine Verbesserung, derselbe Fehler taucht auf.

Grüße, Thomas.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Post-processing after update to Joomla!4

Post by Jan »

Can you describe step by step where you get this error, it seems like the column in database is obsolete (obsolete default value), so the only way is to fix it directly in database. But before this we need to know which table it is.

Jan
If you find Phoca extensions useful, please support the project
TzaIS
Phoca Professional
Phoca Professional
Posts: 138
Joined: 03 Aug 2020, 22:56

Re: Post-processing after update to Joomla!4

Post by TzaIS »

Hello Jan,

I am in the backend. I go to "Components > Phoca Cart > Categories" and click on any category. In the category I go to the button "Save". Then comes the message in red color: "Save failed. Error: Incorrect datetime value: '' for column 'created' at row 1". This occurs, as I said before, in all existing categories. However new categories I can create and can I save them.

I ask for a reply. Creating all categories again would be a bit tedious.

Greetings, Thomas.

Dasselbe in deutscher Sprache:

Hallo Jan,

ich bin im Backend. Ich gehe auf "Komponenten > Phoca Cart > Kategorien" und klicke eine beliebige Kategorie an. In der Kategorie gehe ich auf den Button "Speichern". Dann kommt die Meldung in roter Farbe: "Speichern fehlgeschlagen. Fehler: Incorrect datetime value: '' for column 'created' at row 1". Dies tritt, wie bereits gesagt, in allen existierenden Kategorien auf. Allerdings neue Kategorien kann ich anlegen und kann ich diese abspeichern.

Ich bitte um Rückantwort. Sämtliche Kategorien neu anzulegen, wäre etwas mühsam.

Grüße, Thomas.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Post-processing after update to Joomla!4

Post by Jan »

Hi, another test, do you get the same problem with latest Beta (now 16):
https://github.com/PhocaCz/PhocaCart/re ... Beta16.zip

Jan
If you find Phoca extensions useful, please support the project
TzaIS
Phoca Professional
Phoca Professional
Posts: 138
Joined: 03 Aug 2020, 22:56

Re: Post-processing after update to Joomla!4

Post by TzaIS »

Hello Jan,

no difference, the same error. I use the latest version Joomla!4.2.8.

See you soon and greetings, Thomas.

Dasselbe auf deutsch:

Hallo Jan,

kein Unterschied, derselbe Fehler. Ich verwende die neueste Version Joomla!4.2.8.

Bis bald und Grüße, Thomas.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Post-processing after update to Joomla!4

Post by Jan »

Ok, another try, try to test this version:
https://github.com/PhocaCz/PhocaCart/re ... Beta18.zip

the protection is now in category table for this column exactly.

Please let me know.

Jan
If you find Phoca extensions useful, please support the project
Post Reply