Author Topic: VM 3.2.6 - New Coupon Error  (Read 352 times)

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 179
    • Bulgarian Computer Store
VM 3.2.6 - New Coupon Error
« on: November 23, 2017, 19:16:28 pm »
VM 3.2.6
J 3.8.2
PHP 7.0
Shop - 2 Languages

ORDERS & SHOPPERS -> Coupons -> New:
Code: [Select]
An error has occurred.
0 DateTime::__construct(): Failed to parse time string (1514052916) at position 8 (1): Unexpected character
No pain, no gain, no site!

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 179
    • Bulgarian Computer Store
Re: VM 3.2.6 - New Coupon Error
« Reply #1 on: November 24, 2017, 09:26:47 am »
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.
No pain, no gain, no site!

franzpeter

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 465
    • 2in1-online | Software, Mac, PC, Netzwerk, Drucker, Pad, Display
  • VirtueMart Version: Virtuemart 3.2.6
Re: VM 3.2.6 - New Coupon Error
« Reply #2 on: November 26, 2017, 12:14:53 pm »
There is a patch to solve the problem at the moment:
https://www.rupostel.com/phpBB3/viewtopic.php?f=7&t=3735

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 179
    • Bulgarian Computer Store
Re: VM 3.2.6 - New Coupon Error
« Reply #3 on: November 27, 2017, 10:27:57 am »
Thank you very much, franzpeter.

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

Best regards,
Venci
No pain, no gain, no site!

franzpeter

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 465
    • 2in1-online | Software, Mac, PC, Netzwerk, Drucker, Pad, Display
  • VirtueMart Version: Virtuemart 3.2.6
Re: VM 3.2.6 - New Coupon Error
« Reply #4 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

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 179
    • Bulgarian Computer Store
Re: VM 3.2.6 - New Coupon Error
« Reply #5 on: November 27, 2017, 18:15:56 pm »
Thank you. I'll try.
No pain, no gain, no site!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9415
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: VM 3.2.6 - New Coupon Error
« Reply #6 on: November 28, 2017, 12:52:56 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 179
    • Bulgarian Computer Store
Re: VM 3.2.6 - New Coupon Error
« Reply #7 on: November 28, 2017, 13:43:22 pm »
Clearly. I understand, Max, and thank you. Thanks also to franzpeter.
No pain, no gain, no site!

jbittner

  • Beginner
  • *
  • Posts: 4
  • A beginner
  • Skype Name: ocotillohypnosis
Re: VM 3.2.6 - New Coupon Error
« Reply #8 on: December 04, 2017, 22:46:08 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