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 2.02 to 2.1 failed

July 20, 2010 2:04pm

Subscribe [4]
  • #1 / Jul 20, 2010 2:04pm

    draymond

    22 posts

    Followed all instructions including re-installing MSM, and upgrading all third-party plug-ins
    Getting white screen after agreeing to Terms. I tried renaming system folder back to ‘system’ but then I can’t run the installer. This may be due to my htaccess redirects, but I’m wondering if there’s a way to upgrade without undoing all the work on redirects and removing index.php, etc. After failed upgrade, home page is blank, but with debugging on says…

    Warning: require_once(/www/[account]/public_html/[systemfolder]/core/CodeIgniter.php) [function.require-once]: failed to open stream: No such file or directory in /www/[account]/public_html/[domain].com/index.php on line 206

    Fatal error: require_once() [function.require]: Failed opening required ‘/www/[account]/public_html/[systemfolder]/core/CodeIgniter.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /www/[account]/public_html/[domain].com/index.php on line 206

    It seems like those paths are not based on the directory structure of 2.1, so this may also suggest redirects or path issues.

    cp home says…
    Your system folder path does not appear to be set correctly. Please open the following file and correct this: admin.php

    I’ve rolled everything back, and not sure how to proceed. Thanks for any help!

  • #2 / Jul 20, 2010 5:09pm

    Ingmar

    29245 posts

    It seems like those paths are not based on the directory structure of 2.1, so this may also suggest redirects or path issues.

    Yes it appears that some add-ons are not compatible with EE 2.1. You’d have to upgrade your third-party add-ons, roll back the database, then try the update again.

    You can read more about those path issues here.

  • #3 / Jul 20, 2010 5:35pm

    draymond

    22 posts

    Do I need to roll back the database if the upgrade never happened? i.e., white screen after accepting terms.

  • #4 / Jul 20, 2010 5:44pm

    Ingmar

    29245 posts

    Yes, please do. Your db might still have been partially changed.

  • #5 / Jul 20, 2010 11:28pm

    draymond

    22 posts

    Sadly, i backed up the wrong database so i cannot roll back the db. When I remove all the 2.1 files and restore the 2.02, everything works fine in the old version. When I re-upload all the new 2.1 files, change my system directory name back to ‘system’, and go to /system, it just lets me log in to the old cp as if nothing had changed. how do i force the installer to run again?

  • #6 / Jul 21, 2010 3:39am

    John Henry Donovan

    12339 posts

    draymond,

    When I re-upload all the new 2.1 files, change my system directory name back to ‘system’, and go to /system, it just lets me log in to the old cp as if nothing had changed.

    What version and build is in your control panel footer?
    What version is in system/expressionengine/config/config.php?

    how do I force the installer to run again

    Lets see if your db was updated first.

    Tools -> Data -> MySQL Manager

    If you browse into exp_member_groups can you see a column called can_access_fieldtypes

  • #7 / Jul 21, 2010 10:36am

    draymond

    22 posts

    Hi John:
    Now that I have rolled back…
    v2.0.2pb01 - Build: 20100415
    $config[‘app_version’] = “202pb01”;

    Yes, I see the can_access_fieldtypes in exp_member_groups

  • #8 / Jul 21, 2010 7:03pm

    Brandon Jones

    5500 posts

    draymond, it looks like your database is up to 2.1 then. You can put the 2.1 files back in place. Does that work?

  • #9 / Jul 22, 2010 6:45pm

    draymond

    22 posts

    Brandon: After starting over from scratch, the upgrade seemed to work fine all the way through. Now when I go to my MSM site’s home page I get…

    Warning: require_once(/www/[account]/public_html/[systemfolder]/core/CodeIgniter.php) [function.require-once]: failed to open stream: No such file or directory in /www/[account]/public_html/[domain].com/index.php on line 206

    Fatal error: require_once() [function.require]: Failed opening required ‘/www/[account]/public_html/[systemfolder]/core/CodeIgniter.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /www/[account]/public_html/[domain].com/index.php on line 206

  • #10 / Jul 22, 2010 6:49pm

    draymond

    22 posts

    note: it seems to be working from my main domain, but getting the above errors from the secondary domain.

  • #11 / Jul 22, 2010 10:34pm

    draymond

    22 posts

    After some tweaking, I have things working now.
    1. Copied the new index.php into my secondary site root
    3. Set the system_path variable in index.php in the system folder back to blank, so that only the index.php files in my site root and secondary site root are set to the new system folder name
    2. Reset the variables for MSM…
    $assign_to_config[‘site_name’] = ‘shortname’;
    $assign_to_config[‘cp_url’] = ‘http://www.domain.com/systemfolder’;
    $assign_to_config[‘site_url’] = ‘http://www.domain.com’;

  • #12 / Jul 23, 2010 2:25am

    John Henry Donovan

    12339 posts

    draymond,

    that’s exactly what I was gonna suggest you do 😉

    Glad you are up and running again.Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases