Page 1 of 1

Parse error when trying to View Availability Template

Posted: Fri Nov 16, 2007 1:03 pm
by whacker
Hi
Marco
I was having a problem with being able to book more people in a room then the room could accommodate..
i went into the Internet availability templates and changed some of the settings in the section
Ask for the number of people?
i recreated the availablity template and now get a parse error when I go to the availability template in IE

Parse error: syntax error, unexpected '=' in /home/****************/availability_template.php on line 50.

I believe its somewhere in this area

This is from an older availability_template.php

$var_ask_number_apartments_for_type = "NO";
$var_maximum_number_apartments_for_type = "0";
$var_add_other_types = "NO";
$var_maximum_number_other_types = "3";
$var_ask_people_number = "NO";
$var_maximum_number_people = "2";
$var_cost_add_beds = "";
$var_maximum_number_extra_beds = "2";
$var_add_extra_costs = "YES";
This is not actual availability_template.PHP
Is it possible that I have a combination of settings that would cause this, any ideas????
WHacker

Posted: Fri Nov 16, 2007 6:37 pm
by whacker
Hi
Working again, deleted all Templates....
Rather unfortunate, as some of these had been customized, no backups either....
Had my settings changed so I could view the template files and created new Internet Templates...
Sure hope things are stable know.....
I am the only one experiencing this problem? Sometimes I wonder, and later after I've tried some things, I am surprised when everything starts to work again LOL
WHacker