4577 Posts in 1388 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 932 Views |
-
Uncaught Zend_Cache_Exception

4 January 2011 at 1:06am
Further to my post below`error on install`
I wiped everything again and tried to install 2.44 again
installed ok tried to go to admin and got a similar error ........[User Error] Uncaught Zend_Cache_Exception: cache_dir is not writable
GET /Security/login?BackURL=%2FadminLine 208 in /var/www/vhosts/kentishweald.co.uk/httpdocs/sapphire/thirdparty/Zend/Cache.php
Source199 *
200 * Note : for perf reasons, the "load" of Zend/Cache/Exception is dynamic
201 * @param string $msg Message for the exception
202 * @throws Zend_Cache_Exception
203 */
204 public static function throwException($msg)
205 {
206 // For perfs reasons, we use this dynamic inclusion
207 require_once 'Zend/Cache/Exception.php';
208 throw new Zend_Cache_Exception($msg);
209 }
210
211 /**
212 * Normalize frontend and backend names to allow multiple words TitleCased
213 *
214 * @param string $name Name to normalizeTrace
* Zend_Cache::throwException(cache_dir is not writable)
Line 156 of File.php
* Zend_Cache_Backend_File->setCacheDir(/var/www/vhosts/kentishweald.co.uk/httpdocs/silverstripe-cache/cache)
Line 120 of File.php
* Zend_Cache_Backend_File->__construct(Array)
Line 152 of Cache.php
* Zend_Cache::_makeBackend(File,Array,,)
Line 93 of Cache.php
* Zend_Cache::factory(Output,File,Array,Array)
Line 196 of Cache.php
* SS_Cache::factory(cacheblock)
Line 368 of SSViewer.php
* SSViewer->process(MemberLoginForm)
Line 342 of ViewableData.php
* ViewableData->renderWith(Array)
Line 1108 of Form.php
* Form->forTemplate()
Line 377 of Security.php
* Security->login(SS_HTTPRequest)
Line 193 of Controller.php
* Controller->handleAction(SS_HTTPRequest)
Line 143 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
* Controller->handleRequest(SS_HTTPRequest)
Line 282 of Director.php
* Director::handleRequest(SS_HTTPRequest,Session)
Line 125 of Director.php
* Director::direct(/Security/login)
Line 127 of main.phpThis is all getting infuriating
can anyone help please
Regards
Mike -
Re: Uncaught Zend_Cache_Exception

6 January 2011 at 9:10pm
As the error message says "[User Error] Uncaught Zend_Cache_Exception: cache_dir is not writable".
You will need to ensure your cache directory is writable. If you're on a shared host you may be prevented from writing to the default tmp location so SS will swap to a 'silverstripe-cache' folder if one exists in the root of your site. Try creating that 'silverstripe-cache' folder and ensure it has read/write perms.
-
Re: Uncaught Zend_Cache_Exception

9 January 2011 at 12:44pm
Willr
Thanks for replying
I already had a `siverstripe-cache` folder and it was being written to,
The server engineer found the problem, a constant redirect loop caused by a conflict between .htaccess and fastcgi
He altered the .htaccess and I reinstalled fastcgi and everything works.Regards
Mike
| 932 Views | ||
|
Page:
1
|
Go to Top |


