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 to 2.1.3 results in error "Unable to Load Site Preferences..."

March 23, 2011 12:30am

Subscribe [4]
  • #1 / Mar 23, 2011 12:30am

    Gusto

    31 posts

    This question may be related to a resolved thread.

    Hi…

    I am upgrading a 1.6.8 version of EE to 2.1.3. Everything seemed to go okay. Most areas of the control panel not dependent on 3rd Party code are working. But when I go to the site, I get the error “Site Error: Unable to Load Site Preferences; Invalid Preference Data”.

    I can easily roll back to 1.6.8, but I’m not sure what I would do differently if I did. Any thoughts?

    Also, if you recommend I first upgrade to 1.7, can you tell me where I can find the EECore file for that build? I was going to try to do that, but I can’t access it from my account… only the newest 2.1.3 version.

    Thanks!

  • #2 / Mar 23, 2011 3:53pm

    Brandon Jones

    5500 posts

    Hi Gusto,

    Since you were on EE Core, I assume you had only one site (no MSM installed) correct? Can you clear all caches and see if that helps?

  • #3 / Mar 23, 2011 4:25pm

    Gusto

    31 posts

    Hi Brandon,

    Yes, just a single site install without MSM.

    The cache clearing didn’t do it. By the way, here are my system details:
    CentOS 5.5
    PHP 5.1.6
    MySQL 5.0.77
    Apache 2.2.3

    I did a few hours reading on the forums. It seems this error relates to database issues. I have been running EE 1.6.7 for ages. When I began the update to 2.1 process, one of my 3rd party plugins required me to have at least 1.6.8 before I could update it. So I made this change, updated the plugin (and a second plugin) and then went ahead with the 2.1 move.

    I can roll back to 1.6.8 or I still have 1.6.7 live on my current server. Let me know what direction you think would be best to take.

  • #4 / Mar 24, 2011 9:54am

    Sue Crocker

    26054 posts

    Hi, Gusto.

    Let’s have you run the EE2.x Server Wizard just to make sure your settings support EE2.x.

    Also, go ahead and roll back to 1.6.8, then upgrade to 1.7.0.

    See:
    http://eebeginners.com/index.php/begin/articles/howto-download-1.x-version-of-ee

    Backup your database again after making sure 1.7.0 is working as expected.

    Are you doing this on a live site, or on a development server?

  • #5 / Mar 24, 2011 10:04am

    Gusto

    31 posts

    I didn’t see that link down there Sue… thanks!

    My overall plan is to move our site to a new server. At this point, I have decided to simply move our current working 1.6.7 site to the server so I can get it up there ASAP. Next, I’m going to duplicate that system on a box here in my office and try the EE 2.1 upgrade again. I likely won’t get to the nitty gritty of this until next week, so put this support request on hold. I think I’ll likely be back with the same issue, but I’m going to increment from 1.6.7 -> 1.6.8 -> 1.7 -> 2.1.3 and see how it goes. I’m also going to run some db fixes while I’m in the 1.x environment and make sure I don’t have any anomalies there.

    Rod.

  • #6 / Mar 24, 2011 5:08pm

    Sue Crocker

    26054 posts

    Sounds good to me.. when you’re ready to work on this again, just reply and it will put this thread back into the queue. Otherwise, don’t reply and it will sit dormant until you’re ready to continue.

  • #7 / Jun 21, 2011 7:27pm

    Gusto

    31 posts

    Hi again… I’m finally getting to this project and would like to reactivate this thread. At this point I had a working EE installation on my dev server. I ran the update for 1.7. All seems to be fine except I can no longer get to the modules page on my EE Control Panel. When I click the tab I get the following error: “Unable to lead the following language file: lang.forum_cp.php.

    I assume this is a language file for the forum module. However I have never purchased or used the forum option in EE. Any idea why the upgrade from 1.6.7 to 1.7 would trigger this? I don’t want to go any further on the path to 2.1 until I get this resolved.

    I did check my language/english directory and this file is not in the directory. I also checked my current live 1.6.7 installation and the file is not there either.

    Thanks!

  • #8 / Jun 21, 2011 11:16pm

    Sue Crocker

    26054 posts

    Let’s have you look in your config.php file - is there something in there about the forum being installed?

    $conf['forum_installed'] = "y";

    If there is, change y to n.

  • #9 / Jun 22, 2011 1:08am

    Gusto

    31 posts

    No Sue… that config statement isn’t in there at all.

  • #10 / Jun 23, 2011 3:05am

    John Henry Donovan

    12339 posts

    Hi Gusto,

    Can you tell us what add-ons you have currently installed?

    Just out of curiosity if you add this to your config.php file is there a change?

    $conf['forum_installed'] = "n";
  • #11 / Jun 23, 2011 11:10am

    Gusto

    31 posts

    Hi John,

    Sadly the adding the forum config did not do the trick. Here’s what’s installed:

    Plugins:
    Word Limited (1.0)
    Randomizer (1.0)
    FLV Media Player Plugin (4.5.0)
    Character Limiter (1.0)
    Splitter (1.2.1)
    AWS Products (2.0.0)
    XML Encode (1.2)
    Image Sizer (2.5.6)
    Cookie Plus (1.2)
    Find and Replace (1.3)
    LG Better Meta (1.8.0)

    Extensions:
    FieldFrame (1.3.4)
    Tag Submit (2.6.6)
    LG Better Meta (1.8.0)
    Category Checkboxes (1.1.5)
    User (2.0.7)
    jQuerey for the Control Panel (1.1.2)

    Modules (I can’t see the page on our DEV server, but it should mirror our live server however some modules may be newer revisions as I have attempted the 1.7 update on the DEV server):
    Comment (1.2)
    Email (1.1)
    Emoticon (1.0)
    IP to Nation (1.2)
    Mailing List (2.0)
    Member (1.3)
    Pages (1.0.1)
    Query (1.0)
    Referrer (1.3)
    RSS (1.0)
    Search (1.2)
    Statistics (1.0)
    Tag (2.6.6)
    Trackback (1.1)
    User (2.0.7)
    Section (1.2)

  • #12 / Jun 24, 2011 11:56am

    Kevin Smith

    4784 posts

    Hey Gusto,

    First, make sure you’ve got a solid backup of your files and database.

    Can you try globally disabling extensions and then see if your modules page still gives you the language error? That’s the first, quick step in troubleshooting this. If that doesn’t work, keep extensions globally disabled and then slowly uninstall each module until that error goes away. That should help you narrow down which add-on is erroneously calling the forum language file.

    Remember, before you do anything, make sure you have a solid backup! Uninstalling modules will remove data from your EE installation, so you absolutely will need to restore your database.

  • #13 / Jun 24, 2011 12:53pm

    Gusto

    31 posts

    Hi Kevin,

    I already tried globally disabling extensions, but no luck. This is a development server and I have complete backups as it mirrors my live server. So we can do whatever is required. However as I cannot get to the Modules page on the control panel, what is the best was to uninstall each module? Just remove them from the modules directory? (Hope this isn’t a stupid question!  😉 )

  • #14 / Jun 27, 2011 5:34pm

    Kevin Smith

    4784 posts

    Hmm… the only way I can get this error to come up is by adding a folder named ‘forum’ to my ./system/modules folder in EE 1. When that folder is there, the system will look for its corresponding language file.

    Even though you’ve never installed the forum module, do you happen to have a ./system/modules/forum folder?

  • #15 / Jun 28, 2011 11:18am

    Gusto

    31 posts

    Ok Kevin… you have figured something out… but I still have a bit of a mystery.

    First you are right. Somehow a “forum” folder did get placed in my modules directory. I assume the upgrade script from 1.6.7 to 1.7 did this. I removed the folder and then got a “mailing_list” language file error. So I checked that out and discovered a new mystery directory in modules called “mailing_list”. I also still had my other directory called “mailinglist”. So I deleted “mailing_list” and then when on to the next error—another language error for “statistics”. Again a new directory has appeared called “statistics”. I still have my old “stats” directory as well. I deleted “statistics” and now, at long last, I can get to the modules page.

    I have checked and my mailing list functions still seem fine. I really don’t use statistics, but all seems well there also. Any idea where these directories came from? Am I okay to delete them? I just don’t want to have any issues as I move forward to 2.1.

    Thanks for your help!

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

ExpressionEngine News!

#eecms, #events, #releases