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.

Upgraded to 2.5.2 still can't get multisite to work

July 04, 2012 10:36am

Subscribe [2]
  • #1 / Jul 04, 2012 10:36am

    johnmck

    31 posts

    I upgraded to 2.5.2, had a few difficulties with plugins, upgraded all of those also.
    I can’t get multisite to work. All that appears on the other domain is the word “Array”

    Also getting errors in Editing Member groups. Do I have to assign members to both sites to allow them to login to the backend for both? - when I switched to the 2nd domain I got kicked out of the backend.

    A PHP Error was encountered
    Severity: Notice
    Message: Undefined index: 2
    Filename: cp/members.php
    Line Number: 1093
    A PHP Error was encountered
    Severity: Notice
    Message: Undefined index: 2
    Filename: cp/members.php
    Line Number: 1093
    A PHP Error was encountered
    Severity: Warning
    Message: Cannot modify header information - headers already sent by (output started at /home/..../......./Exceptions.php:170)
    Filename: core/Common.php
    Line Number: 408

  • #2 / Jul 05, 2012 11:17am

    Shane Eckert

    7174 posts

    Hello johnmck,

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

    Can you tell me what version of MSM you are using? Do you have 2.5.2 installed for all the sites?

    Also, can you confirm that your config file are set up correctly? Compare them with this working example.

    //CONFIG//
    $config['cp_url'] = "http://engine.dev/admin.php";
    $config['doc_url'] = "http://ellislab.com/expressionengine/user-guide/";
    $config['is_system_on'] = "y";
    $config['allow_extensions'] = "y";
    $config['site_label'] = "Test 23";
    $config['cookie_prefix'] = "";
    $config['multiple_sites_enabled'] = "y";
    
    index.php and admin.php site 1
    NO CHANGES
    
    index.php and admin.php site 2
    $system_path = '../system';
    /*---------------------------*/
    $assign_to_config['site_name']  = 'msm_test';
    $assign_to_config['cp_url'] = 'http://msm.dev/admin.php';
    $assign_to_config['site_url'] = 'http://msm.dev';
    
    --- admin ---
    $system_path = '../system';
    /*---------------------------*/
    $assign_to_config['site_name']  = 'msm_test';
    $assign_to_config['cp_url'] = 'http://msm.dev/admin.php';

    Please let me know.

    Cheers,

  • #3 / Jul 11, 2012 8:05am

    johnmck

    31 posts

    Hi,
    I’ve MSM 2.1.3 installed. I’ve EE2.5.2 installed on the main site. The secondary site is a subfolder of the main site. It has the index.php and admin.php in it, not a full EE installation.

    When I disable MSM on the main site, the secondary site appears. But when I enable MSM, all is see on it is “array”

    I don’t understand the changes I have to make to the main config file!

    index.php and admin.php site 1
    NO CHANGES
    
    index.php and admin.php site 2
    $system_path = '../system';
    /*---------------------------*/
    $assign_to_config['site_name']  = 'msm_test';
    $assign_to_config['cp_url'] = 'http://msm.dev/admin.php';
    $assign_to_config['site_url'] = 'http://msm.dev';
    
    --- admin ---
    $system_path = '../system';
    /*---------------------------*/
    $assign_to_config['site_name']  = 'msm_test';
    $assign_to_config['cp_url'] = 'http://msm.dev/admin.php';
  • #4 / Jul 12, 2012 11:15am

    Shane Eckert

    7174 posts

    Hello johnmck,

    Did you get a chance to run the Server Wizard? Did that return all good?

    The sample file I showed you is a pattern to follow. Just making sure that the config items are correct and pointing to the right locations.

    Those other sites, did the index.php and admin.php files come from the 2.5.2 install?

    Please let me know and we can go from there.

    Cheers,

  • #5 / Jul 16, 2012 6:33am

    johnmck

    31 posts

    Hi Shane,
    I just ran the server wizard and everything came back with a Yes. good question about the index.php and admin.php files, I may have copied them from the 2.1 version, I can’t remember.
    I think at this point it might be quicker and simpler to let you have a look around. PM me please.

  • #6 / Jul 17, 2012 1:13pm

    Shane Eckert

    7174 posts

    Hey John,

    I think you may be right.

    Please be on the lookout for an email from EllisLab.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases