Jump to:

4952 Posts in 14480 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Errors on installation on live site....SOLVED

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

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

Page: 1
Go to End
Author Topic: 522 Views
  • oldwrinkly
    Avatar
    Community Member
    34 Posts

    Errors on installation on live site....SOLVED Link to this post

    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

  • oldwrinkly
    Avatar
    Community Member
    34 Posts

    Re: Errors on installation on live site....SOLVED Link to this post

    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

  • oldwrinkly
    Avatar
    Community Member
    34 Posts

    Re: Errors on installation on live site....SOLVED Link to this post

    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

  • Bambii7
    Avatar
    Community Member
    254 Posts

    Re: Errors on installation on live site....SOLVED Link to this post

    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....

    522 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.