4577 Posts in 1388 Topics by 1377 members
| Go to End | ||
| Author | Topic: | 2518 Views |
-
Re: "Website Error" when trying to access admin after install

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 ;).
-
Re: "Website Error" when trying to access admin after install

22 July 2010 at 9:24pm Last edited: 22 July 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?flushLine 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.phpI fixed it with this line in my _config:
// workaround to get ZF cache in the right folder
$_ENV['TMPDIR'] = dirname(__FILE__)."/../silverstripe-cache";
| 2518 Views | ||
| Go to Top |


