Incorrect datetime value DB ERROR on editing closing time

Phoca Cart - complex e-commerce extension
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Incorrect datetime value DB ERROR on editing closing time

Post by morphinestyle »

Hello,
when i edit (not making new, only on editing) closing time i get this error:

Save failed with the following error: Incorrect datetime value: '' for column `XXXXXX`.`XXXXX_phocacart_opening_times`.`date` at row 1

it's a my installation issue and i can solve by myself, or there's some issue on editing?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Incorrect datetime value DB ERROR on editing closing time

Post by Jan »

Hi, are you able to test Beta version, this should be OK in latest Beta:

https://github.com/PhocaCz/PhocaCart/re ... Beta37.zip

Jan
If you find Phoca extensions useful, please support the project
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Re: Incorrect datetime value DB ERROR on editing closing time

Post by morphinestyle »

Hi Jan!
I will try as soon!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Incorrect datetime value DB ERROR on editing closing time

Post by Jan »

If you find Phoca extensions useful, please support the project
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Re: Incorrect datetime value DB ERROR on editing closing time

Post by morphinestyle »

May I try this beta on a developing website without problems?
Phoca Cart will be updated as regular on final 4.0.6 version?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Incorrect datetime value DB ERROR on editing closing time

Post by Jan »

You can test the RC version:

https://www.phoca.cz/download/category/ ... -component

Usually, the installator should add all new columns when installting the developement vesion and then when updating to stable there will be no more update of columns, etc. (all the instructions set in update sql).

So usually it should work without any problem.

But of course if some problem happens, mostly e.g. adding manually new columns per update sql in phpMyAdmin helps.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 389
Joined: 07 Nov 2018, 14:55

Re: Incorrect datetime value DB ERROR on editing closing time

Post by Nidzo »

From my experience with lates releases if you have db problem try to go Joomla System settings and in Maintenance tab check do you have Database or Global Checkin warnings. Fixing them fixed my problems with Phoca Cart db structure.
Post Reply