Jump to:

4945 Posts in 17688 Topics by 1494 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Errors before Installing

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: 2157 Views
  • DenSchub
    Avatar
    Community Member
    4 Posts

    Errors before Installing Link to this post

    Hello!

    I'm trying to install SilverStripe on my Webspace. When I'm opening the install.php, the following errors appear:
    Warning: session_start(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/www/xxx/html:/home/www/xxx/phptmp:/home/www/xxx/files:/home/www/xxx/atd:/srv/www/htdocs/xxx/html:/srv/www/htdocs/xxx/phptmp:/srv/www/htdocs/xxx/files:/home/www/xxx/atd) in /home/www/xxx/html/SilverStripe/install.php on line 10 Fatal error: session_start(): Failed to initialize storage module: files (path: ) in /home/www/xxx/html/SilverStripe/install.php on line 10

    Can someone help me?

    Bye,
    DenSchub

  • Tobbe
    Avatar
    Community Member
    25 Posts

    Re: Errors before Installing Link to this post

    Strange. What version of PHP do you have? There are some reports on a bug in PHP that has this behavior, but if you are on a webhost, there should be no problems with session_start() as it is probably used by almost all PHP scripts.

    Do you have a phpinfo file (a xxx.php file with only <? phpinfo(); ?> in it) on that server, that can be checked?

  • DenSchub
    Avatar
    Community Member
    4 Posts

    Re: Errors before Installing Link to this post

    I've PHP 5.2.0

    You can check the phpinfo here:
    http://dev.dennis-schubert.de/phpinfo.php

  • Tobbe
    Avatar
    Community Member
    25 Posts

    Re: Errors before Installing Link to this post

    Just to make sure your server is setup ok, can you just create a phpfile with this:

    <?
    error_reporting(E_ALL);
    session_start();
    echo session_save_path();
    ?>

  • DenSchub
    Avatar
    Community Member
    4 Posts

    Re: Errors before Installing Link to this post

    oh!

    It's the fault of my server:
    http://dev.dennis-schubert.de/session-test.php

    I'll contact my hoster!

  • Tobbe
    Avatar
    Community Member
    25 Posts

    Re: Errors before Installing Link to this post

    Great! Good luck.

  • DenSchub
    Avatar
    Community Member
    4 Posts

    Re: Errors before Installing Link to this post

    Thanks

    I'll tell you if it works

  • UncleCheese
    Avatar
    4085 Posts

    Re: Errors before Installing Link to this post

    Hopefully you can edit your virtual host directives and add the path it's looking for. If not, i think you need to talk to your hosting provider. Open basedir restrictions are nasty.

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