[404] Exception in Index.php line 147

栏目不存在!

  1. if ($category['setting']['show_template'] == 'show.html') {
  2. $this->error('内容不存在!');
  3. }
  4. $catid = $category['catid'] = $category['id'];
  5. unset($category['id']);
  6. // 模型ID
  7. $modelid = $category['modelid'];
  8. $modelInfo = cache('Model')[$modelid];
  9. if (empty($modelInfo)) {
  10. throw new \think\Exception('栏目不存在!', 404);
  11. }
  12. // 内容所有字段
  13. $ifcache = $this->cmsConfig['site_cache_time'] ? $this->cmsConfig['site_cache_time'] : false;
  14. if (empty($id) && !empty($uxurl)) {
  15. $info = $this->Cms_Model->getContent($modelid, "uxurl='{$uxurl}'", true, '*', '', $ifcache);
  16. } else {
  17. $info = $this->Cms_Model->getContent($modelid, "id={$id}", true, '*', '', $ifcache);
  18. }
  19. $id = $info['id'];

Call Stack

  1. in Index.php line 147
  2. at Index->shows()
  3. at ReflectionMethod->invokeArgs() in Container.php line 395
  4. at Container->invokeReflectMethod() in Module.php line 136
  5. at Module->think\route\dispatch\{closure}()
  6. at call_user_func_array() in Middleware.php line 185
  7. at Middleware->think\{closure}()
  8. at call_user_func() in Middleware.php line 130
  9. at Middleware->dispatch() in Module.php line 141
  10. at Module->exec() in Dispatch.php line 168
  11. at Dispatch->run() in App.php line 432
  12. at App->think\{closure}()
  13. at call_user_func_array() in Middleware.php line 185
  14. at Middleware->think\{closure}()
  15. at call_user_func() in Middleware.php line 130
  16. at Middleware->dispatch() in App.php line 435
  17. at App->run() in index.php line 23

Environment Variables

GET Data
itemid 449
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER http://www.demxs.com/Solution/info_17.aspx?itemid=449
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.demxs.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME 172.18.1.243
SERVER_PORT 443
SERVER_ADDR 172.18.1.243
REMOTE_PORT 49804
REMOTE_ADDR 3.81.79.135
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/cn_suochen
DOCUMENT_URI /index.php
REQUEST_URI /Solution/info_17.aspx?itemid=449
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/Solution/info_17.aspx&itemid=449
SCRIPT_FILENAME /www/wwwroot/cn_suochen/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711633002.8727
REQUEST_TIME 1711633002
Environment Variablesempty
ThinkPHP Constants
UX_ADMIN_URL @growthman1688
ROOT_PATH /www/wwwroot/cn_suochen/
APP_PATH /www/wwwroot/cn_suochen/application/
DS /
ADDON_PATH /www/wwwroot/cn_suochen/addons/
ROOT_URL /
TEMPLATE_PATH /www/wwwroot/cn_suochen/templates/
WEBSCAN_U_KEY fe6f9a5a18ffc667373f461bc9379d2c
WEBSCAN_API_LOG http://safe.webscan.360.cn/papi/log/?key=fe6f9a5a18ffc667373f461bc9379d2c
WEBSCAN_UPDATE_FILE http://safe.webscan.360.cn/papi/update/?key=fe6f9a5a18ffc667373f461bc9379d2c
WEBSCAN_VERSION 0.1.2.6
WEBSCAN_MD5 9e5c307374031bfabf49d7ab7e4737c7
FILTER_VALIDATE_BOOL 258
HTMLPURIFIER_PREFIX /www/wwwroot/cn_suochen/vendor/ezyang/htmlpurifier/library
PINYIN_DEFAULT 4096
PINYIN_TONE 2
PINYIN_NO_TONE 4
PINYIN_ASCII_TONE 8
PINYIN_NAME 16
PINYIN_KEEP_NUMBER 32
PINYIN_KEEP_ENGLISH 64
PINYIN_UMLAUT_V 128
PINYIN_KEEP_PUNCTUATION 256