Parse error when trying to View Availability Template

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
whacker
Posts: 39
Joined: Fri Oct 27, 2006 2:32 pm

Parse error when trying to View Availability Template

Post 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
whacker
Posts: 39
Joined: Fri Oct 27, 2006 2:32 pm

Post 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
Post Reply