Thinkphp3.2.3服务器项目源码拷贝到本地报错解决方法

2022-01-10 10:11:55 浏览数 (1)

问题:

Warning: include(E:xampphtdocsnewsThinkPHPLibrary/Think/Log.class.php): failed to open stream: No such file or directory in C:xampphtdocsnewsThinkPHPLibraryThinkThink.class.php on line 151 Warning: include(): Failed opening 'E:xampphtdocsnewsThinkPHPLibrary/Think/Log.class.php' for inclusion (include_path='.;C:xamppphpPEAR') in C:xampphtdocsnewsThinkPHPLibraryThinkThink.class.php on line 151 Fatal error: Class 'ThinkLog' not found in C:xampphtdocsnewsThinkPHPLibraryThinkThink.class.php on line 335 Warning: include(E:xampphtdocsnewsThinkPHPLibrary/Think/Log.class.php): failed to open stream: No such file or directory in C:xampphtdocsnewsThinkPHPLibraryThinkThink.class.php on line 151 Warning: include(): Failed opening 'E:xampphtdocsnewsThinkPHPLibrary/Think/Log.class.php' for inclusion (include_path='.;C:xamppphpPEAR') in C:xampphtdocsnewsThinkPHPLibraryThinkThink.class.php on line 151 Fatal error: Class 'ThinkLog' not found in C:xampphtdocsnewsThinkPHPLibraryThinkThink.class.php on line 264

解决:

清除runtime下的缓存,特别要删除common~runtime.php

0 人点赞