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.

Error opening CP since 2.2.2 upgrade

September 06, 2011 1:33pm

Subscribe [2]
  • #1 / Sep 06, 2011 1:33pm

    WhiteConcierge

    11 posts

    Hi,

    I have just upgraded from EE 2.1.3 to 2.2.2 on a WIMP setup (Win2k8 x86 Standard, IIS 7 + CGI, MySql 5.5.10, PHP 5.3.6). The upgrade completed successfully, but I can no longer open the Control Panel. I get the error:

    Fatal error: Call to undefined method CI_Config::site_prefs() in C:\inetpub\wwwroot\system_ee\expressionengine\libraries\Core.php on line 122

    We have MSM 2.0, but I followed the update instructions after running the upgrade. Should this have been done prior to that? Could this be the cause of the problem?

    In case it is relevant, we encountered two issues during the install, but they were resolved:

    1. PHP error stating the timezone needed to be set in php.ini as the system zone could not be trusted. This was done, and the error disappeared.

    2. The update detected the incorrect version of EE as a Beta. I changed the version in config.php to 213 as this was set to 0 (for some reason).

    Can anyone help?

    Thanks,
    James

  • #2 / Sep 07, 2011 1:01am

    Dan Decker

    7338 posts

    WhiteConcierge,

    I hate to see this is being an issue and I’m going to help you get this sorted out. Have you downloaded and updated MSM to version 2.1?

    Cheers,

  • #3 / Sep 07, 2011 6:06am

    WhiteConcierge

    11 posts

    Hi Dan,

    Thanks for your reply.

    I had not updated to MSM 2.1, but I have now. There is no change however, the same error is displayed when trying to open the CP.

    Any other suggestions on how I can troubleshoot this? I have a feeling it has something to do with MSM.

    Thanks,
    James

  • #4 / Sep 07, 2011 11:59pm

    Dan Decker

    7338 posts

    James,

    When you performed the update, did you make sure to copy over your original /system/expressionengine/config/config.php and /system/expressionengine/config/database.php ? Are you able to login to any of your sites’ CPs?

    Cheers,

  • #5 / Sep 08, 2011 10:33am

    WhiteConcierge

    11 posts

    Hi Dan,
    Yes to the first question and no to the second. The error message/screen is what is presented to me on trying to get to the login screen.

    Cheers
    James

  • #6 / Sep 09, 2011 7:44pm

    Dan Decker

    7338 posts

    James,

    We’ve seen instances where files in the installation can be corrupted during FTP. I would like to ask you to download fresh copies on EE 2.2.2 and MSM 2.1.0 and upload those to your server. You would follow all of the steps in the version update instructions except for step 7. At step 7 you would immediately delete /system/installer. Be sure the give the instructions a read-through before attempting this and make a backup of your database.

    Cheers,

  • #7 / Sep 13, 2011 1:41pm

    WhiteConcierge

    11 posts

    Dan,

    Thanks for your suggestion. I tried again with the upgrade, but the same outcome I’m afraid.

    I have ended up installing the latest version from fresh, and our web developer has spent today migrating the content/templates etc across to the new installation. Hopefully the next upgrade will be somewhat smoother!

    Thanks,

    James

  • #8 / Sep 14, 2011 8:05pm

    Dan Decker

    7338 posts

    James,

    I’m sorry to hear you had to go that route. We are working to improve the update process and hopefully this will go more smoothly in the future. As I read it, you are all set now. Is that the case? Is there anything else we can assist you with?

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases