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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

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

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

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


Go to End


3722 Views

Avatar
mars

Community Member, 1 Post

24 August 2009 at 6:54pm

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.