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 error 2.1.1 - 2.1.3 "Unable to find the active group.');"

May 22, 2011 5:03am

Subscribe [5]
  • #1 / May 22, 2011 5:03am

    Lee Sheppard

    13 posts

    Trying to upgrade from 2.1.1 to 2.1.3 (download 5.18.11) and have an error when trying to load the system to continue upgrade process.

    The error starts with - Unable to find the active group.’);

    and ends with - Fatal error: Class ‘EE_Config’ not found in /home/—-/public_html/system/installer/core/Installer_Config.php on line 35

    Have checked file permissions, tried uploading again. Checked config file and database file and both are the same as previous operating installation.

  • #2 / May 22, 2011 3:13pm

    Greg Salt

    3988 posts

    Hi Lee,

    Can you confirm that you have copied your saved database.php file back up to your new files on the server before running the installer? This error probably means that the file at system/expressionengine/config/database.php is empty.

    Cheers

    Greg

  • #3 / May 22, 2011 8:33pm

    Lee Sheppard

    13 posts

    Hi Greg, yes I can confirm that the correct database.php file is uploaded to the site. I haven’t actually run the installer as yet as this error appears beforehand.

  • #4 / May 23, 2011 5:31am

    John Henry Donovan

    12339 posts

    Lee, also make sure the correct permissions are set on both those files (666)

    Are you using any add-ons?

    Can I also confirm that it is the version upgrade docs you are following as opposes to the build docs?

  • #5 / May 23, 2011 7:48am

    Lee Sheppard

    13 posts

    Hi John,

    Following the version upgrade instructions - http://ellislab.com/expressionengine/user-guide/installation/update.html

    Correct permissions on files and folders.

    Addons - Forum, Wiki, JQuery for CP. Uploaded the new Forum version as well.

  • #6 / May 23, 2011 8:00am

    Sue Crocker

    26054 posts

    Hi, Lee. Let’s double check that you have a default template group chosen.

    Can you try the following query:

    SELECT * FROM `exp_template_groups` where is_site_default='y'

    Is it returning a result? Are you using MSM on this site?

  • #7 / May 23, 2011 8:32am

    Lee Sheppard

    13 posts

    Sue, yes it returns the correct details for my main template group. I’m not using MSM.

  • #8 / May 24, 2011 3:58pm

    Brandon Jones

    5500 posts

    Hi Lee,

    That error definitely indicates an issue with your database.php - can you post it here, removing the sensitive information?

  • #9 / May 24, 2011 7:52pm

    Lee Sheppard

    13 posts

    Here it is:

    <?php if ( ! defined(‘BASEPATH’)) exit(‘No direct script access allowed’);

    $active_group = ‘expressionengine’;
    $active_record = TRUE;

    $db[‘expressionengine’][‘hostname’] = “localhost”;
    $db[‘expressionengine’][‘username’] = “********”;
    $db[‘expressionengine’][‘password’] = “********”;
    $db[‘expressionengine’][‘database’] = “********”;
    $db[‘expressionengine’][‘dbdriver’] = “mysql”;
    $db[‘expressionengine’][‘dbprefix’] = “exp_”;
    $db[‘expressionengine’][‘pconnect’] = FALSE;
    $db[‘expressionengine’][‘swap_pre’] = “exp_”;
    $db[‘expressionengine’][‘db_debug’] = TRUE;
    $db[‘expressionengine’][‘cache_on’] = FALSE;
    $db[‘expressionengine’][‘autoinit’] = FALSE;
    $db[‘expressionengine’][‘char_set’] = “utf8”;
    $db[‘expressionengine’][‘dbcollat’] = “utf8_general_ci”;
    $db[‘expressionengine’][‘cachedir’] = “/home/********/public_html/system/expressionengine/cache/db_cache/”;

    /* End of file database.php */
    /* Location: ./system/expressionengine/config/database.php */

  • #10 / May 25, 2011 6:04pm

    Sue Crocker

    26054 posts

    Hi, Lee.

    Let’s also make sure you have the right files uploaded.

    See the attached screen shot - do you have this particular file?

    Also attaching a screen shot of all the places that text is in..

  • #11 / Jul 21, 2011 2:47am

    Lee Sheppard

    13 posts

    Sorry for the late reply, new baby has priority these days 😊

    It appeared that one file in the Core folder was not uploading completely, showing a completed upload in the log menu but was about 20kb shorter than it should have been. I always seem to have this trouble with uploading the new updates, wondering if it is just Transmit that does this or not.

    Problem solved, thanks for the help.

  • #12 / Jul 21, 2011 11:24am

    Sue Crocker

    26054 posts

    Hi, Lee. Glad you were able to get things working again. I understand about babies having priority. 😊 If anything else comes up, please do let us know in a new thread..

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

ExpressionEngine News!

#eecms, #events, #releases