问题已解决希望能帮助到其他用户,出现此问题只需要在根目录下面建立cache tmp 和uploads文件夹即可解决;感谢@zhengqiang
-------------------------------------------Application error
------
Message: cache_dir "" must be a directory
------
Build: 3.1.6 20151103
PHP Version: 5.4.41
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
------
exception 'Zend_Cache_Exception' with message 'cache_dir "" must be a directory' in /home/wwwroot/localhost/question/system/Zend/Cache.php:209
Stack trace:
#0 /home/wwwroot/localhost/question/system/Zend/Cache/Backend/File.php(178): Zend_Cache::throwException('cache_dir "" mu...')
#1 /home/wwwroot/localhost/question/system/Zend/Cache/Backend/File.php(129): Zend_Cache_Backend_File->setCacheDir(false)
#2 /home/wwwroot/localhost/question/system/Zend/Cache.php(153): Zend_Cache_Backend_File->__construct(Array)
#3 /home/wwwroot/localhost/question/system/Zend/Cache.php(94): Zend_Cache::_makeBackend('File', Array, false, false)
#4 /home/wwwroot/localhost/question/system/core/cache.php(74): Zend_Cache::factory('Core', 'File', Array, Array)
#5 /home/wwwroot/localhost/question/system/functions.inc.php(543): core_cache->__construct()
#6 /home/wwwroot/localhost/question/system/aws_app.inc.php(387): load_class('core_cache')
#7 /home/wwwroot/localhost/question/models/account.php(1191): AWS_APP::cache()
#8 /home/wwwroot/localhost/question/system/aws_controller.inc.php(51): account_class->get_user_group_by_id(99)
#9 /home/wwwroot/localhost/question/system/aws_app.inc.php(212): AWS_CONTROLLER->__construct()
#10 /home/wwwroot/localhost/question/system/aws_app.inc.php(60): AWS_APP::create_controller('main', '/home/wwwroot/w...')
#11 /home/wwwroot/localhost/question/index.php(23): AWS_APP::run()
#12 {main}
求解决!!十分感谢
阅读全文
收起全文