Parse error when trying to View Availability Template
Posted: Fri Nov 16, 2007 1:03 pm
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
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