4874 Posts in 6963 Topics by 1471 members
|Go to End||Next >|
3 June 2010 at 10:44pm
I get the same error whenever I try to log in to the CMS. There are no problems when I am on the front end.
4 June 2010 at 2:03pm
I have just experienced this "Uncaught Zend_Cache_Exception: cache_dir must be a directory" error on a site we upgraded to 2.4.0 a while back. Has been a while since we tried to log into admin.
After a bit of going around in circles was lead to the solution which has worked for me adding a line to /sapphire/_config.php outlined here:
4 June 2010 at 10:11pm
However, I have found something interesting. I can make the log in work by adding "?isDev=1" at end of the url. Without that I will get stuck at the CMS log in page. Anyone got an idea?
5 June 2010 at 4:07am
I got this error today on a clean install of 2.4.0 in a linux box.
I could view site pages but trying to access "/admin" threw the error up.
I fixed it by following one of the prevoius support ticket links and adding a line of code to "_config.php":
// Zend_Cache temp directory setting
$_ENV['TMPDIR'] = TEMP_FOLDER;
No idea exactly what it does, but it worked for me so thought I'd just pass it on!
11 June 2010 at 6:42am
My fix (while not so elegant) did worked, however someone else made a recommendation for a better solution but I have not tried it yet.
11 June 2010 at 6:51am Last edited: 11 June 2010 6:52am
@turtleline & @LinseyM
Thanks. This sounds like a much better solution than the one I previously suggested as it doesn't involved editing the thirdparty extension.
3 July 2010 at 1:58am
Well, comments like the above comment is THE reason we need a report button ...
19 August 2010 at 12:48pm
I am guessing this happens on Linux installs.
Its a permissions issue. On my centos/virtualmin server when running apache in mod_php mode the files created by the application are owned by one user whereas the server is of course apache. I compounded the issue by being forced to change halfway from mod_fcigd to mod_php because the installer did not see mod_rewrite working in mod_fcgid (it was and now I have changed back and thats another issue)
Just go to /tmp and then chmod -R g+w silverstripe-cache-whatever-your-path-is
Failing that then open up the permissions on /tmp
You might then want to reinstall the app if thats where it failed.
|Go to Top||Next >|