ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM problems I can't figure out

March 04, 2010 12:05pm

Subscribe [2]
  • #1 / Mar 04, 2010 12:05pm

    Gary Chapman

    107 posts

    I am running:

    ExpressionEngine 1.6.8
    Build:  20100121
    Multiple Site Manager
    Version: 1.1 Build: 20091201

    I can’t figure out the path.php deal.

    My system file was renamed to admin.

    I’ve got:

    $system_path = "./admin";

    in path.php, which is in the folder for my domain, biggigaustin.org. My admin folder is in the same level as that folder, in public_html.

    This is a CPanel host, hostgator.com. I’ve had troubles with MSM before, possibly because of a open_basedir problem, but their tech support people can’t help me figure that out, because all they’re looking for is whether there’s an index.php file in the directory of the add-on domain, which there is.

    Can someone help me figure this out, about what path.php should look like? Right now it is:

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "./admin";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    $site_name = 'Site_Short_Name';
    $template_group = "";
    $template = "";
    $site_url = "";
    $site_index = "";
    $site_404 = "";
    $global_vars = array(); // This array must be associative
    
    ?>
  • #2 / Mar 04, 2010 12:06pm

    Gary Chapman

    107 posts

    I should add that when I try to “view” any of my templates, I get:

    To proceed to the URL you have requested, click the link below:

    http://www.biggigaustin.org/index.php/biggig/idea_form/

    Clicking on the URL above produces this message:

    The system path does not appear to be set correctly. Please open your path.php file and correct the path.

  • #3 / Mar 04, 2010 12:11pm

    Gary Chapman

    107 posts

    One more thing:

    If I change to this:

    $site_name = 'biggig';

    I get the same results:

    The system path does not appear to be set correctly. Please open your path.php file and correct the path.

  • #4 / Mar 04, 2010 12:28pm

    Gary Chapman

    107 posts

    If I’m in the control panel for the Big Gig Austin site, which is at http://www.biggigaustin.org, and that site is selected from the MSM Sites menu, I click on “My Site” in the Control Panel and I get:

    To proceed to the URL you have requested, click the link below:

    http://www.21stcenturyproject.org/index.php

    The URL is the main site, the one I developed before adding MSM sites.

    Something is wrong and I can’t figure out what it is. Pretty sure I don’t know how to configure MSM and especially the path.php file.

    Thanks for any help that can be offered.

    —Gary

  • #5 / Mar 04, 2010 5:35pm

    Ingmar

    29245 posts

    Can you try

    $system_path = "../admin";

    two dots means go up a level (out of the secondary sites folder, as it were), then into “admin”. Does that about sound correct?

  • #6 / Mar 04, 2010 5:39pm

    Gary Chapman

    107 posts

    Well, I’ve learned today that my hosting service, HostGator.com, does not allow disabling of open_basedir on shared accounts, so I have upgraded my service to Virtual Private Server, which does allow disabling open_basedir. I’m hoping that this will solve the problem. It’s going to cost me an extra $35 per month.

    Now I have to wait while they move all my files over to the VPS. . . .

    I must say that MSM is not for the faint of heart. . . .

    —Gary

  • #7 / Mar 04, 2010 5:50pm

    Ingmar

    29245 posts

    Let us know how you get along. Personally I don’t think a VPS would (or, well, should—if that’s their policy) be required to setup the MSM sucessfully.

  • #8 / Mar 04, 2010 5:53pm

    Gary Chapman

    107 posts

    It was my understanding that open_basedir needs to be disabled. That’s what it says in the docs. So I asked them to disable it, and they said, sorry, can’t do that.

    I do hope this is the solution. . . .

  • #9 / Mar 04, 2010 5:56pm

    Ingmar

    29245 posts

    Yes, that’s probably fine. I just meant that a full blown VPS might be a bit of overkill, if you will, but if that’s what it takes at HostGator, so be it.

    Just keep us in the loop, please.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases