News:

Looking for documentation? Take a look on our wiki

Main Menu

VM 3.2.6 - New Coupon Error

Started by Ventsi Genchev, November 23, 2017, 19:16:28 PM

Previous topic - Next topic

Ventsi Genchev

VM 3.2.6
J 3.8.2
PHP 7.0
Shop - 2 Languages

ORDERS & SHOPPERS -> Coupons -> New:
An error has occurred.
0 DateTime::__construct(): Failed to parse time string (1514052916) at position 8 (1): Unexpected character
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Ventsi Genchev

Does not anyone have this problem?  :)

With VM 3.2.4 a new coupon can be launched. After updating the VM to version 3.2.6, it displays the message in my first post.
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

franzpeter


Ventsi Genchev

Thank you very much, franzpeter.

I had already decided that only I have this problem and is somewhere on my site.

Best regards,
Venci
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

franzpeter

Suggestion: I would set - with phpmyadmin - those datetime columns: coupon_start_date and coupon_expiry_date both  with a Standard of: 0000-00-00 00:00:00

Ventsi Genchev

Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

Milbo

Quote from: franzpeter on November 27, 2017, 15:38:15 PM
Suggestion: I would set - with phpmyadmin - those datetime columns: coupon_start_date and coupon_expiry_date both  with a Standard of: 0000-00-00 00:00:00

and that is also the right fix, the one we will provide in the new version. Btw Venci, just that you know, we discussed a lot about that problem and Stan just pushed his solution in his forum. And the solution above is from my point of view the real solution. I dont know the sideeffects of Stans solution.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Ventsi Genchev

Clearly. I understand, Max, and thank you. Thanks also to franzpeter.
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

jbittner

#8
Quote from: franzpeter on November 27, 2017, 15:38:15 PM
Suggestion: I would set - with phpmyadmin - those datetime columns: coupon_start_date and coupon_expiry_date both  with a Standard of: 0000-00-00 00:00:00
This did not work. 
Stan's fix in conjuction with the above change does fix the problem.

https://www.rupostel.com/phpBB3/viewtopic.php?f=7&t=3735