Application error
------
Message: cache_dir "" must be a directory
------
Build: 2.5.16 20140702
PHP Version: 5.3.10-1ubuntu3.13
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0; QQBrowser/7.7.28658.400) like Gecko
------
exception 'Zend_Cache_Exception' with message 'cache_dir "" must be a directory' in /var/www/sw/wenda/system/Zend/Cache.php:209
Stack trace:
#0 /var/www/sw/wenda/system/Zend/Cache/Backend/File.php(178): Zend_Cache::throwException('cache_dir "" mu...')
#1 /var/www/sw/wenda/system/Zend/Cache/Backend/File.php(129): Zend_Cache_Backend_File->setCacheDir(false)
#2 /var/www/sw/wenda/system/Zend/Cache.php(153): Zend_Cache_Backend_File->__construct(Array)
#3 /var/www/sw/wenda/system/Zend/Cache.php(94): Zend_Cache::_makeBackend('File', Array, false, false)
#4 /var/www/sw/wenda/system/core/cache.php(74): Zend_Cache::factory('Core', 'File', Array, Array)
#5 /var/www/sw/wenda/system/functions.inc.php(486): core_cache->__construct()
#6 /var/www/sw/wenda/system/aws_app.inc.php(362): load_class('core_cache')
#7 /var/www/sw/wenda/models/account.php(1192): AWS_APP::cache()
#8 /var/www/sw/wenda/system/aws_controller.inc.php(50): account_class->get_user_group_by_id(99)
#9 /var/www/sw/wenda/system/aws_app.inc.php(205): AWS_CONTROLLER->__construct()
#10 /var/www/sw/wenda/system/aws_app.inc.php(64): AWS_APP::create_controller('main', '/var/www/sw/wen...')
#11 /var/www/sw/wenda/index.php(23): AWS_APP::run()
#12 {main}
是因为安装的时候没有给整个目录权限吗?然后程序没有生成缓存目录。还是什么原因。但是最后在给权限也不好使了#76
阅读全文
收起全文