Exception

Description

The cache directory /home/waps2bu/public_html/protected/runtime/application.xml-3.1.1/i18n/ must be writable by the server.

Source File

/home/framewor/framework2.0/I18N/core/MessageCache.php (49)

0038:      * @param string $cacheDir Directory to store the cache files.
0039:      */
0040:     public function __construct($cacheDir)
0041:     {        
0042:         $cacheDir = $cacheDir.'/';
0043:         
0044:         if(!is_dir($cacheDir))
0045:             throw new Exception(
0046:                 'The cache directory '.$cacheDir.' does not exists.'.
0047:                 'The cache directory must be writable by the server.');
0048:         if(!is_writable($cacheDir))
0049: throw new Exception(
0050: 'The cache directory '.$cacheDir.' must be writable '. 0051: 'by the server.'); 0052: 0053: $options = array( 0054: 'cacheDir' => $cacheDir, 0055: 'lifeTime' => $this->getLifeTime(), 0056: 'automaticSerialization' => true 0057: ); 0058: 0059: $this->cache = new TCache_Lite($options); 0060: } 0061:

Stack Trace

#0 /home/framewor/framework2.0/I18N/Translation.php(53): MessageCache->__construct('/home/waps2bu/p...')
#1 /home/framewor/framework2.0/PradoBase.php(595): Translation::init()
#2 /home/framewor/framework2.0/Web/UI/TTemplateManager.php(497): PradoBase::localize('password')
#3 /home/framewor/framework2.0/Web/UI/TTemplateManager.php(424): TTemplate->configureProperty(Object(THyperLink), 'text', Array)
#4 /home/framewor/framework2.0/Web/UI/TTemplateManager.php(350): TTemplate->configureControl(Object(THyperLink), 'text', Array)
#5 /home/framewor/framework2.0/Web/UI/TTemplateControl.php(141): TTemplate->instantiateIn(Object(Login))
#6 /home/framewor/framework2.0/Web/UI/TControl.php(918): TTemplateControl->createChildControls()
#7 /home/framewor/framework2.0/Web/UI/TTemplateControl.php(225): TControl->ensureChildControls()
#8 /home/framewor/framework2.0/Web/UI/TPage.php(202): TTemplateControl->initRecursive()
#9 /home/framewor/framework2.0/Web/UI/TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#10 /home/framewor/framework2.0/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#11 /home/framewor/framework2.0/Web/Services/TPageService.php(420): TPageService->runPage(Object(Login), Array)
#12 /home/framewor/framework2.0/TApplication.php(1066): TPageService->run()
#13 /home/framewor/framework2.0/TApplication.php(376): TApplication->runService()
#14 /home/waps2bu/public_html/index.php(19): TApplication->run()
#15 {main}
2012-05-20 17:26 Apache PRADO/3.1.1