Running Two Instances of Elgg on Same Server Issues?

Hi All,

After killing my first ever elgg based site a few weeks ago and having to go through it all again to get one back up and running, plus not knowing that many of you run a test server etc which does make sense.

I have decided to try and get a secondary version installed for the following use;

I have my live elgg site up and working on www.ecomarketingstrategies.com/ecoshareit

Now I am trying to install from my Web Host a previously simple experience of a one click install of elgg that I will use as my test version.

Then once any changes I make to elgg files, lang files or plugins etc and that I am happy with them, I will copy the relevant files over to my live site and voila.

However when I go to install this 2nd instance on my server, I notice it's placing the elggdata folder in the root (As it should), but I already have an elggdata folder in there that is for my live site version.

So it's renaming automatically as part of the one click install this secondary elggdata folder to "elggdatahttp:"

Then when I go to: http://ecomarketingstrategies.com/testserver/install.php

This is returning me a;

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@ecomarketingstrategies.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

I am pretty sure it's due to the elggdata folder should be in the root, but the question is how can I get two elggdata folders in the root, to run nicely next to each other that will allow me two instances of elgg on my webhosts server?

Any guidance in this matter would be much appreciated.

P.S. I did try with Dhrup's help last night to install and get easyphp installed on my laptop, enabling me the use of a localserver for testing but it couldn't be done unfortunately and hence why I decided to go with installing a 2nd elgg instance on my hosts server and plonking it in a "testserver" directory and attempting to do all my testing, alteration of files etc from there, before finally uploading completed and happy with files to my actual live elgg site's files. :)

  • The install process should not need to refer to the data directory, so I doubt that this is the problem.

    If you could get access to your PHP error log, you could probably determine the real issue. Unfortunately the error message you quote is quite common for shared servers and is useless.