Warning: fopen(/home/www/leopaard/fans/log/phperror.php): failed to open stream: Permission denied in /home/www/leopaard/fans/xiunophp/lib/log.class.php on line 40
【错误信息】
#Error: file_put_contents(/home/www/leopaard/fans/tmp/control_common_control.class.php): failed to open stream: Permission denied
#File: /home/www/leopaard/fans/xiunophp/core/core.class.php
505:                                 // 这里不得不用全局变量来解决这个问题
506:                                 $_ENV['preg_replace_callback_arg'] = $conf;
507:                                 $s2 = preg_replace_callback('#\t*\/\/\s*hook\s+([^\s]+)#is', 'core::process_hook_callback', $s2);
508:                                 core::process_urlrewrite($conf, $s2);
509:                                 file_put_contents($tmptmpfile, $s2);
510:                                 $s = str_replace($m[0][$k], "\r\n\tinclude '$tmpfile';", $s);
511:                         }
512:                 }
513:                 
514:                 // 直接包含内容会加速PHP,但是代码阅读性差,不利于调试。
【BackTrace】
ID File Line Function
0 core::error_handle()
1 /home/www/leopaard/fans/xiunophp/core/core.class.php 509
2 /home/www/leopaard/fans/xiunophp/core/core.class.php 778 core::process_include()
3 /home/www/leopaard/fans/index.php 41 core::run()
【环境变量】
#URL: /fans/?forum-index-fid-14.htm
#IP: 14.152.50.50
#Time: 2017/10/18 15:37
#Cookie:
【SQL】
【INCLUDE】
/home/www/leopaard/fans/index.php
/home/www/leopaard/fans/conf/conf.php
/home/www/leopaard/fans/xiunophp/core.php
/home/www/leopaard/fans/xiunophp/core/core.class.php
/home/www/leopaard/fans/xiunophp/core/misc.class.php
/home/www/leopaard/fans/xiunophp/core/base_control.class.php
/home/www/leopaard/fans/xiunophp/core/base_model.class.php
/home/www/leopaard/fans/xiunophp/lib/log.class.php
/home/www/leopaard/fans/xiunophp/lib/xn_exception.class.php
/home/www/leopaard/fans/xiunophp/lib/encrypt.func.php
/home/www/leopaard/fans/xiunophp/lib/template.class.php
/home/www/leopaard/fans/xiunophp/db/db.interface.php
/home/www/leopaard/fans/xiunophp/db/db_mysql.class.php
/home/www/leopaard/fans/xiunophp/cache/cache.interface.php
/home/www/leopaard/fans/xiunophp/cache/cache_memcache.class.php
/home/www/leopaard/fans/plugin/baidu_editor/conf.php
/home/www/leopaard/fans/plugin/myadvices/conf.php
/home/www/leopaard/fans/plugin/mycars/conf.php
/home/www/leopaard/fans/plugin/xg_gotop/conf.php
/home/www/leopaard/fans/plugin/xn_defend_flooding_posts/conf.php
/home/www/leopaard/fans/plugin/xn_friendlink/conf.php
/home/www/leopaard/fans/xiunophp/errorpage/exception.htm
$_GET = Array
(
    [forum-index-fid-14_htm] => 
    [0] => forum
    [1] => index
    [2] => fid
    [3] => 14
    [fid] => 14
)
$_POST = Array
(
)
$_COOKIE = Array
(
)
include = Array
(
    [0] => /home/www/leopaard/fans/index.php
    [1] => /home/www/leopaard/fans/conf/conf.php
    [2] => /home/www/leopaard/fans/xiunophp/core.php
    [3] => /home/www/leopaard/fans/xiunophp/core/core.class.php
    [4] => /home/www/leopaard/fans/xiunophp/core/misc.class.php
    [5] => /home/www/leopaard/fans/xiunophp/core/base_control.class.php
    [6] => /home/www/leopaard/fans/xiunophp/core/base_model.class.php
    [7] => /home/www/leopaard/fans/xiunophp/lib/log.class.php
    [8] => /home/www/leopaard/fans/xiunophp/lib/xn_exception.class.php
    [9] => /home/www/leopaard/fans/xiunophp/lib/encrypt.func.php
    [10] => /home/www/leopaard/fans/xiunophp/lib/template.class.php
    [11] => /home/www/leopaard/fans/xiunophp/db/db.interface.php
    [12] => /home/www/leopaard/fans/xiunophp/db/db_mysql.class.php
    [13] => /home/www/leopaard/fans/xiunophp/cache/cache.interface.php
    [14] => /home/www/leopaard/fans/xiunophp/cache/cache_memcache.class.php
    [15] => /home/www/leopaard/fans/plugin/baidu_editor/conf.php
    [16] => /home/www/leopaard/fans/plugin/myadvices/conf.php
    [17] => /home/www/leopaard/fans/plugin/mycars/conf.php
    [18] => /home/www/leopaard/fans/plugin/xg_gotop/conf.php
    [19] => /home/www/leopaard/fans/plugin/xn_defend_flooding_posts/conf.php
    [20] => /home/www/leopaard/fans/plugin/xn_friendlink/conf.php
    [21] => /home/www/leopaard/fans/xiunophp/errorpage/exception.htm
)
memory = 1150400
processtime = 0.0051