关闭调试模式就报错,请问是啥缘故?

浏览:2104 发布日期:2015/06/13 分类:求助交流 关键字: 关闭调试,报错
各位大虾,我关闭调试模式以后,第一次访问页面正常,再访问就报错了。

我把Runtime下面的文件全删了。
还配置了:
'SHOW_ERROR_MSG' => true,
'LOG_RECORD' => true, // 开启日志记录
'LOG_LEVEL' =>'EMERG,ALERT,CRIT,ERR,WARN,NOTICE,INFO,DEBUG,SQL ', // 只记录EMERG ALERT CRIT ERR 错误
一条日志也没写。

这是APACHE里面的记录:
[Sat Jun 13 20:56:20 2015] [notice] Apache/2.2.21 (Win32) PHP/5.3.10 configured -- resuming normal operations
[Sat Jun 13 20:56:20 2015] [notice] Server built: Sep 10 2011 11:34:11
[Sat Jun 13 20:56:20 2015] [notice] Parent: Created child process 4576
[Sat Jun 13 20:56:21 2015] [notice] Child 4576: Child process is running
[Sat Jun 13 20:56:21 2015] [notice] Child 4576: Acquired the start mutex.
[Sat Jun 13 20:56:21 2015] [notice] Child 4576: Starting 64 worker threads.
[Sat Jun 13 20:56:21 2015] [notice] Child 4576: Starting thread to listen on port 80.
[Sat Jun 13 20:56:33 2015] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_FUNCTION in F:\\wamp\\www\\vote\\App\\Runtime\\common~runtime.php on line 1, referer: http://localhost/admin
[Sat Jun 13 20:56:33 2015] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/admin
[Sat Jun 13 20:56:33 2015] [error] [client 127.0.0.1] PHP 1. {main}() F:\\wamp\\www\\vote\\index.php:0, referer: http://localhost/admin
[Sat Jun 13 20:56:33 2015] [error] [client 127.0.0.1] PHP 2. require() F:\\wamp\\www\\vote\\index.php:24, referer: http://localhost/admin
[Sat Jun 13 20:56:33 2015] [error] [client 127.0.0.1] PHP 3. Think\\Think::start() F:\\wamp\\www\\vote\\ThinkPHP\\ThinkPHP.php:94, referer: http://localhost/admin
[Sat Jun 13 20:56:33 2015] [error] [client 127.0.0.1] PHP 4. Think\\Storage::load() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Think.class.php:42, referer: http://localhost/admin
[Sat Jun 13 20:56:33 2015] [error] [client 127.0.0.1] PHP 5. Think\\Storage::__callstatic() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Think.class.php:42, referer: http://localhost/admin
[Sat Jun 13 20:56:33 2015] [error] [client 127.0.0.1] PHP 6. call_user_func_array() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Storage.class.php:37, referer: http://localhost/admin
[Sat Jun 13 20:56:33 2015] [error] [client 127.0.0.1] PHP 7. Think\\Storage\\Driver\\File->load() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Storage.class.php:37, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_FUNCTION in F:\\wamp\\www\\vote\\App\\Runtime\\common~runtime.php on line 1, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 1. {main}() F:\\wamp\\www\\vote\\index.php:0, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 2. require() F:\\wamp\\www\\vote\\index.php:24, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 3. Think\\Think::start() F:\\wamp\\www\\vote\\ThinkPHP\\ThinkPHP.php:94, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 4. Think\\Storage::load() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Think.class.php:42, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 5. Think\\Storage::__callstatic() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Think.class.php:42, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 6. call_user_func_array() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Storage.class.php:37, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 7. Think\\Storage\\Driver\\File->load() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Storage.class.php:37, referer: http://localhost/admin
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_FUNCTION in F:\\wamp\\www\\vote\\App\\Runtime\\common~runtime.php on line 1, referer: http://localhost/admin/rbac/login
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/admin/rbac/login
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 1. {main}() F:\\wamp\\www\\vote\\index.php:0, referer: http://localhost/admin/rbac/login
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 2. require() F:\\wamp\\www\\vote\\index.php:24, referer: http://localhost/admin/rbac/login
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 3. Think\\Think::start() F:\\wamp\\www\\vote\\ThinkPHP\\ThinkPHP.php:94, referer: http://localhost/admin/rbac/login
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 4. Think\\Storage::load() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Think.class.php:42, referer: http://localhost/admin/rbac/login
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 5. Think\\Storage::__callstatic() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Think.class.php:42, referer: http://localhost/admin/rbac/login
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 6. call_user_func_array() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Storage.class.php:37, referer: http://localhost/admin/rbac/login
[Sat Jun 13 20:56:36 2015] [error] [client 127.0.0.1] PHP 7. Think\\Storage\\Driver\\File->load() F:\\wamp\\www\\vote\\ThinkPHP\\Library\\Think\\Storage.class.php:37, referer: http://localhost/admin/rbac/login

开启调试模式一切正常,就这一点差别。
最佳答案
评论( 相关
后面还有条评论,点击查看>>