Welcome to TalkGraphics.com
Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  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

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

    Default Re: Installing a cms script

    Perhaps you have a link to where you installed the script to, because all my html_public folders are full - I've tried deleting the current website but I have too many websites installed there so all I have is sub folder.

  8. #8

    Default Re: Installing a cms script

    Not sure what you are meaning by "all my html_public folders are full"?
    Do you mean you have run out of space on your host?
    You shouldn't try to install anything at a level lower than /public_html/
    Your site root is /public_html/ - anything else should be in subfolders branching out from /public_html/
    (note that your FTP view may also show a /www/ folder. This is just an alias to the /public_html/ root folder)

    According to what rabbie has posted, the cms script expects to be installed in the root of your hosted web space.

    If your hosted account using cpanel, perhaps you can try to create a subdomain and see if that satisfies Campsite's path prerequisites?

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

    Default Re: Installing a cms script

    public_html is the root directory, so let's say I want to install a specific script - I just upload my contents there so it has index.php file and all other folders so when I type www.mysite.com I get to the website.
    Usually when I want to install multiple scripts I just create a sub folder (Usually it works), like www.mysite.com/another_script.

    I have installed many scripts so I have something that looks like that; www.mysite.com/script1 www.mysite.com/script2 etc... If I want to install something in the public_html directory my index.php file will be overwritten and I will have to reinstall the current script (because many folders have the same name like img and admin), thus I have to delete my old website in order to install a new one. Right now I don't have a free domain yet (because each domain has it's own public_html). I wonder why a script needs to be installed in the root directory...

  10. #10

    Default Re: Installing a cms script

    Quote Originally Posted by Availor View Post
    I wonder why a script needs to be installed in the root directory...
    Probably due to many internal link-backs and SQL commands being referenced to the site root. A CMS such as this is likely designed to be used by people who will register a unique domain name and buy hosting specifically.
    Have you tried Campsite support/FAQ?

 

 

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
  •