#0 [404]Exception in Index.php line 168

页面不存在

  1. * @Author: VieTrue
  2. * @Time: 2023/9/23 11:54
  3. */
  4. public function showPage($cateDir, $cmsDir)
  5. {
  6. $page = $this->request->param('page/d', 1);
  7. $page = max(1, $page);
  8. $cateInfo = getCateInfo($cateDir);
  9. if (empty($cateInfo)) {
  10. throw new \think\Exception(lang('The page does not exist'), 404);
  11. }
  12. $catId = $cateInfo['id'];
  13. $modelInfo = getModelInfo($cateInfo['modelid']);
  14. if (empty($modelInfo)) {
  15. throw new \think\Exception(lang('The page does not exist'), 404);
  16. }
  17. if (!is_numeric($cmsDir)) {
  18. $info = getCateContentInfo($catId, $cmsDir, 'custom_url');
  19. } else {

Call Stack

  1. in Index.php line 168
  2. at Index->showPage('static', 'cms') in Index.php line 82
  3. at Index->entrance()
  4. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 344
  5. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), []) in Controller.php line 110
  6. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  7. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  8. at Pipeline->then(object(Closure)) in Controller.php line 113
  9. at Controller->exec() in Dispatch.php line 80
  10. at Dispatch->run() in Route.php line 793
  11. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  12. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  13. at Pipeline->then(object(Closure)) in Route.php line 794
  14. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  15. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  16. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  17. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 51
  18. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  19. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  20. at Pipeline->then(object(Closure)) in MultiApp.php line 52
  21. at MultiApp->handle(object(Request), object(Closure))
  22. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  23. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  24. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  25. at SessionInit->handle(object(Request), object(Closure))
  26. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  27. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  28. at Pipeline->think\{closure}(object(Request)) in LoadLangPack.php line 57
  29. at LoadLangPack->handle(object(Request), object(Closure))
  30. at call_user_func([object(LoadLangPack), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  31. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  32. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  33. at Pipeline->then(object(Closure)) in Http.php line 207
  34. at Http->runWithRequest(object(Request)) in Http.php line 170
  35. at Http->run() in index.php line 45

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
first_visit_url https://www.szsinbo100.com/static/cms/images/fotxiangyou1.svg
Server/Request Data
DOCUMENT_ROOT /usr/home/wh-ah5vcl2kx06p9ebp3sn/htdocs/public
GATEWAY_INTERFACE CGI/1.1
HTTPS on
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE zh-CN,zh;q=0.9,en;q=0.8
HTTP_HOST www.szsinbo100.com
HTTP_REFERER https://www.szsinbo100.com/static/cms/images/fotxiangyou1.svg
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
PATH /bin
PHPRC /var/www/php74/hichina_ini/wh-ah5vcl2kx06p9ebp3sn
QUERY_STRING
REDIRECT_DOCUMENT_ROOT /usr/home/wh-ah5vcl2kx06p9ebp3sn/htdocs/public
REDIRECT_GATEWAY_INTERFACE CGI/1.1
REDIRECT_HTTPS on
REDIRECT_HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
REDIRECT_HTTP_ACCEPT_ENCODING gzip, deflate
REDIRECT_HTTP_ACCEPT_LANGUAGE zh-CN,zh;q=0.9,en;q=0.8
REDIRECT_HTTP_HOST www.szsinbo100.com
REDIRECT_HTTP_REFERER https://www.szsinbo100.com/static/cms/images/fotxiangyou1.svg
REDIRECT_HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
REDIRECT_PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO static/cms/images/fotxiangyou1.svg
REDIRECT_PATH_TRANSLATED redirect:/index.php/fotxiangyou1.svg
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR 182.109.180.94
REDIRECT_REMOTE_PORT 39577
REDIRECT_REQUEST_METHOD GET
REDIRECT_REQUEST_URI /static/cms/images/fotxiangyou1.svg
REDIRECT_SCRIPT_FILENAME /usr/home/wh-ah5vcl2kx06p9ebp3sn/htdocs/public/static/cms
REDIRECT_SCRIPT_NAME /static/cms
REDIRECT_SERVER_ADDR 10.23.159.2
REDIRECT_SERVER_ADMIN webmaster@wh-ah5vcl2kx06p9ebp3sn.my3w.com
REDIRECT_SERVER_NAME www.szsinbo100.com
REDIRECT_SERVER_PORT 443
REDIRECT_SERVER_PROTOCOL HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE Apache
REDIRECT_SSL_TLS_SNI www.szsinbo100.com
REDIRECT_STATUS 200
REDIRECT_TZ Asia/Shanghai
REDIRECT_UNIQUE_ID aT@X9woXnwIAAl9PPKoAAAAH
REDIRECT_URL /static/cms/images/fotxiangyou1.svg
REMOTE_ADDR 182.109.180.94
REMOTE_PORT 39577
REQUEST_METHOD GET
REQUEST_URI /static/cms/images/fotxiangyou1.svg
SCRIPT_FILENAME /usr/home/wh-ah5vcl2kx06p9ebp3sn/htdocs/public/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 10.23.159.2
SERVER_ADMIN webmaster@wh-ah5vcl2kx06p9ebp3sn.my3w.com
SERVER_NAME www.szsinbo100.com
SERVER_PORT 443
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SSL_TLS_SNI www.szsinbo100.com
TZ Asia/Shanghai
UNIQUE_ID aT@X9woXnwIAAl9PPKoAAAAH
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1765775351.4036
REQUEST_TIME 1765775351