Installing Campsite from Debian packages
If you want to install Campsite from the .deb packages, download them from:
Here is a little section on trouble shooting, if you experience any problems after the installation:
1. On your local machine: http://campsite/ in the browser doesn't work at all
As "root" create the file: /etc/apache2/sites-available/campsite
with the following content:
<VirtualHost *:80> DocumentRoot /var/www/campsite ServerName campsite # ServerAlias campsite DirectoryIndex index.php index.html <Directory /var/www/campsite> Options -Indexes FollowSymLinks MultiViews AllowOverride All <IfModule mod_access> Order allow,deny Allow from all </IfModule> </Directory> </VirtualHost>
Open as "root": /etc/hosts
and add the line:
sudo /etc/init.d/apache2 restart
Empty your browser cache and point your browser again to http://campsite/
2. Pointing your browser to http://campsite/ for installation throws the errors:
Warning: require_once(/var/www/campsite/conf/install_conf.php) [function.require-once]: failed to open stream:
Permission denied in /var/www/campsite/install/classes/CampInstallationBase.php on line 18
Fatal error: require_once() [function.require]: Failed opening required '/var/www/campsite/conf/install_conf.php'
(include_path='.:/usr/share/php:/usr/share/pear') in /var/www/campsite/install/classes/CampInstallationBase.php on line 18
Change the user rights of the campsite folder and subfolder / files to be readable and writeable by apache.
3. Pointing your browser to http://campsite/ for installation throws the errors:
Notice: Campsite error: the $compile_dir '/var/www/campsite/templates_c' does not exist, or is not a directory. in /var/www/campsite/install/classes/CampTemplate.php on line 89
Create the folders "templates" and "templates_c" in the campsite folder, set the rights to readable and writeable for apache.
4. The installation routine shows the error on the first screen:
Cron Jobs Writable ⁞ No You will need to grant permissions to folder /var/www/campsite/install/cron_jobs
If the folder does not exist: create it. And set the rights to readable and writeable for apache.