Jump to:

4952 Posts in 14422 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » [Warning] session_start() [function.session-start]- Denied permission

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: 2970 Views
  • mars
    Avatar
    Community Member
    1 Post

    [Warning] session_start() [function.session-start]- Denied permission Link to this 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.

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