我在xampp localhost上收到错误

时间:2013-11-07 17:53:08

标签: php

当我尝试在xampp localhost上加载php脚本时出现此错误,但此脚本在线托管时效果不错..

A PHP Error was encountered

Severity: Warning

Message: require_once(header.php): failed to open stream: No such file
or directory

Filename: core/Loader.php(829) : eval()'d code

Line Number: 1

Fatal error: require_once(): Failed opening required 'header.php'
(include_path='.;C:\xampp\php\PEAR') in
C:\xampp\htdocs\doitforfun\system\core\Loader.php(829) : eval()'d code
on line 1

这里是.htaccess

DirectoryIndex index.php

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [L]

xampp地址为C:\xampp\htdocs\movie

0 个答案:

没有答案