4

I'm running on my own "multi environment config" bootstrap file (https://github.com/madebymayo/ExpressionEngine-Environment-Config), but i've never used it with a site running on MSM (Multi Site Manager)

At first I ran in to the problem with the whole site not showing up, and giving me a 500 error. But I realised I hadn't added this:

$config['multiple_sites_enabled'] = "y";

So after adding this in, the site started to show this:

Site Error: Unable to Load Site Preferences; No Preferences Found

I've double checked my admin.php and index.php files are in each of my MSM folders.

Am I missing some sort of config hook to make my own config file work with a MSM site?

Any help would be great.

2 Answers 2

1

Removing this line in my config file:

$config['site_name'] = "";

Fixed this issue.

2
  • Happened to me as well. general rule of thumb is that site_name and site_url go in the index.php of the various sites and must be removed from config.php. Commented Jan 10, 2013 at 21:51
  • Just found out recently that, apparently, site_url (main site) has to be in config.php for site duplication to work. Commented Jan 10, 2013 at 21:59
0

Check to see if switching URI PROTOCOL in the config.php from 'AUTO' to

$config['uri_protocol'] = "PATH_INFO";

works for you. It's worked for me before.

1
  • This didn't work - it still gives me the "No Preferences Found" error...
    – Jason Mayo
    Commented Jan 10, 2013 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.