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.