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

"Website Error" when trying to access admin after install


Reply

10 Posts   3030 Views

Avatar
Spydo

1 July 2010 at 5:35pm Community Member, 2 Posts

Thanks for this Information.

but I have also the Problem that I dont have the permission to create a folder on my root dir.

I have also ask my WebHoster and he advise my to change the tmp folder in the code to "/var/www/web55/phptmp/" and I have no idea how to change it ;).

Avatar
Devlin

22 July 2010 at 9:24pm (Last edited: 22 July 2010 9:31pm), Community Member, 215 Posts

I got a similar problem.

The error message was:

[User Error] Uncaught Zend_Cache_Exception: cache_dir is not writable
GET /login/admin?flush

Line 208 in /[...]/sapphire/thirdparty/Zend/Cache.php

[...]

# Zend_Cache::throwException(cache_dir is not writable)
Line 156 of File.php
# Zend_Cache_Backend_File->setCacheDir(/tmp/,)
Line 122 of File.php

I fixed it with this line in my _config:

// workaround to get ZF cache in the right folder
$_ENV['TMPDIR'] = dirname(__FILE__)."/../silverstripe-cache";