News:

Support the VirtueMart project and become a member

Main Menu

After Updating to 3.2.6 --> Error with coupons

Started by DadoO, November 29, 2017, 19:04:23 PM

Previous topic - Next topic

DadoO

Another problem at this date
Yesterday I had seen the wrong dates, valid date of coupons 6 monts and I See 2016, after a moment 2025 another moment 2001 !!!
Incredible

Now break !

0 DateTime::__construct(): Failed to parse time string (1527616983) at position 8 (8): Unexpected character

I have tried "Optimize Table" but failled
It seems to be a problem with division ? A script ?

Could U see for the big problem !

Thanks in advance


DadoO

#1
Only exists when you create a NEW coupon

Another error :

0 DateTime::__construct(): Failed to parse time string (1527618923) at position 8 (2): Unexpected character

Editing, deleting works fine, but creating doesn't work :(

aftertaf

for me the proposed end date is weird as...
once was 1979, then 2025
but when i save it saves fine and saves +1yr from now.

DadoO

Hello
I have tried this solution found in dev.virtuemart, but donesn't work, same problems :(

Quotebranches/com_virtuemart.3.0.12.4/administrator/components/com_virtuemart/install/install.sql

  `percent_or_total` enum('percent','total') NOT NULL DEFAULT 'percent',

  `coupon_type` enum('gift','permanent') NOT NULL DEFAULT 'gift',

  `coupon_value` decimal(15,5) NOT NULL DEFAULT '0.00000',

  `coupon_start_date` datetime,

  `coupon_expiry_date` datetime,

  `coupon_start_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',

  `coupon_expiry_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',

  `coupon_value_valid` decimal(15,5) NOT NULL DEFAULT '0.00000',

  `coupon_used` varchar(200) NOT NULL DEFAULT '',

  `published` tinyint(1) NOT NULL DEFAULT '1',

DadoO

Up for it doesn't work !

Quote9679          29/11/2017 19:24    Max Milbers    

- fixed broken "new" coupon (just providing a default for the db)


Have you find a solution for ?

SirBoerky

I have the same problem after the last update ....


Editing and saving existing coupons works. But I can not create new coupons.

You receive the following error message: DateTime :: __ construct (): Failed to parse time string (1528262935) at position 7 (9): Unexpected character

jenkinhill

Is fixed from revision 9679  (and will be included in the next public release)   
- fixed broken "new" coupon (just providing a default for the db)

http://dev.virtuemart.net/projects/virtuemart/repository
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum