Skip to main content

Error on editing discounts

More
11 years 10 months ago #178132 by janvankuijk
-- url of the page with the problem -- : www.mijnsportspullen.nl
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : DateTime::__construct() [datetime.--construct]: Failed to parse time string (01 maart 2015 19:22) at position 0 (0): Unexpected character

When we edit discounts we get this error:

DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: Failed to parse time string (01 maart 2015 19:22) at position 0 (0): Unexpected character


Jan

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #178139 by Xavier
Replied by Xavier on topic Error on editing discounts
Hi,

I think that the date format you entered when setting up the discount was not correct.
Did you used the selector or filled directly the field ?

You can still delete the created ones and create new ones with correct values for the dates or edit their values directly in database via phpMyAdmin and set the start and end date to 0.

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #178293 by janvankuijk
It's a strange problem!

've set the start and enddate to 0 in the database. That's ok. I can open the discount again.

An enddate in 2014 is no problem. An enddate in2015 gives the same error.

We entered the data with the dat picker!

Jan

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #178311 by Xavier
Replied by Xavier on topic Error on editing discounts
Hi,

Please edit the view "discount / form"in backend template via the menu Display > Views and replace:
Code:
%d %B %Y %H:%M
By:
Code:
%Y-%m-%d %H:%M

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #178470 by janvankuijk
Unfortunatally there is no such code there.

See attachments.

Jan

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #178482 by Xavier
Replied by Xavier on topic Error on editing discounts
Hi,

There is such code there.
Please use the search function in your text editor ;)
The following user(s) said Thank You: janvankuijk

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #178672 by janvankuijk
It seems to work!

Thanks!

Jan

Please Log in or Create an account to join the conversation.

Time to create page: 0.220 seconds
Powered by Kunena Forum