class not exists:\think\log\driver\File

浏览:2131 发布日期:2018/05/22 分类:ThinkPHP5专区
在centos 6.5上运行php think命令报以下错误


PHP Fatal error: Uncaught exception 'think\exception\ClassNotFoundException' with message 'class not exists:\think\log\driver\File' in /home/wwwroot/guahaotongzhi/th nkphp/library/think/Log.php:79
Stack trace:
#0 /home/wwwroot/guahaotongzhi/thinkphp/library/think/Log.php(156): think\Log::init(Array)
#1 /home/wwwroot/guahaotongzhi/thinkphp/library/think/Log.php(109): think\Log::save()
#2 /home/wwwroot/guahaotongzhi/thinkphp/library/think/exception/Handle.php(64): think\Log::record('[2]scandir() ha...', 'error')
#3 /home/wwwroot/guahaotongzhi/thinkphp/library/think/Error.php(47): think\exception\Handle->report(object(think\exception\ErrorException))
#4 [internal function]: think\Error::appException(object(think\exception\ErrorException))
#5 {main}
thrown in /home/wwwroot/guahaotongzhi/thinkphp/library/think/Log.php on line 79
PHP Fatal error: Uncaught exception 'think\exception\ClassNotFoundException' with message 'class not exists:\think\log\driver\File' in /home/wwwroot/guahaotongzhi/th nkphp/library/think/Log.php:79
Stack trace:
#0 /home/wwwroot/guahaotongzhi/thinkphp/library/think/Log.php(156): think\Log::init(Array)
#1 /home/wwwroot/guahaotongzhi/thinkphp/library/think/Log.php(109): think\Log::save()
#2 /home/wwwroot/guahaotongzhi/thinkphp/library/think/exception/Handle.php(64): think\Log::record('[1]Uncaught exc...', 'error')
#3 /home/wwwroot/guahaotongzhi/thinkphp/library/think/Error.php(47): think\exception\Handle->report(object(think\exception\ErrorException))
#4 /home/wwwroot/guahaotongzhi/thinkphp/library/think/Error.php(89): think\Error::appException(object(think\exception\ErrorException))
#5 [internal function]: think\Error::appShutdown()
#6 {main}
thrown in /home/wwwroot/guahaotongzhi/thinkphp/library/think/Log.php on line 79

最佳答案
评论( 相关
后面还有条评论,点击查看>>