Error on editing discounts

  • Posts: 235
  • Thank you received: 4
10 years 9 months ago #178132

-- 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.

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #178139

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.

  • Posts: 235
  • Thank you received: 4
10 years 9 months ago #178293

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.

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #178311

Hi,

Please edit the view "discount / form"in backend template via the menu Display > Views and replace:

%d %B %Y %H:%M
By:
%Y-%m-%d %H:%M

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

  • Posts: 235
  • Thank you received: 4
10 years 9 months ago #178470

Unfortunatally there is no such code there.

See attachments.

Jan

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #178482

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.

  • Posts: 235
  • Thank you received: 4
10 years 9 months ago #178672

It seems to work!

Thanks!

Jan

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

Time to create page: 0.066 seconds
Powered by Kunena Forum