Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » installation problems v2.1.0

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 3547 Views
  • joco
    Avatar
    9 Posts

    installation problems v2.1.0 Link to this post

    i tried installing but got the following error after pressing the 'build the site' button:

    ---------------------
    Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/htdocs/mysite/:/tmp/:/var/tmp/:/var/lib/php5) in /var/www/htdocs/mysite/public/ss/install.php on line 338

    Warning: unlink() [function.unlink]: No such file or directory in /var/www/htdocs/mysite/public/ss/install.php on line 339

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/htdocs/mysite/public/ss/install.php:338) in /var/www/htdocs/mysite/public/ss/install.php on line 516

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/htdocs/mysite/public/ss/install.php:338) in /var/www/htdocs/mysite/public/ss/install.php on line 516
    Installing SilverStripe...

    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation
    # Creating 'mysite/_config.php'...
    # Creating '.htaccess' file...
    # Building database schema...
    ---------------------

    after this appeared nothing happened. going back to the index gave me this:

    ---------------------
    Internal Server Error

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

    Please contact the server administrator, [no address given] 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.

  • joco
    Avatar
    9 Posts

    Re: installation problems v2.1.0 Link to this post

    i'm running MySQL 5.0.32-Debian_7etch1-log , PHP version 5.2.0-8+etch7

    the install.php page tells me evrything is in order, except, at the top, it says:

    Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/htdocs/mysite/:/tmp/:/var/tmp/:/var/lib/php5) in /var/www/htdocs/mysite/public/ss/install.php on line 338

    Warning: unlink() [function.unlink]: No such file or directory in /var/www/htdocs/mysite/public/ss/install.php on line 339

  • siulun
    Avatar
    14 Posts

    Re: installation problems v2.1.0 Link to this post

    look up open_basedir restriction in effect on google and you'll find a lot to solve your problem.

    I think /tmp is the folder SS use to build its "cache", you may be able to resolve the problem if you create a folder in your httpd root directory called "silverstripe-cache" so that it'll use that directory instead.

    looks as if you might not have access to the /tmp directory.

  • joco
    Avatar
    9 Posts

    Re: installation problems v2.1.0 Link to this post

    thanks for your answer. i did create a "silverstripe-cache"-folder (the installer told me to) but i'll look up the open_basedir stuff on google when i have the time.

    cheerio

  • joco
    Avatar
    9 Posts

    Re: installation problems v2.1.0 Link to this post

    can the following also be attributed to the open_basedir restriction?:

    Warning: unlink() [function.unlink]: No such file or directory in /var/www/htdocs/mysite/public/ss/install.php on line 339

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