#0 [0]HttpException in function.php line 40

页面不存在

  1. $fml = new \addons\fml\controller\FmlController(\app());
  2. return $fml->index();
  3. }
  4. if ($addonsInfo && isset($addonsInfo["pageNotFound"]) && $addonsInfo["pageNotFound"]["is_disable"] == 0) {
  5. $content = file_get_contents(ROOT_PATH . "addons" . DS . "pageNotFound" . DS . "view" . DS . "home" . DS . "pageNotFound.html" );
  6. $data = View::display($content);
  7. return Response::create($data,"html","404");
  8. } else {
  9. throw new \think\exception\HttpException(404, '页面不存在');
  10. }
  11. }
  12. function getCurrentSiteInfo() {
  13. $siteInfo = Get("siteInfo");
  14. if (!$siteInfo) {
  15. $siteInfo = request()->__get("siteInfo");
  16. }
  17. return $siteInfo;

Call Stack

  1. in function.php line 40
  2. at pageNotFound() in ArticleDetailHome.php line 48
  3. at ArticleDetailHome->index()
  4. at ReflectionMethod->invokeArgs() in Container.php line 329
  5. at Container->invokeMethod() in Container.php line 362
  6. at Container->invoke() in Callback.php line 27
  7. at Callback->exec() in Dispatch.php line 90
  8. at Dispatch->run() in Route.php line 785
  9. at Route->think\{closure}() in Pipeline.php line 59
  10. at Pipeline->think\{closure}() in Pipeline.php line 66
  11. at Pipeline->then() in Route.php line 786
  12. at Route->dispatch() in Http.php line 216
  13. at Http->dispatchToRoute() in Http.php line 206
  14. at Http->think\{closure}() in Pipeline.php line 59
  15. at Pipeline->think\{closure}() in Init.php line 50
  16. at Init->handle()
  17. at call_user_func() in Middleware.php line 142
  18. at Middleware->think\{closure}() in Pipeline.php line 85
  19. at Pipeline->think\{closure}() in CheckDomain.php line 102
  20. at CheckDomain->handle()
  21. at call_user_func() in Middleware.php line 142
  22. at Middleware->think\{closure}() in Pipeline.php line 85
  23. at Pipeline->think\{closure}() in TraceDebug.php line 71
  24. at TraceDebug->handle()
  25. at call_user_func() in Middleware.php line 142
  26. at Middleware->think\{closure}() in Pipeline.php line 85
  27. at Pipeline->think\{closure}() in Pipeline.php line 66
  28. at Pipeline->then() in Http.php line 207
  29. at Http->runWithRequest() in Http.php line 170
  30. at Http->run() in index.php line 47

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.bcjzly.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.bcjzly.com
SERVER_PORT 80
SERVER_ADDR 45.158.228.126
REMOTE_PORT 57140
REMOTE_ADDR 18.232.169.110
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/fa888
DOCUMENT_URI /index.php
REQUEST_URI /jiaoyu/15787.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/jiaoyu/15787.html
SCRIPT_FILENAME /www/wwwroot/fa888/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711613328.5968
REQUEST_TIME 1711613328