thinkphp换了电脑后加载不了log模块了

warning: include(c:\wamp\www\thinkphp\library/think/log.class.php): failed to open stream: no such file or directory in d:\apache\apache24\htdocs\b.com\cms\thinkphp\library\think\think.class.php on line 151

warning: include(): failed opening ‘c:\wamp\www\thinkphp\library/think/log.class.php’ for inclusion (include_path=’.;c:\php\pear’) in d:\apache\apache24\htdocs\b.com\cms\thinkphp\library\think\think.class.php on line 151

fatal error: class ‘think\log’ not found in d:\apache\apache24\htdocs\b.com\cms\thinkphp\library\think\think.class.php on line 335

warning: include(c:\wamp\www\thinkphp\library/think/log.class.php): failed to open stream: no such file or directory in d:\apache\apache24\htdocs\b.com\cms\thinkphp\library\think\think.class.php on line 151

warning: include(): failed opening ‘c:\wamp\www\thinkphp\library/think/log.class.php’ for inclusion (include_path=’.;c:\php\pear’) in d:\apache\apache24\htdocs\b.com\cms\thinkphp\library\think\think.class.php on line 151

fatal error: class ‘think\log’ not found in d:\apache\apache24\htdocs\b.com\cms\thinkphp\library\think\think.class.php on line 264

麻烦各位告诉我一下可能的原因 本来的电脑上是能运行的 是哪个地方的路径写死了吗

回复讨论(解决方案)

c:\wamp\www\ ?????

看看你的配置文件

网站根目录应该在 d:\apache\apache24\htdocs\b.com\cms

却到 c:\wamp\www 下面找文件

Posted in 未分类

发表评论