Jump to content

HELP>> Unexpected T_VARIABLE Error in MRBS room booking system.


alexsumner1

Recommended Posts

Hello everyone. I am having a really annoying problem setting up MRBS on linux. I am trying to set up a system to book IT rooms for my school, and I am getting "Parse error: syntax error, unexpected T_VARIABLE in /var/www/config.inc.php on line 105" when trying to set up custom periods for booking. When I disable periods and remove them, everythings fine, i can log in to the web based booking system, however, the time blocks are stuck at every hour, and this is not flexible enough for my requirements, and so custom periods would be useful.

The strange thing is, is that the error is on the second period, which is what i dont understand, its no different from the first, just different times...

Here is a snip of my config file:

Code:

# Define the name or description for your periods in chronological order
# For example:
# $periods[] = "Period 1"
# $periods[] = "Period 2"
# ...
# or
# $periods[] = "09:15 - 09:50"
# $periods[] = "09:55 - 10:35"
# ...
#   is used to ensure that the name or description is not wrapped
# when the browser determines the column widths to use in day and week
# views

#(THESE ARE THE PERIODS I WANT)
$periods[] = "09:10 - 10:10"
$periods[] = "10:11 - 11:10"
$periods[] = "11:11 - 11:30"
$periods[] = "11:31 - 12:30"
$periods[] = "12:30 - 13:15"
$periods[] = "13:30 - 14:30"
$periods[] = "14:31 - 15:30"

 

I am following the instructions correctly, but its just when periods are enabled, it goes mental. Its annoying me and it needs finishing by the end of the week.

 

If you need the whole file, see attached...

O, wait, i have to rename my config file because this forum is awkward  >:(

 

Thankyou!!

 

Alex Sumner

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.