We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

MSM Problems

How Do I?

The Design Core's avatar
The Design Core
348 posts
5 years ago
The Design Core's avatar The Design Core

I just updated an EE v2.x single site to EE v5.24. The update went fine and the primary site is working as it should. I then enabled MSM and setup a second site.

Note: Both sites are setup under subdomains.

The second site’s index page is blank no matter what I do. I have verified the correct info in the 2nd site’s admin.php & index.php. Also, when I try to access the CP using the 2nd site’s URL, I get the following error:

Parse error: syntax error, unexpected ‘[’ in /nfs/c11/h03/mnt/196778/domains/sanborns.thedesigncore.com/html/engine/ee/EllisLab/ExpressionEngine/Boot/boot.php on line 70

I also noticed that when I try to change the Default Base URL for the 2nd site in the URL & Path Settings to the 2nd site’s subdomain, it keeps switching it back to the 1st site’s subdomain.

Any help is appreciated.

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
5 years ago
Robin Sowell's avatar Robin Sowell

Did you make sure to put a new index.php file in the second site? I frequently forget to do that, and upgrading from v2 it matters.

       
The Design Core's avatar
The Design Core
348 posts
5 years ago
The Design Core's avatar The Design Core

Yes. The second site has the index.php & admin.php with all of the correct MSM specific lines uncommented and filled in with the correct URLs and paths.

       
The Design Core's avatar
The Design Core
348 posts
5 years ago
The Design Core's avatar The Design Core

I figured out why the default base URL was not updating. It was being set in config.php unknown to me. It must have been written in there during the update. But I’m still getting a blank screen on the second site.

Also just noticed that on every page in the CP, the green successful Preferences Updated notice is showing by default.

I feel like the update must have gone wrong in places and may be causing my issues. Not sure what to do at this point.

       
The Design Core's avatar
The Design Core
348 posts
5 years ago
The Design Core's avatar The Design Core

Figured it out. On my server when a new domain is setup, it defaults to an older version of PHP. So the first domain was running PHP7, but the second was running PHP5.

Switching the second domain to PHP7 fixed everything.

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
5 years ago
Robin Sowell's avatar Robin Sowell

> but the second was running PHP5.

I will admit, that never would have occurred to me! Thanks for the update on what was going on.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.