Frank337903
2014-11-29 19:10
Remote Address:
[::1]:80
Request URL:
http://localhost/mvc/admin.php?controller=admin&method=login
Request Method:
GET
Status Code:
500 Internal Server Error
Request Headersview source
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:
gzip, deflate, sdch
Accept-Language:
zh-CN,zh;q=0.8,en;q=0.6
Cache-Control:
max-age=0
Connection:
keep-alive
Host:
localhost
User-Agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36
Query String Parametersview sourceview URL encoded
controller:
admin
method:
login
Response Headersview source
Connection:
close
Content-Length:
0
Content-Type:
text/html; charset=utf-8
Date:
Sat, 29 Nov 2014 10:44:36 GMT
Server:
Apache/2.2.29 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.8 PHP/5.6.2 mod_ssl/2.2.29 OpenSSL/0.9.8za DAV/2 mod_perl/2.0.8 Perl/v5.20.0
X-Powered-By:
PHP/5.6.2
第一个斜杠代表根目录目录,而您的系统放在 根目录的mvc目录里
相当于进入了index.php目录下的libs目录肯定没有
找到问题 所在了,居然 是因为 require_once '/libs/***' libs 前面多一个斜杠就报致命错误了,这是为什么?
MVC架构模式分析与设计
82400 学习 · 929 问题
相似问题