CultBooking Installation PDF Print E-mail

This is a guide to CultBooking installation.
This guide covers version 1.5.0

CultBooking is a hotel booking system (Internet Booking Engine). It works as a client for CultSwitch. With CultBooking Open Source you can create and design your own GUI for you website. It is not longer necessary to use the Cultuzz template.

To start using Cultbooking you will need:
- Web server with PHP support
- MySQL server

You need to download CultBooking system from sourceforge.net:
http://superb-east.dl.sourceforge.net/sourceforge/cultbooking/CultBooking_1.5.zip
Unpack it and upload to designed web server directory.
Create an empty file named configuration.php and make it writable to apache.
Under linux you can do it by executing the following commands in the directory
the script is in:
touch configuration.php
chmod 777 configuration.php
Change the permissions to log and _inc directories to 777.

Now you're ready to start installation. Point your webbrowser to:
http://host/path/installation/index.php

For example if your hostname is www.something.com and you unpacked the software to cultbooking the URL will look:
http://www.something.com/cultbooking/installation/index.php

CultBooking requires PHP version 5 installed and some of PHP components.
You need to have support for zlib, XML and MySQL built into php. If you see any of those items marked as red in installation screen you need to fix those or contact your system administrator.

CultBooking, among some other settings require that session save path is set in php.ini and it's writable. In php.ini the setting that corresponds to this is session.save_path This should be set to /usr/lib/php or similar. The directory varies, depending on what linux distribution you are using.

Next group of three settings is not mandatory, but in order for Cultbooking to
function properly those should be set:
safe_mode - on
display_errors - on
register_globals - off
If all test on the page are displayed in green you may proceed to next step.

Image

CultBooking will display a license file, and you may proceed to next step, where you need to enter mysql settings, such as hostname, user and password.
You should create user for MySQL database access. Remember that CultBooking needs to create databases, so you should make sure that the user you enter have proper priviledges.

If you have previously installed Cultbooking you will probably have old tables left. You need to check a checkbox 'Drop Existing Databases/Tables". If you don't do that the installation cannot continue.

Image

After that step is complete you will be presented final settings for a site, such as site name, Agent sine, Agent duty Code and Hotel ID (if using only for managing one hotel).

Image

On next page you will need to enter URL for your site and path to your server's web directory. Cultbooking will try to guess hose two settings, you just need to check and confirm that. You'll also need to enter your email and password, or accept random password.

Next two options help to maintain site security. You should choose to CHMOD files and directories to the values proposed by the script, unless your server's configuration requires otherwise. Also it's important to remove write permission from configuration.php by using following command in the script directory:
chmod 755 configuration.php

Image

Last screen will remind you to remove installation directory, as leaving it be cause a security risk, because somebody may access installation script and render your Cultbooking installation unusable.

After those steps are complete you will be presented a link to your new CultBooking installation.
Thank you.

Image

pdf CultBooking Database Description 155.64 Kb

Last Updated ( Friday, 27 July 2007 )