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.

Update Emergency

November 23, 2007 7:50pm

Subscribe [0]
  • #1 / Nov 23, 2007 7:50pm

    Briggs

    111 posts

    Yesterday I updated from 1.6.0 to 1.6.1, personal license (whatever the cheapest one is that you pay for)

    All was well, I thought. I went to my site (that’s still not done) and I was able to view all the pages and templates and entries, etc, everything.

    Currently the only thing on my home page is “coming soon!”.

    My problem is that when I try to navigate to my control panel, it shows my “coming soon!” home page.

    I checked the URL to the control panel in the config file and it’s the same as it’s aways been.

    All permissions have been set.

    One thing I forgot to do was remove my htaccess file and put “index.php” in the EE general settings. So i updated my application while that was still being used.

    When I remove the htaccess and add in “$conf[‘site_index’] = “index.php”;” into my config file, i get a Forbidden page for my control panel page, and all other pages are cannot be found.

    I need some help fixing this, either by letting me know where exactly control panel settings might be stored in the database (perhaps it’s messed up in there?).

    If all else fails, I’ll have to reinstall EE.. which I don’t really want to do.. I have prorbably.. 2000 entries.. so if I do have to reinstall, I’d like to be able to keep the mysql tables taht are important.. i am assuming the categories table, weblog fields, entries.. whatever, but i don’t know all the tables that I can back up to use for a new EE install.

    Please help, thanks!

  • #2 / Nov 23, 2007 11:53pm

    tbritton

    714 posts

    Check if you wrote over the config.php file, perhaps, with the default that comes with EE. If so, hopefully you have a backup you can write over the existing one. You can replace the information editing it with a text editor if needs be. Same thing with the paths.php file.

    Terry

  • #3 / Nov 23, 2007 11:58pm

    Briggs

    111 posts

    Check if you wrote over the config.php file, perhaps, with the default that comes with EE. If so, hopefully you have a backup you can write over the existing one. You can replace the information editing it with a text editor if needs be. Same thing with the paths.php file.

    Terry

    I backed up my originals of both and are using them. First thing I checked when I noticed it wasn’t working. Unfortunately don’t see anything different :(

  • #4 / Nov 24, 2007 1:11am

    Paul Burdick

    480 posts

    It actually sounds from the initial symptoms (you were getting your site’s homepage and not the CP) that this is an .htaccess redirect problem.  Remove all of your .htacess rules and see if you can get to the Control Panel.

  • #5 / Nov 24, 2007 1:14am

    Briggs

    111 posts

    I have tried that also.

    When this happens, i get a forbidden page when navigating to my control panel page, and a 404 for every other page i navigate too.

    i think when you do the htaccess thing to get rid of index.php, you have to remove it from the settings in the control panel (change index.php to blank). So since I can’t get into my control panel to put index.php back in, i put the variable i stated in m first post int he config file (the pre 1.6 way before that was stored in th database)

  • #6 / Nov 24, 2007 1:17am

    Briggs

    111 posts

    Here’s my config file

    <?php
    
    if ( ! defined('EXT')){
    exit('Invalid file request');
    }
    $conf['site_index'] = "index.php";
    $conf['app_version'] = "160";
    $conf['license_number'] = "###########";
    $conf['debug'] = "1";
    $conf['install_lock'] = "1";
    $conf['db_hostname'] = "#####";
    $conf['db_username'] = "#####";
    $conf['db_password'] = "#####";
    $conf['db_name'] = "mpace_eeautobotstransform";
    $conf['db_type'] = "mysql";
    $conf['db_prefix'] = "exp";
    $conf['db_conntype'] = "0";
    $conf['system_folder'] = "oracle";
    $conf['cp_url'] = "http://www.autobotstransform.com/system/index.php";
    $conf['doc_url'] = "http://expressionengine.com/docs/";
    $conf['is_system_on'] = "y";
    $conf['allow_extensions'] = "y";
    $conf['multiple_sites_enabled'] = "n";
    ?>


    Here’s my path file

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "./oracle/";
    
    // ------------------------------------------------------
    // 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
    
    ?>

    Here’s my htaccess rewrite file

    RewriteEngine on
    RewriteCond $1 !^(images|jquery|js|system|themes|index\.php|google11bc5ceee3ff8083\.html|path\.php|rollout\.css|core\.css|reset\.css) [NC]
    RewriteRule ^(.*)$ /index.php/$1 [L]
  • #7 / Nov 24, 2007 1:17am

    Paul Burdick

    480 posts

    When you use .htaccess to remove index.php, yes that setting should be switched to be an empty value.  However, not switching it will not cause the error your are describing.

    If you want to send me FTP access for your server and a login for your CP, I probably can look at this real quick.  Please, do so quickly as it is past midnight and tomorrow is going to be busy for me.

  • #8 / Nov 24, 2007 1:19am

    Briggs

    111 posts

    EDIT: Sorry, i can still get to my templates and what not when i remove htaccess, forgot i had to put index.php in the URL, but my control panel still doesn’t work.

    “You don’t have permission to access /system/index.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. “

  • #9 / Nov 24, 2007 1:33am

    Briggs

    111 posts

    Paul saved me.

    Note to self: be careful when setting permissions, you might accidentally set permissions o your system folder like I did, instead of the cache folder! AHHH!!!!

    Thanks!

  • #10 / Nov 24, 2007 1:34am

    Paul Burdick

    480 posts

    As a followup, there was a permissions issue on the system folder and once it was figured out, the CP showed up.  The magic of servers.

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

ExpressionEngine News!

#eecms, #events, #releases