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

"Website Error" when trying to access admin after install


Go to End


10 Posts   4859 Views

Avatar
Spydo

Community Member, 2 Posts

1 July 2010 at 5:35pm

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

Community Member, 344 Posts

22 July 2010 at 9:24pm

Edited: 22/07/2010 9:31pm

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";

Go to Top