, $mat); //没有设置别名,将用 cid_id 组合 if( isset($mat[2]) ) { $_GET['cid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; }elseif( preg_match('/^[a-zA-Z0-9-_]+$/i', $newurl) ) { $row = $this->only_alias->get($newurl); if( !empty($row) ) { $_GET['cid'] = $row['cid']; $_GET['id'] = $row['id']; return true; } } break; case 4: //加密型 $newurl = decrypt($newurl);//解密得到 cid_id preg_match("/^(\d+)\_(\d+)$/i", $newurl, $mat); if( isset($mat[2]) ) { $_GET['cid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; } break; case 5: //ID型 if($this->integer_check($newurl)){ $_GET['mid'] = 2; $_GET['id'] = $newurl; return true; } preg_match("/^(\d+)\_(\d+)$/i", $newurl, $mat); if( isset($mat[2]) ) { if( !$this->mid_check($mat[1], $cfg) ){core::error404();} $_GET['mid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; } break; case 6: //别名组合型 $u_arr = explode('/', $newurl); if( isset($u_arr[1]) && isset($cate_arr[$u_arr[0]]) ){ $cid = (int)$cate_arr[$u_arr[0]]; // 如果没有设置别名,将用 cid_id 组合 preg_match("/^(\d+)\_(\d+)$/i", $u_arr[1], $mat); if(isset($mat[2]) && $mat[1] == $cid) { $_GET['cid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; }elseif(preg_match('/^[a-zA-Z0-9-_]+$/i', $u_arr[1])) { $row = $this->only_alias->get($u_arr[1]); if(!empty($row) && $row['cid'] == $cid) { $_GET['cid'] = $row['cid']; $_GET['id'] = $row['id']; return true; } } } break; case 7: //灵活型 $quote = preg_quote($cfg['link_show'], '#'); $quote = strtr($quote, array( '\{cid\}' => '(?\d+)', '\{mid\}' => '(?\d+)', '\{id\}' => '(?\d+)', '\{alias\}' => '(?\w+)', '\{cate_alias\}' => '(?\w+)', '\{password\}' => '(?\w+)', '\{ymd\}' => '(?\d{8})', '\{y\}' => '(?\d{4})', '\{m\}' => '(?\d{2})', '\{d\}' => '(?\d{2})', '\{auth_key\}' => '(?\w+)', '\{hashids\}' => '(?\w+)' )); preg_match('#'.$quote.'#', $uri, $mat); if($mat){ //用于control验证日期 isset($mat['ymd']) AND $_GET['date_ymd'] = $mat['ymd']; isset($mat['y']) AND $_GET['date_y'] = $mat['y']; isset($mat['m']) AND $_GET['date_m'] = $mat['m']; isset($mat['d']) AND $_GET['date_d'] = $mat['d']; $auth_key = $_ENV['_config']['auth_key']; if( isset($mat['auth_key']) && $mat['auth_key'] != substr(md5($auth_key), 0, 6) ){ core::error404(); } if( isset($mat['cid']) && isset($mat['id']) ) { // {cid} {id} 合组 $_GET['cid'] = $mat['cid']; $_GET['id'] = $mat['id']; return true; }elseif( isset($mat['mid']) && isset($mat['id']) && $this->mid_check($mat['mid'], $cfg) ) { // {mid} {id} 合组 $_GET['mid'] = $mat['mid']; $_GET['id'] = $mat['id']; return true; }elseif( isset($mat['cate_alias']) && isset($mat['id']) ) { // {cate_alias} {id} 合组 $_GET['cid'] = isset($cate_arr[$mat['cate_alias']]) ? $cate_arr[$mat['cate_alias']] : 0; empty($_GET['cid']) && core::error404(); $_GET['id'] = $mat['id']; return true; }elseif( isset($mat['password']) ) { // {password} $newurl = decrypt($mat['password']);//解密得到 cid_id preg_match("/^(\d+)\_(\d+)$/i", $newurl, $mat); if( isset($mat[2]) ) { $_GET['cid'] = $mat[1]; $_GET['id'] = $mat[2]; return true; } }elseif( isset($mat['alias']) ) { // {alias} preg_match("/^(\d+)\_(\d+)$/i", $mat['alias'], $mat2); //没有设置别名,将用 cid_id 组合 if( isset($mat2[2]) ) { $_GET['cid'] = $mat2[1]; $_GET['id'] = $mat2[2]; return true; } $row = $this->only_alias->get($mat['alias']); if(!empty($row)) { $_GET['cid'] = $row['cid']; $_GET['id'] = $row['id']; return true; } }elseif( isset($mat['hashids']) ) { // {hashids} $newurl = hashids_decrypt($mat['hashids']);//解密得到 cid id 数组 if(is_array($newurl) && isset($newurl[1])){ $_GET['cid'] = $newurl[0]; $_GET['id'] = $newurl[1]; return true; } } // 比如article/id.html,只能一个文章模型(多模型的不行,没法区分id属于那个模型的),因此丢到最后 if ( isset($mat['id']) && $this->integer_check($mat['id']) ){ $u_arr = explode('/', $uri); if( substr($cfg['link_show'], 0, strlen($u_arr[0])) == $u_arr[0] ){ $_GET['mid'] = 2; $_GET['id'] = $mat['id']; return true; } } } break; case 8: //HashIDS $newurl = hashids_decrypt($newurl);//解密得到 cid id 数组 if(is_array($newurl) && isset($newurl[1])){ $_GET['cid'] = $newurl[0]; $_GET['id'] = $newurl[1]; return true; } break; } unset($_GET['control']); unset($_GET['action']); return false; } //标签URL解析 protected function tag_url($cfg = array(), $uri = ''){ $len = strlen($cfg['link_tag_pre']); if(substr($uri, 0, $len) == $cfg['link_tag_pre']) { $len2 = strlen($cfg['link_tag_end']); if(substr($uri, -$len2) == $cfg['link_tag_end']) { $_GET['control'] = 'ta Lecms 3.0.3 错误

