Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

500 - DateTime::__construct()
(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()

Re: 500 - DateTime::__construct() 12 years ago #35180

  • maju
  • OFFLINE
  • Posts: 1107
What error do you get?
ARTIO Support Team
The topic has been locked.

Re: 500 - DateTime::__construct() 12 years ago #35181

Parse error: syntax error, unexpected T_STRING, expecting ';' in /mnt/web-data1/???/public_html/www/administrator/components/com_booking/helpers/html.php on line 637
The topic has been locked.

Re: 500 - DateTime::__construct() 12 years ago #35183

  • maju
  • OFFLINE
  • Posts: 1107
That method works for me.

Did you replace old method? And do you have all characters from posted code?

What row do you have on line 637? And what row is before it? (don't need empty rows but row, where is part of code). Is line before 637 finished with character ';'?
ARTIO Support Team
The topic has been locked.

Re: 500 - DateTime::__construct() 12 years ago #35184

I replace method getMonthsSelect()

on line 637 i have

for ($i = 0; $i toFormat('%m') . ',' . (int) $date->toFormat('%Y')), ($date->toFormat('%B') . '/' . $date->toFormat('%Y')));
The topic has been locked.

Re: 500 - DateTime::__construct() 12 years ago #35185

my html.php is in attachments
Last Edit: 12 years ago by maju.
The topic has been locked.

Re: 500 - DateTime::__construct() 12 years ago #35193

  • maju
  • OFFLINE
  • Posts: 1107
You had more bugs there. Function getWeekSelect was probably modified too. Both functions repaired.

File Attachment:

File Name: html.zip
File Size: 11 KB
ARTIO Support Team
The topic has been locked.
User Login Empty