Hi, there could be e.g. some problem with uprade, where the new table column format was not set. I added some if clause there (which can prevent from such problem), try to test it with 4.0.9Beta4:
https://github.com/PhocaCz/PhocaCart/re ... 9Beta4.zip
and let me know.
Jan
Error while product creating Field 'delivery_date' doesn't have a default value
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error while product creating Field 'delivery_date' doesn't have a default value
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 33
- Joined: 29 Sep 2022, 00:28
Re: Error while product creating Field 'delivery_date' doesn't have a default value
regarding upgrade, i never did that, i literaly installed latest joomla 4.3.4 and latest phoca cart 4.0.8, with no other extension in joomlaJan wrote: ↑07 Sep 2023, 23:04 Hi, there could be e.g. some problem with uprade, where the new table column format was not set. I added some if clause there (which can prevent from such problem), try to test it with 4.0.9Beta4:
https://github.com/PhocaCz/PhocaCart/re ... 9Beta4.zip
and let me know.
Jan
I will try with beta, but is beta safe to use?
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Error while product creating Field 'delivery_date' doesn't have a default value
Hi,
Of course it is "safe to use"
Make a backup beforehand. If the error disappears with the beta version, Jan will install it in the next release.
But first you should test it so that Jan knows.
Kind regards
Christine
Of course it is "safe to use"
Make a backup beforehand. If the error disappears with the beta version, Jan will install it in the next release.
But first you should test it so that Jan knows.
Kind regards
Christine
-
- Phoca Member
- Posts: 33
- Joined: 29 Sep 2022, 00:28
Re: Error while product creating Field 'delivery_date' doesn't have a default value
Hi Jan,Jan wrote: ↑07 Sep 2023, 23:04 Hi, there could be e.g. some problem with uprade, where the new table column format was not set. I added some if clause there (which can prevent from such problem), try to test it with 4.0.9Beta4:
https://github.com/PhocaCz/PhocaCart/re ... 9Beta4.zip
and let me know.
Jan
with new beta version, before testing, should i revert old values in database from NULL to None in phpmyadmin?
Thank you Christine, installed latest beta.
- Nidzo
- Phoca Professional
- Posts: 388
- Joined: 07 Nov 2018, 14:55
Re: Error while product creating Field 'delivery_date' doesn't have a default value
Is the problem still present?
-
- Phoca Member
- Posts: 33
- Joined: 29 Sep 2022, 00:28
Re: Error while product creating Field 'delivery_date' doesn't have a default value
can you take a screenshoot of your values in table phocacart_products for modified and delivery_date rows
because if i change it to NULL it works, but stock doesnt transfer from submitted item to created product, this is now new problem, stock in created product is always 0
- Nidzo
- Phoca Professional
- Posts: 388
- Joined: 07 Nov 2018, 14:55
Re: Error while product creating Field 'delivery_date' doesn't have a default value
Net wrote: ↑10 Sep 2023, 23:19can you take a screenshoot of your values in table phocacart_products for modified and delivery_date rows
because if i change it to NULL it works, but stock doesnt transfer from submitted item to created product, this is now new problem, stock in created product is always 0
- Nidzo
- Phoca Professional
- Posts: 388
- Joined: 07 Nov 2018, 14:55
Re: Error while product creating Field 'delivery_date' doesn't have a default value
So you can use 0000-00-00 00:00:00 for both
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error while product creating Field 'delivery_date' doesn't have a default value
Hi, there is no stock column in submit function.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 33
- Joined: 29 Sep 2022, 00:28