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.

Blank Site after updating path.php file: Urgent

October 11, 2012 5:08pm

Subscribe [1]
  • #1 / Oct 11, 2012 5:08pm

    jtoast

    32 posts

    Hello,

    I was just in the middle of making some adjustments to our site’s path.php file, and now when I try to load the site (http://www.sitename.com/index.php), the page comes up blank.

    I had copied the path.php file from the server locally, made some changes, and re-uploaded it when this happened. So I then removed my changes and re-uploaded what I thought was an original file, but it still comes up with a blank page.

    Is there another file or process that writes to the path.php file?

    I’m in a bind here; hope someone can walk me through some troubleshooting steps.

    Thanks in advance,
    Jenny

  • #2 / Oct 11, 2012 5:49pm

    jtoast

    32 posts

    Another bit to add, which may help the troubleshooting:

    Every time I try to overwrite the path.php file by FTPing (via Dreamweaver), it doesn’t seem to replace the file, i.e. when I view the path.php file on the server side, it always comes up as the original one.

    I even tried deleting the path.php file, then re-uploading (then I have to reset the permissions to 755). But when I open the re-uploaded file on the server it still appears as the old file.

    Note also, when I browse to http://www.sitename.com/index.php, I’m now getting the message:

    “Site Error: Unable to Load Site Preferences; No Preferences Found”

    Another thought: Is this somehow a caching issue??

  • #3 / Oct 11, 2012 6:47pm

    jtoast

    32 posts

    More information ...

    I’m running EE 1.6.9.

    Here’s what I have in the path.php file (“mysitename” substituted for actual site name):

    <?php

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

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

    $system_path = “./system/”;
    $site_name = ‘myshortsitename’;
    $cp_url = ‘http://www.mysitename.com/admin.php’;

    //———————————————————————————
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    //———————————————————————————

    $template_group = “”;
    $template = “”;
    $site_url = “http://www.mysitename.com”;
    $site_index = “index.php”;
    $site_404 = “”;
    $global_vars = array(); // This array must be associative

    ?>


    The error message I was getting earlier is gone, but I’m still getting a blank page for the index.php file, as mentioned earlier.
    I have a temporary “site under maintenance” index.html file that’s showing fine.

    Thanks for any help on this,
    Jenny

  • #4 / Oct 11, 2012 7:50pm

    jtoast

    32 posts

    Ok, after several hours of pulling out my hair 😊 I finally figured out what I think was happening ... I think it was a Dreamweaver-based issue.

    When I originally pulled the path.php off of the server to edit, it was an older version, which must have happened because I didn’t refresh the site through Dreamweaver first. So I was basically working from a non-working version to begin with, which I didn’t realize at the time.

    Crisis averted!

    Note to self: refresh Dreamweaver before pulling .php files off of them!

  • #5 / Oct 14, 2012 12:30pm

    Kevin Smith

    4784 posts

    I’m so glad to hear you were able to figure out what was going on here, jtoast! Let me know when I can help again.

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

ExpressionEngine News!

#eecms, #events, #releases