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.

upgrade from 1.6.8 to 1.7x

April 26, 2011 2:58pm

Subscribe [3]
  • #1 / Apr 26, 2011 2:58pm

    mambotech

    45 posts

    Hi,

    I have just followed http://ellislab.com/expressionengine/user-guide/installation/update_build.html to upgrade to 1.7.x but I now get this:

    The system does not appear to be installed. Click here to install it.


    Dunno which bit is wrong

    Help please.

    Thanks

    Mark

  • #2 / Apr 26, 2011 3:11pm

    Ran into this myself. Make sure your path.php file is restored back to its original form.  You’ll also want to delete the update.php file form your /system directory.

    It should have the following contents:

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "./system/";
    
    // ------------------------------------------------------
    // 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
    
    ?>
  • #3 / Apr 26, 2011 3:16pm

    mambotech

    45 posts

    Hi,

    Thanks for the info .... I am now getting this Database Error: Unable to select your database   which is strange because the config.php is correct?

    Mark

  • #4 / Apr 26, 2011 3:20pm

    Not sure, your config should look like this:

    <?php
    
    if ( ! defined('EXT')){
    exit('Invalid file request');
    }
    
    $conf['app_version'] = "170";
    $conf['license_number'] = "";
    $conf['debug'] = "1";
    $conf['install_lock'] = "1";
    $conf['db_hostname'] = "localhost";
    $conf['db_username'] = "sql_user";
    $conf['db_password'] = "sql_pass";
    $conf['db_name'] = "sql_database";
    $conf['db_type'] = "mysql";
    $conf['db_prefix'] = "exp";
    $conf['db_conntype'] = "0";
    $conf['system_folder'] = "system";
    $conf['cp_url'] = "http://path.local/system/index.php";
    $conf['doc_url'] = "";
    $conf['cookie_prefix'] = "";
    $conf['is_system_on'] = "y";
    $conf['allow_extensions'] = "y";
    $conf['multiple_sites_enabled'] = "n";
    ?>

    Are the permissions set correctly for config.php?

  • #5 / Apr 26, 2011 3:27pm

    mambotech

    45 posts

    yep excatly the same apart from the app_version which I just changed to 170   perms are 666

    One other thing I don’t have a database.php ?


    Thanks

  • #6 / Apr 26, 2011 4:34pm

    Alright, if the values weren’t changed in the config it doesn’t sound like the update was success.

    Once you copied your 170 files did you execute the /system/update.php?

  • #7 / Apr 26, 2011 4:46pm

    mambotech

    45 posts

    I have run the update but I get the white screen of death http://www.blinkspain.com

    :(  how hard can it be to upgrade a system?

  • #8 / Apr 26, 2011 4:48pm

    Now check your path.php again. Is it blank?  Also check your file permissions.

    path.php should be 777.

  • #9 / Apr 26, 2011 4:51pm

    mambotech

    45 posts

    path.php is fine and perms are correct :S

  • #10 / Apr 26, 2011 4:52pm

    Hrmm..  let me run the upgrade on my dev server. I haven’t upped to 1.7.1 yet, just 1.7.0.

  • #11 / Apr 26, 2011 5:05pm

    Did you delete your cache?

  • #12 / Apr 26, 2011 5:18pm

    mambotech

    45 posts

    when you say delete the cache do you mean all of the files inside of the cache dir?

  • #13 / Apr 26, 2011 5:26pm

    Yes..  I was able to update my dev website with no problem.

    I backed up /system/config.php and /path.php,  copied the files from 1.7.1 and overwrote the main install.  I ran the /system/update.php which failed becuse it coudln’t write to teh config.php, so i restored my old config.php then ran the update.php again. It worked. I then removed the /system/updates and /system/update.php files and the /install.php file, and restored the path.php file.  Worked like a charm.

  • #14 / Apr 26, 2011 5:35pm

    mambotech

    45 posts

    Maybe I will restore and try again

  • #15 / Apr 26, 2011 5:38pm

    mambotech

    45 posts

    OK ... all restored back.  Will try again. My problems started when I wanted to change the site url.  It broke the site

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

ExpressionEngine News!

#eecms, #events, #releases