Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Errors on installation on live site....SOLVED


Go to End


4 Posts   1517 Views

Avatar
oldwrinkly

Community Member, 34 Posts

15 May 2013 at 11:23pm

Edited: 15/05/2013 11:24pm

Hi
uploaded SS v3.1beta3, questions answered ok, push the `install` button and get these errors on a blank screen.........

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/var/www/vhosts/meadowsweetimages.co.uk) is not within the allowed path(s): (/var/www/vhosts/meadowsweetimages.co.uk/httpdocs:/nonexec:/usr/share/pear:/tmp) in /var/www/vhosts/meadowsweetimages.co.uk/httpdocs/framework/core/Core.php on line 64

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/var/www/vhosts/meadowsweetimages.co.uk) is not within the allowed path(s): (/var/www/vhosts/meadowsweetimages.co.uk/httpdocs:/nonexec:/usr/share/pear:/tmp) in /var/www/vhosts/meadowsweetimages.co.uk/httpdocs/framework/core/Core.php on line 55

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/meadowsweetimages.co.uk/httpdocs:/nonexec:/usr/share/pear:/tmp) in /var/www/vhosts/meadowsweetimages.co.uk/httpdocs/framework/core/Core.php on line 64

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/meadowsweetimages.co.uk/httpdocs:/nonexec:/usr/share/pear:/tmp) in /var/www/vhosts/meadowsweetimages.co.uk/httpdocs/framework/core/Core.php on line 64

I have tried re-installing with the same results
anyone got any ideas please?

Regards
Mike

Avatar
oldwrinkly

Community Member, 34 Posts

16 May 2013 at 6:05am

As an update...

I uninstalled everything and re-uploaded SS v3.1 beta3 and this time it installed ,
but I still have these errors at the top of the page and in the admin page.
The admin page shows the first, second and the site tree columns, but I cannot open anything , it just sits there.

Can anyone help please

Regards
Mike

Avatar
oldwrinkly

Community Member, 34 Posts

16 May 2013 at 11:20pm

Update

my host(34sp) chief engineer has looked at the errors, also this forum and has cured the problem.

His reply is as follows.....

the errors seem to be a check for the root directory in the framework files.
As per suggestions from another user on the Silverstripe forum, I have surpassed the warnings using @ for the directory checks.

Is this a bug in v3.1 ?

Regards
Mike

Avatar
Bambii7

Community Member, 254 Posts

17 May 2013 at 12:22am

Edited: 17/05/2013 12:24am

EDIT: Oh sorry totally missed the capital SOLVED in the title, will leave this here in case someone else has a similar issue.

This doesn't look like a bug in SS, looks to be an issue with the shared hosts php configuration
(before I go on, they look to be warnings rather than fatal errors, have you tried proceeding ignoring the errors?)

Looks to be a miss configuration with the open_basedir setting http://www.php.net/manual/en/ini.core.php#ini.open-basedir

See the second to last comment on this page, someone having trouble/success with the setting http://php.net/manual/en/function.ini-set.php

On my dev machine this setting isn't set at all and the installer works without issue.

open_basedir	no value

Maybe try finding out what your host has this configured too and I can try replicate....