#0 [0]HttpException in FmlController.php line 54

文章不存在内容,无法显示该页面

  1. // }
  2. /*写入*/
  3. $fmlId = db("addons_fml")->insertGetId([
  4. "url" => $url,
  5. "item_id" => $articleInfo["id"],
  6. "add_time" => $addTime,
  7. "keywords" => $name,
  8. ]);
  9. } else {
  10. throw new \think\exception\HttpException(404, '文章不存在内容,无法显示该页面');
  11. }
  12. } else {
  13. /*根据查询到itemId 获取关联的 文章 信息*/
  14. $articleInfo = db('article')->where('id',$fmlInfo["item_id"])->find();
  15. if (!$articleInfo) {
  16. throw new \think\exception\HttpException(404, '文章不存在内容,无法显示该页面');
  17. }
  18. /*更新时间*/
  19. // if (config('addonsInfo')["fmlTime"] && config('keyInfo')['fmlTimeStatus']) {

Call Stack

  1. in FmlController.php line 54
  2. at FmlController->index()
  3. at ReflectionMethod->invokeArgs() in Container.php line 329
  4. at Container->invokeMethod() in Container.php line 362
  5. at Container->invoke() in Callback.php line 27
  6. at Callback->exec() in Dispatch.php line 90
  7. at Dispatch->run() in Route.php line 785
  8. at Route->think\{closure}() in Pipeline.php line 59
  9. at Pipeline->think\{closure}() in Pipeline.php line 66
  10. at Pipeline->then() in Route.php line 786
  11. at Route->dispatch() in Http.php line 216
  12. at Http->dispatchToRoute() in Http.php line 206
  13. at Http->think\{closure}() in Pipeline.php line 59
  14. at Pipeline->think\{closure}() in Init.php line 50
  15. at Init->handle()
  16. at call_user_func() in Middleware.php line 142
  17. at Middleware->think\{closure}() in Pipeline.php line 85
  18. at Pipeline->think\{closure}() in CheckDomain.php line 102
  19. at CheckDomain->handle()
  20. at call_user_func() in Middleware.php line 142
  21. at Middleware->think\{closure}() in Pipeline.php line 85
  22. at Pipeline->think\{closure}() in TraceDebug.php line 71
  23. at TraceDebug->handle()
  24. at call_user_func() in Middleware.php line 142
  25. at Middleware->think\{closure}() in Pipeline.php line 85
  26. at Pipeline->think\{closure}() in Pipeline.php line 66
  27. at Pipeline->then() in Http.php line 207
  28. at Http->runWithRequest() in Http.php line 170
  29. 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_REFERER https://dongtongxin.com/zhzx/65533.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.dongtongxin.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME dongtongxin.com
SERVER_PORT 443
SERVER_ADDR 45.158.228.125
REMOTE_PORT 41686
REMOTE_ADDR 18.234.139.149
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/fa888
DOCUMENT_URI /index.php
REQUEST_URI /zhzx/65533.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/zhzx/65533.html
SCRIPT_FILENAME /www/wwwroot/fa888/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711648981.1717
REQUEST_TIME 1711648981