报错信息:
Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'Undefined index: source' in /webpro/weixin/thinkphp/tpl/think_exception.tpl:399
Stack trace:
#0 /webpro/weixin/thinkphp/tpl/think_exception.tpl(399): think\Error::appError(8, 'Undefined index...', '/webpro/weixin/...', 399, Array)
#1 /webpro/weixin/thinkphp/tpl/think_exception.tpl(90): parse_padding(Array)
#2 /webpro/weixin/thinkphp/library/think/Error.php(158): include('/webpro/weixin/...')
#3 /webpro/weixin/thinkphp/library/think/Error.php(79): think\Error::output(ob
#4 /webpro/weixin/thinkphp/library/think/Error.php(128): think\Error::appException(ob
#5 [internal function]: think\Error::appShutdown()
#6 {main}
thrown in /webpro/weixin/thinkphp/tpl/think_exception.tpl on line 399
NGINX 配置
location / {
index index.htm index.html index.php;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?s=$1 last;
break;
}
}
location ~ .php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param sc
include fastcgi_params;
}
系统环境 centos 6.5 php5.6
最佳答案