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

2.4 fresh install, /admin/ -> Error 500

Go to End

6 Posts   2354 Views


Community Member, 9 Posts

7 May 2010 at 6:34pm

I did a fresh install on Windows 2008R2, IIS7.

It seams to be running, except I can not log in to the CMS.
sswebsite/admin/ gives me a Error 500

All Logs are activated

ini_set("log_errors", "On");
ini_set("error_log", "/log");
// log errors and warnings
SS_Log::add_writer(new SS_LogFileWriter('/log/'), SS_Log::WARN, '<=');

But it is not logging anything.

However, in IIS I get a Error 500 0 0 328

Maybe something with the URL-Rewrite-Modul? Or how could I trace this?


Forum Moderator, 922 Posts

8 May 2010 at 12:03pm

Edited: 08/05/2010 12:07pm

Hi there,

In IIS manager, go to Errors and enable detailed errors. This might give you a few more clues as to why the error occurs.
IIS generally gobbles up the errors unless you tell it not to, or unless you browse the site locally on the server.

FYI, I've installed SilverStripe on many IIS 7.x with SQL Server 2008 installations using the installer and it's been a smooth process.

Check that you've got the IIS URL Rewrite module installed too. Find it here:

Hope this helps!



Community Member, 1 Post

8 May 2010 at 5:18pm

It(error 500)often appears when i open the window.


Community Member, 9 Posts

9 May 2010 at 12:23am

Thank you for your answer, Sean

Since 2.4 is a new release I report my conditions. It might help to get it as clean as possible.

2.3 ran (almost) perfect. But before I wanted to go about a strange behavior I wanted to upgrade. And that is the point when I got stuck and had to turn to this forum. It might be that the installation (Webinstaller) works fine. But if you upgrade you encounter problems. So I did a clean install on a machine that 2.3 was running fine.

after extensive trying I got Silverstripe to log. The logflie paths should look something like this: "/inetpub/log/ss.log" starting from the drive where PHP is located, so in most cases c:. "/log/" will not work. There's got to be a logfilename! Maybe a note in the config file would save time for others.

the Logfile states: " Error at \sapphire\thirdparty\Zend\Cache.php line 208: Uncaught Zend_Cache_Exception: cache_dir is not writable"

finding out with procmon I can see that PHP tries to access c:/windows/temp/

concluding ss tries to cache files in c:/windows/temp/

so how can I set the cache_dir ?




Community Member, 9 Posts

9 May 2010 at 12:32am

setting the cache_dir explicitly in /sapphire/thirdparty/Zend/Cache/Backend/File.php:90 to my silverstripe-cache directory helped.

I think it is a SS 2.4 issue, looking at this thread:


Forum Moderator, 922 Posts

9 May 2010 at 10:47am

Edited: 09/05/2010 10:52am

In Windows Explorer, browse to C:\Windows\, right click the Temp directory and select Properties.

Click the Security tab, proceed through any message of warning and give the Users group read and write access using the checkboxes.

PHP / SilverStripe should now be able to write into C:\Windows\Temp\