Hi,
I need help installing SilverStripe 3 on my host. I have a lot of Silverstripe 2 installations running on the servers at that host, and i would like to continue using them.
The host has safe_mode = on and it has not been a problem before.
When i try to install 3.1 beta3 i get the following error (short version actually is 4 similar errors):
Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 593 is not allowed to access /var/www owned by uid 505 in /var/www/example.com/public_html/framework/core/Core.php on line 64
I then just go and outcomment framework/core/Core.php line 54 - 64 (they handle Include _ss_environment.php files) after that i get directed to install.php.
Install.php has the following error:
Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 593 is not allowed to access /var/www owned by uid 505 in /var/www/example.com/public_html/framework/dev/install/install.php5 on line 51
It's again the function for including environment files - i leave it there and silverstripe installs.
Visiting the site now gives the error:
[Warning] is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/lib/php/Zend/Translate/Adapter/I18nRailsYamlAdapter.php) is not within the allowed path(s): (/var/www/example.com/:/var/www/tmp/)
I'm stuck
The funny part is that i actually tried the install 2 times, first time i somehow managed to get the system running. Then i decided to try again to be able to document the problems, and now i'm not able to get it running.
I hope that someone will help me and others in the same situation - it's really frustrating not to be able to install my system og choice on my host.
UPDATE: After another install where i just manually opened /install.php, i have the site running, except for a 4 warnings:
Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 593 is not allowed to access /var/www owned by uid 505 in /var/www/example.com/public_html/framework/core/Core.php on line 64
The problem seems just to be with including the "_ss_environment.php" file - a file i dont even think i'm using.
However, if i outcomment the lines that do the search for _ss_environment.php, i get the error:
[Warning] is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/local/lib/php/Zend/Translate/Adapter/I18nRailsYamlAdapter.php) is not within the allowed path(s): (/var/www/example.com/:/var/www/tmp/)