【错误信息】
#Error: file_put_contents(D:/phpstudy_pro/WWW/haose.live/tmp/huang_models_control.class.php): failed to open stream: Invalid argument
#File: D:\phpstudy_pro\WWW\haose.live\framework\lib\core.class.php
#Line:527
【代码】
523:                                 $s = preg_replace('#([\'"])\?(.+?\.htm)#i', '\\1\\2', $s);
524:                         } else {
525:                                 $s = preg_replace('#([\'"])\?(.+?\.htm)#i', '\\1?\\2', $s);
526:                         }
527:                         file_put_contents($objfile, $s);
528:                 }
529:                 
530:                 if(@include $objfile) {
531:                         $controlclass = "{$control}_control";
532:                         $onaction = "on_$action";
【BackTrace】
ID File Line Function
0 D:\phpstudy_pro\WWW\haose.live\framework\lib\core.class.php 527 file_put_contents('D:/phpstudy_pro/WWW/haose.live/tmp/huang_models_control.class.php', 'conf['view_path'] = array(BBS_PATH.'models/'.$m.'/view/'); $n = core::gpc('n', 'R'); if(empty($n)){ $uri = $this->za->url_uri(); foreach($uri as $k => $v){ $$k = $v; } } $function_file = BBS_PATH.'models/'.$m.'/'.$n.'.php'; if(is_file($function_file)){ include $function_file; }else{ header("HTTP/1.1 404 Not Found"); header("Status: 404 Not Found"); exit; } } } ?>')
1 D:\phpstudy_pro\WWW\haose.live\models.php 36 run()
【环境变量】
#URL: /video_info.html?id=c30%2B0cZRzGIvBUojlK5YmQ%3D%3D
#IP: 172.69.130.52
#Time: 2025/8/24 14:26
#Cookie:
【SQL】
【INCLUDE】
D:\phpstudy_pro\WWW\haose.live\models.php
D:\phpstudy_pro\WWW\haose.live\conf\conf.php
D:\phpstudy_pro\WWW\haose.live\framework\core.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\core.class.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\misc.class.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\log.class.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\xn_exception.class.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\db.interface.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\db_mysqli.class.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\cache.interface.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\base_control.class.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\base_model.class.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\encrypt.func.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\template.class.php
D:\phpstudy_pro\WWW\haose.live\framework\lib\des3.class.php
D:\phpstudy_pro\WWW\haose.live\framework\errorpage\exception.htm
$_GET = Array
(
    [0] => models
    [1] => f
    [m] => index
    [n] => video_info
    [id] => c30+0cZRzGIvBUojlK5YmQ==
)
$_POST = Array
(
)
$_COOKIE = Array
(
)
include = Array
(
    [0] => D:\phpstudy_pro\WWW\haose.live\models.php
    [1] => D:\phpstudy_pro\WWW\haose.live\conf\conf.php
    [2] => D:\phpstudy_pro\WWW\haose.live\framework\core.php
    [3] => D:\phpstudy_pro\WWW\haose.live\framework\lib\core.class.php
    [4] => D:\phpstudy_pro\WWW\haose.live\framework\lib\misc.class.php
    [5] => D:\phpstudy_pro\WWW\haose.live\framework\lib\log.class.php
    [6] => D:\phpstudy_pro\WWW\haose.live\framework\lib\xn_exception.class.php
    [7] => D:\phpstudy_pro\WWW\haose.live\framework\lib\db.interface.php
    [8] => D:\phpstudy_pro\WWW\haose.live\framework\lib\db_mysqli.class.php
    [9] => D:\phpstudy_pro\WWW\haose.live\framework\lib\cache.interface.php
    [10] => D:\phpstudy_pro\WWW\haose.live\framework\lib\base_control.class.php
    [11] => D:\phpstudy_pro\WWW\haose.live\framework\lib\base_model.class.php
    [12] => D:\phpstudy_pro\WWW\haose.live\framework\lib\encrypt.func.php
    [13] => D:\phpstudy_pro\WWW\haose.live\framework\lib\template.class.php
    [14] => D:\phpstudy_pro\WWW\haose.live\framework\lib\des3.class.php
    [15] => D:\phpstudy_pro\WWW\haose.live\framework\errorpage\exception.htm
)
memory = 1064368
processtime = 0.0095
memory = 1064368
processtime = 0.0095