Welcome to TalkGraphics.com
Results 1 to 10 of 21

Hybrid View

  1. #1
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Installing a cms script

    Hello, I'm trying to install a campware news publishing system
    I've uploaded the files as it was said in the install manual. but I get an error

    Code:
    Warning:  main(/home/videoxon/public_html/include/campsite_init.php) [function.main]: failed to open stream: No such file or directory in /home/videoxon/public_html/newspub/index.php on line 24
    
    Fatal error:  main() [function.require]: Failed opening required '/home/videoxon/public_html/include/campsite_init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/videoxon/public_html/newspub/index.php on line 24
    This is the install manual;

    Code:
    INSTALLATION PROCEDURE FOR CAMPSITE V.3.0.x
    http://www.campware.org
    
    CONTENTS:
       * PREPARATION - applications you need to have installed
       * INSTALLATION - the usual procedure
       * INSTALLATION of multiple instances
    
    ####################################################################
    
    PREPARATION - applications you need to have installed
      see the manual page at:
      http://code.campware.org/manuals/campsite/2.7/index.php?id=5
    
    ####################################################################
    
    INSTALLATION - the usual procedure
    
    1. Create an apache virtual host.
    Example of virtual host configuration:
    <VirtualHost *>
        DocumentRoot /var/www/campsite/html
        ScriptAlias /cgi-bin/ /var/www/campsite/cgi-bin/
        ServerName [site_name]
        ServerAlias [site_alias]
        DirectoryIndex index.php index.html
        <Directory /var/www/campsite/html>
                Options -Indexes FollowSymLinks MultiViews
                AllowOverride All
                <IfModule mod_access.c>
                    Order allow,deny
                    Allow from all
                </IfModule>
        </Directory>
        <Directory /var/www/campsite/cgi-bin>
            AllowOverride All
            Options ExecCGI
            <IfModule mod_access.c>
                Order allow,deny
                Allow from all
            </IfModule>
        </Directory>
    </VirtualHost>
    
    2. Unzip and Untar the campsite file. This will generate a
       folder named 'campsite'.
    
    3. Change into the 'campsite' directory.
    
    4. Copy the content of implementation/site directory into the document
    root directory of the apache virtual host.
    
    5. Start a browser, point it to the http://site_name URL and follow the
    steps.
    
    6. To install the default demo templates provided with the package take
    the following steps:
        - copy the content of demo templates directory to "templates"
        directory in the document root; the sample templates are located in:
        [document_root]/install/sample_templates/campsite_3.0-sample-template-01-v1
    
        - drop the just installed database (e.g. campsite)
    
        - create an empty database (campsite)
    
        - load the demo data to campsite from
        [document_root]/install/sql/campsite_3_0_demo_data.sql
    
    ####################################################################
    
    INSTALLATION of multiple instances
    
    Since version 3.0 Campsite doesn't support multiple instances anymore.
    You will have to perform one install for each Campsite instance.
    Maybe someone can point out something I've missed? I don't quite understand the first point of "creating a virtual host". I've just uploaded everything to my server like I usually do.

  2. #2
    Join Date
    Oct 2007
    Location
    Sydney, Australia
    Posts
    26

    Default Re: Installing a cms script

    Hello Availor,

    Are you installing this CMS on your own machine ? (i.e either a box you are hosting at home or your own dedicated server).

    If you are, then the "Apache Virtual Server" rules apply to you but if you are installing it on a hosted server (online hosting) You wont have to worry about all that.

    Basically from the error message you posted, it looks to me that the file "/home/videoxon/public_html/include/campsite_init.php" is missing.

    Can you check for it and get back to us?

    Thanks.

    Rabbie.

  3. #3
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Installing a cms script

    I am running the script on a hosted server. the file is not missing, so I have no idea what's going wrong here

  4. #4
    Join Date
    Oct 2007
    Location
    Sydney, Australia
    Posts
    26

    Default Re: Installing a cms script

    Hi Availor,

    I'm going to try to install it now and do a few tests, Ill get back to you shortly.

    Rabbie

  5. #5
    Join Date
    Oct 2007
    Location
    Sydney, Australia
    Posts
    26

    Default Re: Installing a cms script

    Hi Availor,

    I just did some testing and tried to install it on a hosted server. It seems that the campsite CMS requires that it be installed in the /public_html/ folder so before I continue, are you trying to install it in a sub folder of your main public_html directory ? (because that wont work).

  6. #6
    Join Date
    Nov 2004
    Location
    Israel
    Posts
    2,538

    Default Re: Installing a cms script

    No I was trying to install in a sub folder. I wonder why it doesn't work if it's not in the main directory. I will try to follow your instractions thanks for the help

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •