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.

Installing SilverStripe

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

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

[Warning] session_start() [function.session-start]- Denied permission


Reply

3027 Views

Avatar
mars

24 August 2009 at 6:54pm Community Member, 1 Post

Hi, can someone help me with this error I'm getting after I installed it with windows platform?

[Warning] session_start() [function.session-start]: open(C:\Windows\Temp\sess_hghjfeplpvutdpmjih4dp7up16, O_RDWR) failed: Permission denied (13)
GET /mars/

Line 197 in C:\inetpub\wwwroot\mars\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 69 of main.php

Thanks so much in advance.