错误信息

  • 消息: [程序异常] : 类 parseurl_control 不存在
  • 文件: /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/core.class.php
  • 位置: 第115行

错误位置

    #111        }elseif(is_file(FRAMEWORK_PATH.'ext/network/'.$classname.'.php')) {
    #112            include FRAMEWORK_PATH.'ext/network/'.$classname.'.php';
    #113        }else{
    #114            if(!defined('VENDOR')){
    #115                throw new Exception("类 $classname 不存在");
    #116            }
    #117        }
    #118        DEBUG && $_ENV['_include'][] = $classname.' 类';
    #119        return class_exists($classname, false);
    #120    }

基本信息

  • 模型: /www/wwwroot/www.oohpm.cn/lecms/model/
  • 视图: /www/wwwroot/www.oohpm.cn/view/default/
  • 控制器: /www/wwwroot/www.oohpm.cn/lecms/control/_control.class.php
  • 日志目录: /www/wwwroot/www.oohpm.cn/runcache/logs/

程序流程

  • #0 [internal function]: core::autoload_handler()
  • #1 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/core.class.php(196): spl_autoload_call()
  • #2 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/core.class.php(125): core::parseurl_control()
  • #3 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/core.class.php(10): core::init_get()
  • #4 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/xiunophp.php(100): core::init_start()
  • #5 /www/wwwroot/www.oohpm.cn/index.php(20): require('/www/wwwroot/ww...')
  • #6 {main}

SQL

    $_GET

    • #rewrite => nbanews/11796.html

    $_POST

      $_COOKIE

        包含文件

        • #0 /www/wwwroot/www.oohpm.cn/index.php
        • #1 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/xiunophp.php
        • #2 /www/wwwroot/www.oohpm.cn/lecms/config/config.inc.php
        • #3 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/base.func.php
        • #4 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/core.class.php
        • #5 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/debug.class.php
        • #6 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/log.class.php
        • #7 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/model.class.php
        • #8 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/view.class.php
        • #9 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/lib/control.class.php
        • #10 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/db/db.interface.php
        • #11 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/db/db_mysqli.class.php
        • #12 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/cache/cache.interface.php
        • #13 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/cache/cache_memcache.class.php
        • #14 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/ext/network/Network__interface.php
        • #15 /www/wwwroot/www.oohpm.cn/lecms/config/plugin.inc.php
        • #16 /www/wwwroot/www.oohpm.cn/lecms/plugin/editor_um/conf.php
        • #17 /www/wwwroot/www.oohpm.cn/lecms/plugin/le_drafts/conf.php
        • #18 /www/wwwroot/www.oohpm.cn/lecms/plugin/le_import_txt/conf.php
        • #19 /www/wwwroot/www.oohpm.cn/lecms/plugin/le_links/conf.php
        • #20 /www/wwwroot/www.oohpm.cn/lecms/plugin/le_rand_pic/conf.php
        • #21 /www/wwwroot/www.oohpm.cn/lecms/plugin/le_sitemaps_pro_v303/conf.php
        • #22 /www/wwwroot/www.oohpm.cn/lecms/plugin/le_title_pic/conf.php
        • #23 /www/wwwroot/www.oohpm.cn/lecms/plugin/le_website_group/conf.php
        • #24 /www/wwwroot/www.oohpm.cn/lecms/plugin/le_zhanqunsitemaps_pro_v303/conf.php
        • #25 /www/wwwroot/www.oohpm.cn/lecms/plugin/models_filed/conf.php
        • #26 /www/wwwroot/www.oohpm.cn/runcache/misc.func.php
        • #27 /www/wwwroot/www.oohpm.cn/runcache/core_lang/zh-cn.php
        • #28 /www/wwwroot/www.oohpm.cn/runcache/lang/zh-cn.php
        • #29 /www/wwwroot/www.oohpm.cn/runcache/lecms_control/parseurl_control.class.php
        • #30 /www/wwwroot/www.oohpm.cn/lecms/xiunophp/tpl/exception.php

        其他信息

        • 请求路径: /nbanews/11796.html
        • 当前时间: 2026-02-13 03:11:44
        • 当前网协: 216.73.216.126
        • 运行时间: 0.0903
        • 内存开销: 776.08 KB
          Lecms 3.0.3