[0] HttpException in Index.php line 169

页面不存在

  1. if (empty($id)) {
  2. $diy = $this->request->param('diyurl/s', 0);
  3. }
  4. $page = $this->request->param('page/d', 1);
  5. $page = max(1, $page);
  6. //获取栏目数据
  7. $category = getCategory($cat);
  8. if (empty($category)) {
  9. throw new \think\exception\HttpException(404, patch('PageNot'));
  10. }
  11. $catid = $category['id'];
  12. $catname = $category['catname'];
  13. //模型ID
  14. $modelid = $category['modelid'];
  15. $modelInfo = cache('Model')[$modelid];
  16. if (empty($modelInfo)) {
  17. throw new \think\exception\HttpException(404, patch('PageNot'));

Call Stack

  1. in Index.php line 169
  2. at Index->shows()
  3. at ReflectionMethod->invokeArgs() in Container.php line 422
  4. at Container->invokeReflectMethod() in Module.php line 131
  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 136
  10. at Module->exec() in Dispatch.php line 169
  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 42

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
think_var zh-cn
think_site_id 1
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER http://www.yjdsj.com/index.php/xyxw/247.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.yjdsj.com
PATH_INFO /xyxw/247.html
REDIRECT_STATUS 200
SERVER_NAME yjdsj.com
SERVER_PORT 443
SERVER_ADDR 10.0.8.6
REMOTE_PORT 37520
REMOTE_ADDR 3.236.19.251
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/yjdsj_home/public
DOCUMENT_URI /index.php/xyxw/247.html
REQUEST_URI /index.php/xyxw/247.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/yjdsj_home/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/xyxw/247.html
REQUEST_TIME_FLOAT 1711656728.5359
REQUEST_TIME 1711656728
Environment Variablesempty
ThinkPHP Constants
IF_PUBLIC true
ROOT_PATH /www/wwwroot/yjdsj_home/public/../
APP_PATH /www/wwwroot/yjdsj_home/public/../application/
DS /
ADDON_PATH /www/wwwroot/yjdsj_home/public/../addons/
ROOT_URL /
TEMPLATE_PATH /www/wwwroot/yjdsj_home/public/../templates/
FILTER_VALIDATE_BOOL 258
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