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.

MSM 2.1.3 & EE 2.5.1 Undefined Index Error

June 02, 2012 7:32am

Subscribe [3]
  • #1 / Jun 02, 2012 7:32am

    dalebaxter

    8 posts

    Hi,
    I’ve just updated EE from 2.4.1 to 2.5.1 and at the same time updated MSM to 2.1.3.

    I have 10 Sites and can switch between all of them, with the exception of two, where upon switching I get the following error messages:

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined index: 6

    Filename: core/EE_Config.php

    Line Number: 427

    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/waringst/public_html/CPURL/codeigniter/system/core/Exceptions.php:170)

    Filename: libraries/Functions.php

    Line Number: 806

    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/waringst/public_html/CPURL/codeigniter/system/core/Exceptions.php:170)

    Filename: libraries/Functions.php

    Line Number: 402

    Line 427 of /core/EE_Config.php is

    $site_pages[$site['site_id']] = $data[$site['site_id']];

    And as I say, I’m running MSM 2.1.3 and EE 2.5.1.

    Does anybody have any ideas? All help would be much appreciated.

     

  • #2 / Jun 04, 2012 2:21pm

    Shane Eckert

    7174 posts

    Hey dalebaxter,

    I am sorry to hear you are running into this problem.

    On the two servers that you are getting an error from, did you run the Server Wizard? I am wondering if things are all set there for the latest version of ExpressionEngine.

    Please let me know!

    Cheers,

  • #3 / Jun 07, 2012 2:45am

    Blis Web Agency

    67 posts

    I was having this issue too. It seems as though the new version of EE expects at least one page to be created either by their Pages module or Structure (I’m sure Taxonomy or Navee would also do the trick but I haven’t tested these other 2). Hopefully EllisLab write something which adds a conditional exception for sites without pages (e.g. purely template based).

  • #4 / Jun 07, 2012 12:00pm

    dalebaxter

    8 posts

    After a couple of hours playing, as a last resort before a full roll back, I rolled back the /core/EE_Config.php file to the one from before the backup and everything seems to be OK again. A full fix would be nice though.

  • #5 / Jun 07, 2012 7:27pm

    Blis Web Agency

    67 posts

    Looks like 2.5.2 fixes this. At least, it did in my case.

  • #6 / Jun 08, 2012 12:20am

    Shane Eckert

    7174 posts

    Hey dalebaxter,

    I am glad this is resolved for you and it sounds like 2.5.2 resolved it for Blis.

    If you need anything else please let me know in a new thread.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases