Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

500 - DateTime::__construct(): Failed to parse tim
(1 viewing) (1) Guest
Universal booking and reservations component for Joomla!.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: 500 - DateTime::__construct(): Failed to parse tim

Re: 500 - DateTime::__construct(): Failed to parse tim 6 years, 8 months ago #41026

  • maju
  • OFFLINE
  • Posts: 1108
Hello,

thank you for solution. We tested reservation system before release and I tested it also now for sure. But I can not simulate your problem.
Actually tested on Joomla 2.5.14 and Book it! 2.2.0. But I think there was no change in date functionality. It is interesting, that it cause you these problems.

New release will probably rewrite your changes again. There is possible to set these date formats in: Configuration -> tab General -> option Date Format set to Use Custom (and all options below).
ARTIO Support Team
The topic has been locked.

Re: 500 - DateTime::__construct(): Failed to parse tim 6 years, 8 months ago #41037

  • maju
  • OFFLINE
  • Posts: 1108
Finally we were able to simulate this bug. English version works fine, but other localisations can have problem.

There is necessary to use format where is not used any name. For example: 23 September 2013 is wrong for other languages.
DATE_FORMAT_NORMAL="d-m-Y"

Modification only for this row would help you to solve this bug for this moment. But we will repair this bug in next release, so you will be probably able to use old date formats.

EDIT:
If you use hourly reservations, you have to modify also this row:
DATE_FORMAT_LONG="d-m-Y H:i"
ARTIO Support Team
Last Edit: 6 years, 8 months ago by maju.
The topic has been locked.

Re: 500 - DateTime::__construct(): Failed to parse tim 6 years, 8 months ago #41038

I made the settings in the backend.. it works
Attachments:
The topic has been locked.

Re: 500 - DateTime::__construct(): Failed to parse tim 6 years, 7 months ago #41238

Hi,

I did all the changes I found on the forum for this problem and still have troubles.
I am using Romanian language for the website.

Please see my language ("ro-RO.com_booking.ini") file lines dor dates:
; Date formats
DATE_FORMAT_LONG="d-m-Y H:i"
DATE_FORMAT_NORMAL="d-m-Y"
DATE_FORMAT_NICE="%a %d %b %Y"
DATE_FORMAT_NICE_SHORT="%d %b"

This time I get the following error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 79 bytes) in ...subdomains/gasestetest/libraries/joomla/date/date.php on line 295
You can see it at: gasestetest.ralinfo.ro/muzica-formatii-d...ia-dacia-folk-brasov

Can you please help me with this?

Thank you.
Raluca Manea
The topic has been locked.

Re: 500 - DateTime::__construct(): Failed to parse tim 6 years, 7 months ago #41240

Also, I tested in other way. By not making any changes to the language file and set up the way how the date to be displayed on the screen from the administration part.
Please see the attached image.

Anyway, in both cases, the same result I receive.
Last Edit: 6 years, 7 months ago by manearaluca. Reason: image not attached
The topic has been locked.

Re: 500 - DateTime::__construct(): Failed to parse tim 6 years, 7 months ago #41244

  • maju
  • OFFLINE
  • Posts: 1108
Hello,

You can try to enlarge memory_limit in php.ini.
For example:
memory_limit = 128M

If it will not help you, please, send us ftp access and admin login details to your site to Tato emailová adresa je chráněna před spamboty, abyste ji viděli, povolte JavaScript .
ARTIO Support Team
The topic has been locked.
Přihlášení uživatele Prázdný