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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

Permission denied (13)


Go to End


4 Posts   3419 Views

Avatar
Christy

Community Member, 68 Posts

30 June 2009 at 3:48pm

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.

Avatar
WavyDavy

Community Member, 3 Posts

11 July 2009 at 7:32pm

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)".

Avatar
Christy

Community Member, 68 Posts

12 July 2009 at 4:46pm

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

Avatar
WavyDavy

Community Member, 3 Posts

13 July 2009 at 9:13am

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.