Jump to:

4937 Posts in 16228 Topics by 1489 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Permission denied (13)

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: 2562 Views
  • Christy
    Avatar
    Community Member
    57 Posts

    Permission denied (13) Link to this post

    I have installed SS before using wamp server but I am having difficulties installing it on a new laptop using the Windows installer.

    PHP MySQL and Silverstripe appear to install successfully but going to http://localhost/silverstripe/ gives me this error.

    [Warning] session_start() [function.session-start]: open(C:\WINDOWS\\Temp\sess_lcgsebb49reqnlotug4qt5k1q3, O_RDWR) failed: Permission denied (13)
    GET /silverstripe/index.php

    Line 197 in C:\Inetpub\wwwroot\silverstripe\sapphire\core\Session.php

    Source

    188       Session::set("FormInfo.$formname.message", $message);
    189       Session::set("FormInfo.$formname.type", $type);
    190    }
    191
    192    public static function start() {
    193       self::load_config();
    194       
    195       if(!session_id() && !headers_sent()) {
    196          session_set_cookie_params(self::$timeout, Director::baseURL());
    197          session_start();
    198       }
    199    }
    200    
    201    /**
    202     * Use the Session::$session_ips array to set timeouts based on IP address or IP address
    203     * range.

    Trace

    * session_start()
    Line 197 of Session.php
    * Session::start()
    Line 66 of main.php
    * require_once(C:\Inetpub\wwwroot\silverstripe\sapphire\main.php)
    Line 71 of index.php

    Any help or pointers would be appreciated.

  • WavyDavy
    Avatar
    Community Member
    3 Posts

    Re: Permission denied (13) Link to this post

    I have got pretty much the same problem and I am also trying to install on a laptop using the windows installer only in my case my install.php refuses to run due to the same permission error "Permission denied (13)".

  • Christy
    Avatar
    Community Member
    57 Posts

    Re: Permission denied (13) Link to this post

    After much research and reloading I gave up and used the WAMP server to install Silverstripe with no problems.

  • WavyDavy
    Avatar
    Community Member
    3 Posts

    Re: Permission denied (13) Link to this post

    I ended up doing the same thing after I found it that IIS 5.1 borks url rewriting which was a dealbreaker for me. I installed xampp and will forget about windows servers for Silverstripe.

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