Error

模板标签写法错误:Undefined constant "catid"
变量或者常量没有定义 "catid"
/www/wwwroot/es.shcmfg.com/caches/caches_template/monster-9588/content/header.php(37) 搜索问题 →

模板文件:/www/wwwroot/es.shcmfg.com/cms/templates/monster-9588/content/index.html

模板文件:/www/wwwroot/es.shcmfg.com/cms/templates/monster-9588/content/header-meta.html

模板文件:/www/wwwroot/es.shcmfg.com/cms/templates/monster-9588/content/header.html

解析文件:/www/wwwroot/es.shcmfg.com/caches/caches_template/monster-9588/content/header.php at line 37

30                             <li class="rd-nav-item">
31                                 <a class="rd-nav-link" href="<?php echo dr_site_info('domain',$siteid);?>">Inicio</a>
32                             </li>
33                             <?php $n=1; if (isset($data) && is_array($data) && $data) { $key_r=-1;$count_r=dr_count($data);foreach ($data as $r) { $key_r++; $is_first=$key_r==0 ? 1 : 0;$is_last=$count_r==$key_r+1 ? 1 : 0;?>
34                             <?php if($r['child']) { ?>
35 
36                             <li
37                                 class="rd-nav-item <?php if(($r[catid])==$catid or ($r[catid])==$CATEGORYS[$catid][parentid]) { ?>active<?php } ?>">
38                                 <a class="rd-nav-link" href="<?php echo $r['url']; ?>"><?php echo $r[catname]; ?></a>
39                                 <?php if(defined('IS_ADMIN') && IS_ADMIN && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=3d78551d7e40a4354a304700c81fc206&action=category&catid=%24r%5Bcatid%5D&num=60&order=listorder+ASC&return=data2\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data2 = $content_tag->category(array('catid'=>$r[catid],'order'=>'listorder ASC','limit'=>'60',));}?>
40                                 <?php if($data2) { ?>
41                                 <ul class="rd-menu rd-navbar-dropdown">
42                                     <?php $n=1; if (isset($data2) && is_array($data2) && $data2) { $key_v=-1;$count_v=dr_count($data2);foreach ($data2 as $v) { $key_v++; $is_first=$key_v==0 ? 1 : 0;$is_last=$count_v==$key_v+1 ? 1 : 0;?>
43                                     <li class="rd-dropdown-item">
44                                         <a class="rd-dropdown-link " href="<?php echo $v['url']; ?>"><?php echo $v['catname']; ?></a>
  1. include /www/wwwroot/es.shcmfg.com/caches/caches_template/monster-9588/content/index.php   —   include()

  2. include /www/wwwroot/es.shcmfg.com/cms/libs/classes/service.class.php   —   include()

  3. /www/wwwroot/es.shcmfg.com/cms/modules/content/index.php : 68   —  service->display ()

    61                     define('IS_HTML', 0);
    62                 }
    63                 pc_base::load_sys_class('service')->display('mobile','index',$default_style);
    64             }
    65         }else{
    66             define('ISMOBILE', 0);
    67             define('IS_HTML', dr_site_info('ishtml', $siteid));
    68             pc_base::load_sys_class('service')->display('content','index',$default_style);
    69         }
    70     }
    71     //列表页
    72     public function lists() {
    73         if (IS_POST) {
    74             dr_json(0, L('禁止提交,请检查提交地址是否有误'));
    75         }
    
  4. /www/wwwroot/es.shcmfg.com/cms/libs/classes/application.class.php : 114   —  index->init ()

    107                 throw new \OutOfBoundsException('API处理程序不存在<br>检查此文件是否存在:'.CMS_PATH.'api/'.$op.'.php,检查地址是否正确,注意控制器文件');
    108             }
    109         } else {
    110             if (method_exists($controller, ROUTE_A)) {
    111                 if (preg_match('/^[_]/i', ROUTE_A)) {
    112                     exit('You are visiting the action is to protect the private action');
    113                 } else {
    114                     call_user_func(array($controller, ROUTE_A));
    115                     if (IS_ADMIN && CI_DEBUG && !IS_AJAX) {
    116                         if (!in_array(ROUTE_M, array('admin')) || !in_array(ROUTE_C, array('index')) && !in_array(ROUTE_A, array('public_main'))) {
    117                             $this->debug->message();
    118                         }
    119                     }
    120                     if (!IS_ADMIN && IS_DEV && !IS_AJAX) {
    121                         $this->debug->message();
    
  5. /www/wwwroot/es.shcmfg.com/cms/libs/classes/application.class.php : 57   —  application->init ()

    50         }
    51         // 是否前端
    52         define('IS_HOME', !IS_ADMIN && !IS_MEMBER);
    53         if (IS_ADMIN) {
    54             // 开启session
    55             $this->session();
    56         }
    57         $this->init();
    58         // 挂钩点 程序结束之后
    59         pc_base::load_sys_class('hooks')::trigger('cms_close');
    60     }
    61     
    62     /**
    63      * 调用件事
    64      */
    
  6. /www/wwwroot/es.shcmfg.com/cms/base.php : 466   —  application->__construct ()

    459             include PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php';
    460             $name = $classname;
    461             if ($my_path = self::my_path(PC_PATH.$path.DIRECTORY_SEPARATOR.$classname.'.class.php')) {
    462                 include $my_path;
    463                 $name = 'MY_'.$classname;
    464             }
    465             if ($initialize) {
    466                 $classes[$key] = new $name;
    467             } else {
    468                 $classes[$key] = true;
    469             }
    470             // 站群系统接入
    471             if (is_file(CMS_PATH.'api/fclient/sync.php')) {
    472                 $sync = require CMS_PATH.'api/fclient/sync.php';
    473                 if ($sync['status'] == 4) {
    
  7. /www/wwwroot/es.shcmfg.com/cms/base.php : 417   —  pc_base::_load_class ()

    410     /**
    411      * 加载系统类方法
    412      * @param string $classname 类名
    413      * @param string $path 扩展地址
    414      * @param intger $initialize 是否初始化
    415      */
    416     public static function load_sys_class($classname, $path = '', $initialize = 1) {
    417         return self::_load_class($classname, $path, $initialize);
    418     }
    419     
    420     /**
    421      * 加载应用类方法
    422      * @param string $classname 类名
    423      * @param string $m 模块
    424      * @param intger $initialize 是否初始化
    
  8. /www/wwwroot/es.shcmfg.com/cms/base.php : 408   —  pc_base::load_sys_class ()

    401 
    402 class pc_base {
    403     
    404     /**
    405      * 初始化应用程序
    406      */
    407     public static function creat_app() {
    408         return self::load_sys_class('application');
    409     }
    410     /**
    411      * 加载系统类方法
    412      * @param string $classname 类名
    413      * @param string $path 扩展地址
    414      * @param intger $initialize 是否初始化
    415      */
    
  9. /www/wwwroot/es.shcmfg.com/index.php : 40   —  pc_base::creat_app ()

    33 // 判断安装
    34 if (file_exists('install') && is_file(CACHE_PATH.'install.lock')) {
    35     dr_dir_delete('install', TRUE);
    36 }
    37 // 结束,安装之后可以删除此段代码
    38 
    39 // 执行主程序
    40 pc_base::creat_app();
    

$_SERVER

Key Value
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 45103
SCRIPT_FILENAME /www/wwwroot/es.shcmfg.com/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/es.shcmfg.com/
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /www/wwwroot/es.shcmfg.com/
REMOTE_ADDR 216.73.217.152
SERVER_PORT 443
SERVER_ADDR 172.17.3.163
SERVER_NAME es.shcmfg.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at es.shcmfg.com Port 443</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST es.shcmfg.com
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
proxy-nokeepalive 1
H2_STREAM_TAG 2865607-0-3
H2_STREAM_ID 3
H2_PUSHED_ON
H2_PUSHED
H2_PUSH off
H2PUSH off
HTTP2 on
SSL_TLS_SNI es.shcmfg.com
HTTPS on
SCRIPT_URI https://es.shcmfg.com/index.php
SCRIPT_URL /index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT
1792703417.2905                                                                    
REQUEST_TIME
1792703417                                                                    

$_SESSION

Key Value
cms_last_regenerate
1792703417                                                                    
cms_previous_url https://es.shcmfg.com/index.php

Constants

Key Value
IS_DEV 1
IS_ADMIN
IS_MOBILE
SELF index.php
CMS_PATH /www/wwwroot/es.shcmfg.com/
IN_CMS 1
IN_PHPCMS 1
IS_API
IS_COLLAPI
PC_PATH /www/wwwroot/es.shcmfg.com/cms/
PHPCMS_PATH /www/wwwroot/es.shcmfg.com/
CACHE_PATH /www/wwwroot/es.shcmfg.com/caches/
CONFIGPATH /www/wwwroot/es.shcmfg.com/caches/configs/
HTTP_REFERER
SYS_START_TIME 1792703417.2918
SYS_START_MEM 518056
MIN_PHP_VERSION 7.1.0
SYS_TIMEZONE 8
CHARSET utf-8
SYS_TPL_ROOT templates/
TPLPATH /www/wwwroot/es.shcmfg.com/cms/templates/
SYS_TIME_FORMAT
SYS_ADMIN_PAGESIZE 10
TEMPPATH /www/wwwroot/es.shcmfg.com/cms/temp/
IS_AJAX
IS_POST
IS_AJAX_POST
SYS_TIME 1792703417
SYS_BDMAP_API IwSaOpW6EwaKnJgmhgDTTu74GD3jp7KQ
WEB_PATH /
SITE_THEME 0
JS_PATH https://es.shcmfg.com/statics/js/
CSS_PATH https://es.shcmfg.com/statics/css/
IMG_PATH https://es.shcmfg.com/statics/images/
MOBILE_JS_PATH https://es.shcmfg.com/mobile/statics/js/
MOBILE_CSS_PATH https://es.shcmfg.com/mobile/statics/css/
MOBILE_IMG_PATH https://es.shcmfg.com/mobile/statics/images/
APP_PATH https://es.shcmfg.com/
MOBILE_PATH https://es.shcmfg.com/mobile/
SYS_DEBUG 1
SYS_EDITOR 1
SESSION_STORAGE file
SESSION_TTL 1800
SESSION_SAVEPATH /www/wwwroot/es.shcmfg.com/caches/sessions/
COOKIE_PRE CMSE6E77A45A050E_
COOKIE_DOMAIN
COOKIE_PATH
SYS_ADMIN_PATH wpadmin
NeedCheckComeUrl 1
SYS_KEY CMSc286bdba7ee82bf764ec8f431532e178
SYS_LANGUAGE zh-cn
SYS_GO_404 1
SYS_301 1
SYS_URL_ONLY 0
SYS_TOKEN_NAME csrf_test_name
SYS_CSRF 1
SYS_CSRF_TIME 0
SYS_TPL_NAME default
IS_EDIT_TPL 1
SYS_ADMIN_LOG 1
SYS_GZIP 1
ADMIN_FOUNDERS
Array
(
    [0] => 1
)
                                                                    
SYS_HTML_ROOT
SYS_MOBILE_ROOT /mobile
SYS_KEYWORDAPI 0
SYS_BAIDU_AID
SYS_BAIDU_SKEY
SYS_BAIDU_ARCRETKEY
SYS_BAIDU_QCNUM 0
SYS_XUNFEI_AID
SYS_XUNFEI_SKEY
SYS_ATTACHMENT_STAT 1
SYS_ATTACHMENT_FILE 0
SYS_ATTACHMENT_DEL 0
SYS_ATTACHMENT_SAVE_ID 0
SYS_ATTACHMENT_CF 1
SYS_ATTACHMENT_PAGESIZE 30
SYS_ATTACHMENT_SAFE 0
SYS_ATTACHMENT_PATH
SYS_ATTACHMENT_URL
SYS_ATTACHMENT_SAVE_TYPE 0
SYS_ATTACHMENT_SAVE_DIR
CI_DEBUG 1
IS_DEBUG 0
SYS_CACHE 0
SYS_CACHE_TYPE 0
SYS_CACHE_CLEAR 0
SYS_CACHE_SHOW 0
SYS_CACHE_SMS 60
SYS_UPLOAD_PATH /www/wwwroot/es.shcmfg.com/uploadfile/
SYS_UPLOAD_URL https://es.shcmfg.com/uploadfile/
SYS_AVATAR_PATH /www/wwwroot/es.shcmfg.com/uploadfile/avatar/
SYS_AVATAR_URL https://es.shcmfg.com/uploadfile/avatar/
SYS_THUMB_PATH /www/wwwroot/es.shcmfg.com/uploadfile/thumb/
SYS_THUMB_URL https://es.shcmfg.com/uploadfile/thumb/
SITE_PROTOCOL https://
FC_NOW_URL https://es.shcmfg.com/index.php
FC_NOW_HOST https://es.shcmfg.com/
DOMAIN_NAME es.shcmfg.com
WEB_DIR /
CMSURI
SITE_ID 1
ROOT_URL https://es.shcmfg.com/
SITE_URL https://es.shcmfg.com
SITE_MURL
ROUTE_M content
ROUTE_C index
ROUTE_A init
IS_MEMBER
IS_HOME 1
EVENT_PRIORITY_LOW 200
EVENT_PRIORITY_NORMAL 10
EVENT_PRIORITY_HIGH 10
CACHE_MODEL_PATH /www/wwwroot/es.shcmfg.com/caches/caches_model/caches_data/
SITEID 1
ISMOBILE 0
IS_HTML 1
Path https://es.shcmfg.com/index.php
HTTP Method GET
IP Address 216.73.217.152
Is AJAX? no
Is CLI? no
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
No $_GET, $_POST, or $_COOKIE Information to show.

Headers

Header Value
Host es.shcmfg.com
Accept-Encoding gzip, br, zstd, deflate
User-Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Accept */*
  1. /www/wwwroot/es.shcmfg.com/index.php
  2. /www/wwwroot/es.shcmfg.com/cms/base.php
  3. /www/wwwroot/es.shcmfg.com/caches/configs/system.php
  4. /www/wwwroot/es.shcmfg.com/caches/configs/cache.php
  5. /www/wwwroot/es.shcmfg.com/cms/libs/functions/global.func.php
  6. /www/wwwroot/es.shcmfg.com/cms/libs/functions/extention.func.php
  7. /www/wwwroot/es.shcmfg.com/cms/libs/classes/cache.class.php
  8. /www/wwwroot/es.shcmfg.com/cms/libs/classes/application.class.php
  9. /www/wwwroot/es.shcmfg.com/cms/libs/classes/debug.class.php
  10. /www/wwwroot/es.shcmfg.com/cms/libs/classes/param.class.php
  11. /www/wwwroot/es.shcmfg.com/caches/configs/route.php
  12. /www/wwwroot/es.shcmfg.com/cms/libs/classes/input.class.php
  13. /www/wwwroot/es.shcmfg.com/cms/libs/classes/security.class.php
  14. /www/wwwroot/es.shcmfg.com/cms/libs/classes/service.class.php
  15. /www/wwwroot/es.shcmfg.com/cms/modules/admin/config/hooks.php
  16. /www/wwwroot/es.shcmfg.com/cms/libs/classes/hooks.class.php
  17. /www/wwwroot/es.shcmfg.com/cms/modules/admin/config/filters.php
  18. /www/wwwroot/es.shcmfg.com/cms/modules/member/config/hooks.php
  19. /www/wwwroot/es.shcmfg.com/cms/modules/member/config/filters.php
  20. /www/wwwroot/es.shcmfg.com/cms/modules/attachment/config/filters.php
  21. /www/wwwroot/es.shcmfg.com/caches/configs/hooks.php
  22. /www/wwwroot/es.shcmfg.com/cms/modules/content/index.php
  23. /www/wwwroot/es.shcmfg.com/cms/modules/content/functions/util.func.php
  24. /www/wwwroot/es.shcmfg.com/cms/modules/content/functions/global.func.php
  25. /www/wwwroot/es.shcmfg.com/cms/model/content_model.class.php
  26. /www/wwwroot/es.shcmfg.com/cms/libs/classes/model.class.php
  27. /www/wwwroot/es.shcmfg.com/cms/libs/classes/db_factory.class.php
  28. /www/wwwroot/es.shcmfg.com/cms/libs/classes/upload.class.php
  29. /www/wwwroot/es.shcmfg.com/caches/configs/database.php
  30. /www/wwwroot/es.shcmfg.com/cms/libs/classes/db_mysqli.class.php
  31. /www/wwwroot/es.shcmfg.com/cms/modules/content/classes/url.class.php
  32. /www/wwwroot/es.shcmfg.com/cms/model/category_model.class.php
  33. /www/wwwroot/es.shcmfg.com/cms/libs/classes/session.class.php
  34. /www/wwwroot/es.shcmfg.com/cms/libs/classes/session_file.class.php
  35. /www/wwwroot/es.shcmfg.com/cms/model/member_lock_model.class.php
  36. /www/wwwroot/es.shcmfg.com/cms/model/member_login_model.class.php
  37. /www/wwwroot/es.shcmfg.com/cms/model/admin_model.class.php
  38. /www/wwwroot/es.shcmfg.com/cms/model/admin_login_model.class.php
  39. /www/wwwroot/es.shcmfg.com/cms/libs/classes/template_cache.class.php
  40. /www/wwwroot/es.shcmfg.com/caches/caches_template/monster-9588/content/index.php
  41. /www/wwwroot/es.shcmfg.com/caches/caches_template/monster-9588/content/header-meta.php
  42. /www/wwwroot/es.shcmfg.com/caches/caches_template/monster-9588/content/header.php
  43. /www/wwwroot/es.shcmfg.com/cms/modules/content/classes/content_tag.class.php
  44. /www/wwwroot/es.shcmfg.com/cms/model/position_data_model.class.php
  45. /www/wwwroot/es.shcmfg.com/cms/model/attachment_model.class.php
  46. /www/wwwroot/es.shcmfg.com/cms/temp/errors/html/error_exception.php
Memory Usage 6MB
Peak Memory Usage: 6MB
Memory Limit: 128M