1. kristobal69
  2. RO CSVI
  3. Friday, 05 May 2017
  4.  Subscribe via email
Hello,
I wanted to have a template that gives me the last 365 days orders. So I tried to insert these words in the start date (I knew it would probably not work at all). I did not !
Worse now my template is bloqued.
I have this message each time I try to edit it :
Error
DateTime::__construct(): Failed to parse time string (last 365 days) at position 0 (l): The timezone could not be found in the database

Where can I solve that. I do not have access to it because it is not possible to edit it.

By the way it would be cool if the date range would be more open, there are solutions to say I want the last 365 days.

Thanks for your help
Kris
Accepted Answer Pending Moderation
Perfect ! Rolandd
I was just surprised that it did not replace the template whose name is the same. It created another one (without the problem) just under the buggy one.

Thanks
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello Kris,

To fix your template, easiest would be to export it via the Maintenance option choose CSVI and then Backup template. Select your template and export it. You will get an XML file. Look for the date you entered and remove it. Save the XML again and then via Maintenance choose CSVI and then Restore template and select the XML file you modified and click Continue. You will now have your template again without the broken date.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Kris,
Start date field will only accept date formats and not the days in words, so you need to click on the calendar icon next to the field and fill in the dates. Another option would be to use Date range filter.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!