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.

1

Removing this line in my config file:

$config['site_name'] = "";

Fixed this issue.

| improve this answer | |
  • 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. – Jérôme Coupé Jan 10 '13 at 21:51
  • Just found out recently that, apparently, site_url (main site) has to be in config.php for site duplication to work. – Jérôme Coupé Jan 10 '13 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.

| improve this answer | |
  • This didn't work - it still gives me the "No Preferences Found" error... – Jason Mayo Jan 10 '13 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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