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.

suPHP & Multi Site Manager

September 18, 2012 4:19am

Subscribe [4]
  • #1 / Sep 18, 2012 4:19am

    Adrian Walls

    59 posts

    Last night I migrated two EE sites running MSM to a new server.  However when I tried to run the second site under the MSM set-up I got the following error message:

    Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

    Turns out this is because the new server is configured to run PHP as suPHP.  These two sites were installed under two seperate user accounts (set-up by someone else in the past) on the server.  This wasn’t a problem on the old server as the scripts were being executed under nobody and so could be run between different user accounts but now with the server running suPHP this is not possible. 

    Has anyone else come across this issue or have any ideas how to solve this?

  • #2 / Sep 18, 2012 5:46am

    Joobs

    362 posts

    Make sure your index.php file has the correct path inside of it for the system folder.  If you’ve changed servers then this might have changed.

    Ask your hosting company to change the permissions of all the existing files.  I’ve needed to do this before.

    For a quick fix you could try making a new index.php file with just copy of the contents of the old file into that?  But there might also be other files (EE or otherwise) that were setup by the other user and you would need your host to fix that.

  • #3 / Sep 18, 2012 7:24am

    Adrian Walls

    59 posts

    Thanks, but what should they set the permissions of these files to be? I assume you are referring to the core install of the first (primary) site?

  • #4 / Sep 18, 2012 9:52am

    Joobs

    362 posts

    The owner/group of files would need to be changed so that all the files were being run by the same owner/group.

    Are you definitely sure it’s a suPHP issue?

  • #5 / Sep 18, 2012 9:58am

    Adrian Walls

    59 posts

    Sounds messy as the one group of files would be run by two different accounts. 

    I’m not sure it’s a suPHP issue but after speaking to my hosting provider it sounds like the most logical explanation considering that the sites were working perfectly on the other server they were moved from which wasn’t running PHP this way. 

    I think it’s going to be a case of modifying things so that these two sites run under the one webspace and thus owner.

  • #6 / Sep 19, 2012 4:27pm

    Shane Eckert

    7174 posts

    Hey Wallzy,

    Where are things at now? Are you still working with your hosting provider to figure out if this is suPHP?

    Please let me know.

    Cheers,

  • #7 / Sep 20, 2012 5:07am

    Adrian Walls

    59 posts

    Hi Shane,

    No I didn’t get this sorted yet.  I had to undo the move and put the two sites back to the original server for the time being to ensure they were still working.  Although we’ll need to sort this issue as the original server is due to be decommissioned in a few weeks time.

    The two servers are with the same hosting provider and they have told me that the new server only runs PHP as suPHP.  They have said that the only way to make this work to to install the two sites under the one account (webspace) because at present the two websites are installed under two different user accounts.  I just wanted to check if this was correct or if anyone had any previous experience of this type of set-up?

  • #8 / Sep 20, 2012 5:35am

    jamesaa7

    37 posts

    I had issues getting child sites to connect to the main instal when seting up on our new server, and it was due to openbase_dir restrictions between different accounts on the same server.

    see if this helps

    http://pixelsandems.com/archive/expressionengine-multiple-site-manager-plesk

    While you may not be using plesk, it may be that the issue is the same as the symptoms are the same…

  • #9 / Sep 21, 2012 4:29pm

    Shane Eckert

    7174 posts

    Hey Adrian,

    Can you check into what James has mentioned?

    I can move this over to the Community Help Forum if you would like to see if the community has dealt with this before.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases