Quantcast
Channel: Phoca Forum
Viewing all articles
Browse latest Browse all 2060

Phoca Gallery • Category edit > Incorrect datetime value: '0000-00-00 00:00:00' for 'checked_out_time'

$
0
0
Hello community,

Unfortunately, we have had a problem editing categories since upgrading from Joomla 3 to Joomla 4 in combination with Phoca Gallery 4. When trying to save a category an error message appears:
" ERROR 1292 (22007): Incorrect datetime value: '0000-00-00 00:00:00' for column 'checked_out_time"

We have already adapted the MySQL database with regard to the “sqlmode” so that it accepts the 0000-00-00 values. However, Joomla 4 sends "STRICT_TRANS_TABLES" in the MySQLiDriver driver as SqlMode, which then leads to the error message described in combination with PhocaGallery.

In the meantime, we have commented out the "STRICT_TRANS_TABLES" mode from the Joomla MySQL driver and now editing the categories in Phoca Gallery works again. However, there is apparently still a need for a FIX in Phoca Gallery so that no 0000-00-00 values are tried to be set in the 'checked_out_time' column or in general.

Is the error described known?

Best regards

P.S Of course we use the latest version 4 of Phoca Gallery. Even a test update to Phoca Gallery 5 in combination with Joomla 4 did not bring any improvement.

Statistics: Posted by ConceptBR — 21 Mar 2024, 12:50



Viewing all articles
Browse latest Browse all 2060

Trending Articles