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.

Invalid system path, mulitple site manager

August 23, 2007 3:44pm

Subscribe [4]
  • #1 / Aug 23, 2007 3:44pm

    housingworks

    5 posts

    I am stumped.  I am running a dedicated virtual server on media temple and I wanted to set up my expression engine install and have multiple domains set up…

    Soo I have the default at
    housingworkscms.com

    and i was testing a second site at
    thriftapps.com

    on the second domain i just get The system path does not appear to be set correctly. Please open your path.php file and correct the path.  (but somehow the favicon shows up)

    I checked the path and its defiantly correct.  I am stumped..

    Any thoughts?


    path file from thriftapps.com

    <?php

    //———————————————————————————
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO

    //———————————————————————————
    // Path to the directory containing your backend files

    $system_path = “/var/www/vhosts/housingworkscms.com/httpdocs/admin/”;
    $site_name = “thrifts”;
    //———————————————————————————
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    //———————————————————————————

    $template_group = “”;
    $template = “”;
    $site_url = “”;
    $site_index = “”;
    $site_404 = “”;
    $global_vars = array(); // This array must be associative

    ?>

  • #2 / Aug 23, 2007 4:07pm

    Lisa Wess

    20502 posts

    Have you tried with a relative path by any chance?  That may help.  You might also compare your path to what PHP Info reports as the appropriate path.

  • #3 / Aug 23, 2007 4:13pm

    housingworks

    5 posts

    Tried both..

    from php info

    _SERVER[“DOCUMENT_ROOT”]  /var/www/vhosts/housingworkscms.com/httpdocs

    Also tried

    ../../housingworkscms.com/httpdocs/admin/

    same error

  • #4 / Aug 23, 2007 6:13pm

    Ryan Irelan

    444 posts

    This may be a openbase_dir issue. It’s been almost a year, but I think I had this issue on a mt dv account that a client had. Maybe this KB article will help you:

    http://kb.mediatemple.net/article.php?id=514

  • #5 / Aug 23, 2007 6:14pm

    Derek Jones

    7561 posts

    There is probably an open_basedir restriction in effect.  This setting prevents a script from being able to include a script from anywhere other than within the user/domain accounts’ folders.  In your index.php file, if you remove the @ symbol from the line:

    if ( ! @include($system_path.'core/core.system'.$ext))

    And set error_reporting(0) to error_reporting(E_ALL), this will reveal the specific details (as long as display_errors is enabled on your server).

    Edit: Crossposted!  Thanks for the link to (mt)‘s specific handling here, Ryan.

  • #6 / Aug 27, 2007 12:36pm

    smorello

    3 posts

    Hello,

    I am actually in the same case of the housingworks .

    I am trying to follow the article given by ryan but am unable to do that correctly !

    I have the foloowing error :
    ————————————-
    Warning: main(): open_basedir restriction in effect. File(/var/www/vhosts/ouvanous.com/httpdocs/ee-admin/core/core.system.php) is not within the allowed path(s): (/var/www/vhosts/samuelmorello.com/httpdocs:/tmp) in /var/www/vhosts/samuelmorello.com/httpdocs/index.php on line 122

    Warning: main(/var/www/vhosts/ouvanous.com/httpdocs/ee-admin/core/core.system.php): failed to open stream: Operation not permitted in /var/www/vhosts/samuelmorello.com/httpdocs/index.php on line 122

    Warning: main(): Failed opening ‘/var/www/vhosts/ouvanous.com/httpdocs/ee-admin/core/core.system.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/samuelmorello.com/httpdocs/index.php on line 122
    The system path does not appear to be set correctly. Please open your path.php file and correct the path.
    ————————————-

    Can someone give me the right direction or explain me how to resolve this ?


    Many thanks

    Samuel

  • #7 / Aug 27, 2007 12:43pm

    Derek Jones

    7561 posts

    You need to contact your host to see how (if possible) to enable file includes from one domain to the other (it’s a server environment setting).  The open_basedir restriction that is in place simply won’t allow it.

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

ExpressionEngine News!

#eecms, #events, #releases