PHP Fatal error: Class 'Think\\Log' not found in。。。


问题:站点转移服务器,资料数据均备份到新的服务器上,PHP版本,MySQL版本一致,访问新网站 出现500 服务器内部错误。

打开httpd 错误日志:

tail -f note.topc.cc_error.log
#报错
[Fri Mar 10 13:56:46.202438 2017] [:error] [pid 26049] [client 106.38.100.106:3272] PHP Fatal error:  Class 'Think\\Log' not found in /www/note/simplewind/Core/Library/Think/Think.class.php on line 264
[Fri Mar 10 13:58:40.278835 2017] [access_compat:error] [pid 26048] [client 106.38.100.106:3414] AH01797: client denied by server configuration: /www/note/admin/index.html
PHP Fatal error

一般转移站点,只要不是PHP版本问题,那就是站点缓存引起的无法访问。这个站点用的是THINKCMF

直接找到站点缓存目录:

cd runtime/
rm -rf *

正常访问 note.topc.cc

上一篇 下一篇

评论



分享

热门文章

最新加入

最新评论

ss就这样吧: 还是用原声的写吧,这样就不会出现兼容性的问题了 。 查看原文 05月25日 15:55
指尖: 数据库主从配置 查看原文 03月03日 11:26




kefu
0.0545s