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.

Losing slash in MSM secondary site CSS urls - production

June 16, 2012 12:31pm

Subscribe [2]
  • #1 / Jun 16, 2012 12:31pm

    DeeCee

    118 posts

    Please refer to this thread: http://ellislab.com/forums/viewthread/219220/
    The situation on the production side is exactly the same - only the directories have changed from cwc_test and ana_test to cwc and ana.

    As I noted at the end, I thought the problem “healed” itself when I accepted the changes to the index.php file on the control panel when I was testing EE2.5.2 upgrade. I updated the production system this morning, and I have the same problem.  I thought if I forced the control panel to recognize that the index.php file had been changed again, I would get the message, click Accept and everything would be alright.  But, not…

    What else could it have been?  I am really nervous about hoping for divine intervention on the production side!  Suggestion on what I can do?

  • #2 / Jun 18, 2012 11:19am

    Shane Eckert

    7174 posts

    Hello deecee,

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

    This is really strange.

    Can you make sure that you have the configuration files set up similar to this example setup? I just want to rule out the basics first. Sometimes it’s something small and overlooked.

    //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 if this points out anything.

    Cheers,

  • #3 / Jun 18, 2012 11:39am

    DeeCee

    118 posts

    I had $config[‘allow_extensions’] = “n”;
    I have changed it and updated it.


    I did not have
    $config[‘site_label’] = “Test 23”; (but in the control panel when I edit the site, it has the correct value)

    I have added allow extensions.  The index and admin files look to be correct.

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

    DeeCee

    118 posts

    I looks like the site is ok now.  Thank you!

    Question: the Updating from Previous Version instructions say to restore the config file from backup.  Is this file not changed/added to from version to version?  As an extra precaution, should it be reviewed with what is in the version download?  I am pretty sure that I have not changed allow_extensions.  Should I add it to config even if it is ok in the cp?

  • #5 / Jun 18, 2012 4:46pm

    Shane Eckert

    7174 posts

    Hey deecee,

    Awesome!

    As long as you are updating within the same major version, those files will not change. But if you were to upgrade from 1.X to 2.X then those files would be different. So no worries. As long as you follow the directions you will be good to go!

    I would add it to the config file. Anything in the config file will override whatever is in the Control Panel.

    Does that makes sense?

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases