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 system folder path does not appear to be set correctly

March 11, 2013 3:57am

Subscribe [3]
  • #1 / Mar 11, 2013 3:57am

    Simple_HQ

    2 posts

    Hi

    I have recently purchased MSM but am having trouble getting it to work. I have followed the docs to a tee but have had no luck.

    I have completed the following:

    1) Installed and activated the add-on
    2) Created a new site (did not copy anything from site 1)
    3) Updated URL to root directory in Admin > General Config
    4) Created a new template group and made default for site2
    5) Added site 2 to hosting
    6) Ensured “open_basedir” has been turned off
    7) Copied admin.php & index.php from site 1
    8) Updated system path in admin.php & index.php to absolute URL of site 1 (other variables also updated to reflect site 2 cp url & url).
    9) Uploaded admin.php & index.php to site 2
    10) Reload the site but get the following message:

    Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

    I am hosting (reseller) with e2 and they have assured me that open_basedir is disabled on the sites.

    I have tried relative links for system paths but get the same result ( ../../username/public_html).

    Does the name of site 2’s admin.php & system name need to be the same as site 1 (I have changed it as a security precaution) ?

    Any help of feedback would be appreciated.

  • #2 / Mar 20, 2013 10:15pm

    forecepts

    5 posts

    Hi guys

    I also have same issues as you.

    May I know how you to resolve this issues?? Thanks

  • #3 / Mar 25, 2013 6:47pm

    Simple_HQ

    2 posts

    Hi @forecepts,

    I haven’t been able to resolve the issue unfortunately. I have a feeling it may have something to do with the fact I am using a reseller hosting account.

    Who are you hosting with and are you also using a reseller account?

  • #4 / Mar 25, 2013 8:30pm

    Kaori's avatar

    Kaori

    57 posts

    Hello

    While I don’t have a reseller account, I use a VPS account, this is what I did, so maybe this will help you. 

    My EE site is located at the /public_html/ folder for Site1

    1. On the cPanel for my main domain I created an addon domain for site2.com, that automatically created a folder named “site2” on my site1’s /public_html/ folder.
    2. Inside Site 1 Expression Engine Control Panel, went to Site 1 > Edit Sites and clicked the “Create New Site” button.
    3. Created a New Site with the following information
          -Label: Site 2
          -Site Short Name: site2
    4. Duplicate index.php and admin.php from my Site1 /public_html/ folder
    5. Updated the duplicated index.php and admin.php with the information from Site2 (example bellow)
    6. Uploaded both files to the folder /public_html/site2/

    INDEX.PHP

    *  System Path
     * --------------------------------------------------------------------
     *
     * The following variable contains the server path to your
     * ExpressionEngine "system" folder.  By default the folder is named
     * "system" but it can be renamed or moved for increased security.
     * Indicate the new name and/or path here. The path can be relative
     * or it can be a full server path.
     *
     * <a href="http://ellislab.com/expressionengine/user-guide/installation/best_practices.html">http://ellislab.com/expressionengine/user-guide/installation/best_practices.html</a>
     * 
     */
     $system_path = '../system';
    
    
    /*
     * --------------------------------------------------------------------
     *  Multiple Site Manager
     * --------------------------------------------------------------------
     *
     * Uncomment the following variables if you are using the Multiple
     * Site Manager: <a href="http://ellislab.com/expressionengine/user-guide/cp/sites">http://ellislab.com/expressionengine/user-guide/cp/sites</a>
     *
     * Set the Short Name of the site this file will display, the URL of
     * this site's admin.php file, and the main URL of the site (without
     * index.php) 
     *
     */
         $assign_to_config['site_name']  = 'site2'; 
         $assign_to_config['cp_url'] = 'http://site2.com/admin.php'; 
         $assign_to_config['site_url'] = 'http://site2.com';

    ADMIN.PHP

    /*
     * --------------------------------------------------------------------
     *  System Path
     * --------------------------------------------------------------------
     *
     * The following variable contains the server path to your
     * ExpressionEngine "system" folder.  By default the folder is named
     * "system" but it can be renamed or moved for increased security.
     * Indicate the new name and/or path here. The path can be relative
     * or it can be a full server path.
     *
     * <a href="http://ellislab.com/expressionengine/user-guide/installation/best_practices.html">http://ellislab.com/expressionengine/user-guide/installation/best_practices.html</a>
     * 
     */
     $system_path = '../system';
    
    /*
     * --------------------------------------------------------------------
     *  Multiple Site Manager
     * --------------------------------------------------------------------
     *
     * Uncomment the following variables if you are using the Multiple
     * Site Manager: <a href="http://ellislab.com/expressionengine/user-guide/cp/sites">http://ellislab.com/expressionengine/user-guide/cp/sites</a>
     *
     * The variables set the Short Name of the site this admin.php file
     * will log into, and its URL.
     *
     */
        $assign_to_config['site_name']  = 'site2'; 
        $assign_to_config['cp_url'] = 'http://site2.com/admin.php';
  • #5 / Mar 25, 2013 9:14pm

    forecepts

    5 posts

    And please include .htaccess as well in sub-site

  • #6 / Mar 25, 2013 9:26pm

    Kaori's avatar

    Kaori

    57 posts

    @forecepts

    Did you manage to get the MSM working for your site?

  • #7 / Mar 25, 2013 9:30pm

    forecepts

    5 posts

    Yes, I can. I follow the docs on ellislab too. But I added addiional file which is .htaccess

  • #8 / Feb 10, 2015 4:12am

    vpavlovic

    1 posts

    I have the same issue after fresh install. Giving up on the ExpressionEngine.

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

ExpressionEngine News!

#eecms, #events, #releases