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 index page blank

December 17, 2010 12:58am

Subscribe [4]
  • #1 / Dec 17, 2010 12:58am

    Nicolas E

    44 posts

    Hello guys!

    We’ve installed MSM in a previous EE installation that was working perfectly, we’ve manage to install MSM and get the initial “main site” to run with no problem, however when we follow these instructions the new “secondary” site doesn’t come up.
    The initial site is http://www.banaduana.com/index.php
    And the second site is http://www.turbaduana.com/index.php
    The home directories are located as follows:
    For Banaduana: /home/turbaduana/www/banaduana.com/
    For Turbaduana: /home/turbaduana/www/turbaduana.com/

    The main system directory is installed within:
    /home/turbaduana/www/banaduana.com/system

    This is the code we have in the index.php for turbaduana.com/index.php:

    /*
     * --------------------------------------------------------------------
     *  SYSTEM PATH
     * --------------------------------------------------------------------
     *
     * The following variable contains the server path to your
     * ExpressionEngine "system" folder.  By default the folder is named
     * "system" but it can be renamed for increased security.  If you
     * have changed the name of the system folder please indicate the
     * new name here, and include the server path.  The path can be a
     * simple relative path or it can be a full server path.
     * 
     */
        $system_path = '/home/turbaduana/www/banaduana.com/system';
    
    /*
     * --------------------------------------------------------------------
     *  ERROR REPORTING OVERRIDE
     * --------------------------------------------------------------------
     *
     * PHP and database errors are normally displayed dynamically based
     * on the authorization level of each user accessing your site.  
     * This variable allows the error reporting system to be overridden, 
     * which can be useful for low level debugging during site development, 
     * since errors happening before a user is authenticated will not normally 
     * be shown.  Options:
     *
     *    $debug = 0;  Default setting. Errors shown based on authorization level
     *
     *    $debug = 1;  All errors shown regardless of authorization
     *
     * NOTE: Enabling this override can have security implications.
     * Enable it only if you have a good reason to.
     * 
     */
        $debug = 0;
    
    /*
     * --------------------------------------------------------------------
     *  CUSTOM CONFIG VALUES
     * --------------------------------------------------------------------
     *
     * The $assign_to_config array below will be passed dynamically to the
     * config class. This allows you to set custom config items or override
     * any default config values found in the config.php file.  This can
     * be handy as it permits you to share one application between more then
     * one front controller file, with each file containing different 
     * config values.
     *
     * Un-comment the $assign_to_config array below to use this feature
     *
     * NOTE: This feature can be used to run multiple EE "sites" using
     * the old style method.  Instead of individual variables you'll
     * set array indexes corresponding to them.
     *
     */
    //    $assign_to_config['template_group'] = '';
    //    $assign_to_config['template'] = '';
    //    $assign_to_config['site_index'] = '';
    //    $assign_to_config['site_404'] = '';
    //    $assign_to_config['global_vars'] = array(); // This array must be associative
    
    /**
     * If you are running the Multiple Site Manager, uncomment and assign the following variables 
     * See <a href="http://ellislab.com/expressionengine/user-guide/cp/sites/domainsetup.html">http://ellislab.com/expressionengine/user-guide/cp/sites/domainsetup.html</a>
     */
        $assign_to_config['site_name'] = 'turbaduana';
        $assign_to_config['cp_url'] = 'http://www.turbaduana.com/system/';
        $assign_to_config['site_url'] = 'http://www.turbaduana.com';

    However when we try to load http://www.turbaduana.com/index.php the site loads a completely blank page.
    We do NOT have activated openbase_dir.

    Thanks a lot for your prompt help!

    Best,

    Nicolas E.

  • #2 / Dec 17, 2010 2:50pm

    Sue Crocker

    26054 posts

    Hi, Nicolas. You didn’t mention which version/build of ExpressionEngine 2.x you’re using. You can see that at the bottom of any control panel page (in the footer).

    See this value?

    $assign_to_config[‘cp_url’] = ‘http://www.turbaduana.com/system/’;

    Do you actually have a system folder in that directory?

    Did you create or import any content on the site? What is the default template for that MSM site?

  • #3 / Dec 17, 2010 3:36pm

    Nicolas E

    44 posts

    Hi Sue!
    Version 2.1.1

    Do you actually have a system folder in that directory?
    Nope, in this folder http://www.turbaduana.com/system/ I don’t have anything.

    Did you create or import any content on the site?
    I imported the templates from the initial site as the templates are the same but the CSSs are different.

    What is the default template for that MSM site?
    A template called index in the “Inicio” group.

    Waiting for your feedback,

    Best,

    Nicolas E.

  • #4 / Dec 17, 2010 6:22pm

    Nicolas E

    44 posts

    Sue,

    Any news?

    Nicolas E.

  • #5 / Dec 19, 2010 1:24pm

    Greg Salt

    3988 posts

    Hi Nicolas E,

    So, just so I am clear, you have a template group in turbaduana.com that has the index template set as the main site file?

    Please switch on debugging by editing your index file above like this:

    /*
     * --------------------------------------------------------------------
     *  ERROR REPORTING OVERRIDE
     * --------------------------------------------------------------------
     *
     * PHP and database errors are normally displayed dynamically based
     * on the authorization level of each user accessing your site.  
     * This variable allows the error reporting system to be overridden, 
     * which can be useful for low level debugging during site development, 
     * since errors happening before a user is authenticated will not normally 
     * be shown.  Options:
     *
     *    $debug = 0;  Default setting. Errors shown based on authorization level
     *
     *    $debug = 1;  All errors shown regardless of authorization
     *
     * NOTE: Enabling this override can have security implications.
     * Enable it only if you have a good reason to.
     * 
     */
        $debug = 1;

    As Sue mentioned, the config item for the cp_url is incorrect and should be removed until you set up masked admin access for this site.

    Cheers

    Greg

  • #6 / Dec 21, 2010 1:20pm

    Nicolas E

    44 posts

    Greg,

    The import and creation of the new site in MSM is VERY BUGGY, it turns out that it doesn’t create the templates with the content as you instruct it in the wizard.
    We had to do it manually and it now works.

    Thank you,

    Nicolas E.

  • #7 / Dec 22, 2010 5:17am

    John Henry Donovan

    12339 posts

    Nicolas ,

    Just to confirm. You have no further issues?

  • #8 / Dec 22, 2010 6:38pm

    Nicolas E

    44 posts

    John,

    This case is resolved, however URLs are not being generated correctly, John my colleague will post a new thread.

    Nicolas E.

  • #9 / Dec 27, 2010 9:26am

    Sue Crocker

    26054 posts

    In that case, we’ll continue in that thread. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases