#0 [0]Exception in Info.php line 38

页面不存在或者已删除

  1. $this->category_list = SqlTable::getCategorylList();
  2. }
  3. public function category()
  4. {
  5. $diranme = $this->request->param("dirname");
  6. $dirname_list = array_column($this->category_list, null, 'encategorytit');
  7. if (!isset($dirname_list[$diranme]))
  8. throw new Exception('页面不存在或者已删除');
  9. $category = $dirname_list[$diranme];
  10. $this->catid = $category['id'];
  11. $this->category = $category;
  12. if ($category['istiaozhuan'] == 2 && !empty($category['tiaozhuan_url'])) {
  13. echo "<script type='text/javascript'>window.location.href='" . $category['tiaozhuan_url'] . "' </script>";
  14. return;
  15. }

Call Stack

  1. in Info.php line 38
  2. at Info->category()
  3. at ReflectionMethod->invokeArgs(object(Info), []) in Container.php line 344
  4. at Container->invokeReflectMethod(object(Info), object(ReflectionMethod), ['id' => '889', 'dirname' => 'showar.php']) in Controller.php line 110
  5. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  6. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  7. at Pipeline->then(object(Closure)) in Controller.php line 113
  8. at Controller->exec() in Dispatch.php line 90
  9. at Dispatch->run() in Route.php line 772
  10. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  11. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  12. at Pipeline->then(object(Closure)) in Route.php line 773
  13. at Route->dispatch(object(Request), object(Closure)) in Http.php line 217
  14. at Http->dispatchToRoute(object(Request)) in Http.php line 207
  15. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  16. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  17. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  18. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  19. at SessionInit->handle(object(Request), object(Closure))
  20. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  21. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  22. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  23. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  24. at MultiApp->handle(object(Request), object(Closure))
  25. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  26. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  27. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  28. at Pipeline->then(object(Closure)) in Http.php line 208
  29. at Http->runWithRequest(object(Request)) in Http.php line 170
  30. at Http->run() in index.php line 21

Environment Variables

GET Data
id 889
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
DOCUMENT_ROOT /usr/home/hyu4835960001/htdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_HOST www.fzxx.org
HTTP_USER_AGENT claudebot
PATH /bin
PHPRC /var/www/php74/hichina_ini/hyu4835960001
QUERY_STRING id=889
REDIRECT_DOCUMENT_ROOT /usr/home/hyu4835960001/htdocs
REDIRECT_GATEWAY_INTERFACE CGI/1.1
REDIRECT_HTTP_ACCEPT */*
REDIRECT_HTTP_HOST www.fzxx.org
REDIRECT_HTTP_USER_AGENT claudebot
REDIRECT_PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_QUERY_STRING id=889
REDIRECT_REMOTE_ADDR 44.213.99.37
REDIRECT_REMOTE_PORT 41432
REDIRECT_REQUEST_METHOD GET
REDIRECT_REQUEST_URI /showar.php?id=889
REDIRECT_SCRIPT_FILENAME /usr/home/hyu4835960001/htdocs/showar.php
REDIRECT_SCRIPT_NAME /showar.php
REDIRECT_SERVER_ADDR 10.21.144.212
REDIRECT_SERVER_ADMIN webmaster@hyu4835960001.my3w.com
REDIRECT_SERVER_NAME www.fzxx.org
REDIRECT_SERVER_PORT 80
REDIRECT_SERVER_PROTOCOL HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE Apache
REDIRECT_STATUS 200
REDIRECT_TZ Asia/Shanghai
REDIRECT_UNIQUE_ID ZfltEwoVkNQAMJM7O3cAAAAL
REDIRECT_URL /showar.php
REMOTE_ADDR 44.213.99.37
REMOTE_PORT 41432
REQUEST_METHOD GET
REQUEST_URI /showar.php?id=889
SCRIPT_FILENAME /usr/home/hyu4835960001/htdocs/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 10.21.144.212
SERVER_ADMIN webmaster@hyu4835960001.my3w.com
SERVER_NAME www.fzxx.org
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
TZ Asia/Shanghai
UNIQUE_ID ZfltEwoVkNQAMJM7O3cAAAAL
ORIG_PATH_INFO /showar.php
ORIG_PATH_TRANSLATED /usr/home/hyu4835960001/htdocs/index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710845203.6408
REQUEST_TIME 1710845203