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.

System path not set correctly?

December 01, 2009 6:38am

Subscribe [4]
  • #1 / Dec 01, 2009 6:38am

    royby

    54 posts

    This question is related to a resolved thread.

    Hi

    I am having an almost identical problem to elle_media.

    This morning I did a new EE install of 1.6.8, build 20090723 after developing for some time on my local machine. The install went well and everything seemed to be working well. Because I wanted to test the EE set-up while still running my old pMachine site I changed the EE index file name to index_ee.php and took it out of the EE folder and placed it in my root directory. I also placed the path.php file in the root and changed the system path to $system_path = “./ExpressionEngine1.6.8/rottnest/”; (rottnest being my changed system folder name).

    This all went well so I went ahead and conducted the import of my files from pMachine which seemed to go smoothly also. The entries appeared in the weblog at http://royby.com/index_ee.php minus any uploaded images. I began by moving one uploaded image from the pMachine/images/uploads folder into the EE/images/uploads folder and the next time I refreshed I found the same message as elle_media

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

    Additionally, the EE control panel login does not load, so I cannot access the EE admin

    strange that everything seemed to be working fine one minute and the next - nothing

    I hope you can help me with this issue

    cheers

  • #2 / Dec 01, 2009 10:41am

    Sue Crocker

    26054 posts

    royby, let’s have you look into the path.php file first.

    What’s in there?

    When you say the CP won’t load, what do you mean? What happens?

  • #3 / Dec 01, 2009 8:29pm

    royby

    54 posts

    Hi Sue

    below is a copy of the path.php

    what happens with the cp is that the browser shows the url but there is a blank screen, nothing loads

    cheers

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "./ExpressionEngine1.6.8/rottnest/";
    
    // ------------------------------------------------------
    // 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
    
    ?>
  • #4 / Dec 01, 2009 9:04pm

    Adam Dorsey

    1439 posts

    Hi royby-

    Just to confirm… Everything was working, after you imported the old DB? And then just stopped working?

    Are you running any extensions?
    Has anything changed with your host?

    To rule out file corruption, I would upload a fresh set of EE files. Also, make sure the path.php file, and config.php file have proper file permissions of 666. I would also manually clear out the system/cache folder via FTP. Remove everything but the index.html file.

  • #5 / Dec 01, 2009 9:35pm

    royby

    54 posts

    Hi Adam

    yep, everything was working after importing the old DB, then it just stopped working.

    I’m not running any extensions
    don’t know about changes with the host but don’t think that’s it.

    the EE files were just uploaded a few hours prior to this happening.  Checked permissions and sure enough, path.php was set to 644. Changed it to 666, but no change. config is ok.

    when you say manually clear out the system/cache, i take it you mean only the files residing in the various folders eg db_cache, magpie_cache etc, or do you mean to delete the folders also and only leave the solitary index file in there?

    cheers

  • #6 / Dec 01, 2009 9:39pm

    Adam Dorsey

    1439 posts

    Hi royby-
    Delete all of the folders in the cache directory, just leave the index.html file. Also, make sure the permissions for the cache folder are set to 777.

    Thanks!

  • #7 / Dec 01, 2009 9:44pm

    royby

    54 posts

    Hi Adam

    ok, I deleted all those folders and permissions were already set to 777.

    but no change i’m afraid.

    cheers

  • #8 / Dec 01, 2009 9:48pm

    Adam Dorsey

    1439 posts

    Can you upload a php file called “here.php” to your system folder (rottnest).

    Include this code in that php file:

    <?php echo realpath(dirname(__FILE__)); ?>

    Browse to that file, and reply with the output to this thread.

    I just re-read your initial post, and you are 3 builds behind. I would still recommend updating to the latest build, which is Build 20091201.

    Thanks!

  • #9 / Dec 01, 2009 9:57pm

    royby

    54 posts

    ok, here is the output from here.php

    /home/royby/public_html/ExpressionEngine1.6.8/rottnest

    unfortunately i have a meeting soon and need to go get ready. I will upload the latest build later today when i have clear time.

    thank you Adam

    cheers

  • #10 / Dec 01, 2009 9:58pm

    Adam Dorsey

    1439 posts

    Sure. We’ll get there 😊

    Let us know when your finished. We’ll be here 😊

  • #11 / Dec 02, 2009 1:39am

    royby

    54 posts

    ok

    I’ve uploaded the latest update files to the host server (20091201) and the system cache is still clear, but nothing has changed. the situation remains the same I’m afraid.

    cheers

  • #12 / Dec 02, 2009 2:30am

    John Henry Donovan

    12339 posts

    royby,

    I notice your CP login page is blank. This usually indicates some sort of error. Can you turn your error reporting on please?

    EE Wiki : HowTo Turn on Error Reporting

    Then visit your Control Panel an see if any errors are showing

  • #13 / Dec 02, 2009 2:36am

    royby

    54 posts

    Hi John

    I can’t do this I’m afraid because the CP is not loading/showing up in the browser

    cheers

  • #14 / Dec 02, 2009 2:38am

    John Henry Donovan

    12339 posts

    royby,

    Can you do the second step please?

    Next, edit the /ExpressionEngine1.6.8/rottnest/index.php file, and change the value of

    error_reporting(0);

    to

    error_reporting(E_ALL);
  • #15 / Dec 02, 2009 2:54am

    royby

    54 posts

    OK i’ve done all that

    i placed this bit of code -

    ini_set(‘display_errors’, 1);

    on the last line of the index_ee.php page. Should it be placed somewhere else in the page?

    cheers

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

ExpressionEngine News!

#eecms, #events, #releases