#0 [0]HttpException in InfoView.php line 46

  1. $this->r=array_merge($zb_r,$fb_r);
  2. //判断是否有站外链接,如果有跳转链接直接跳转过去
  3. if(strstr($this->r["titleurl"],"http://")){
  4. redirect($this->r["titleurl"]);
  5. exit;
  6. }
  7. // 有自定义链接 禁止原来的cat地址跳转
  8. if($this->r["titleurl"]){
  9. if($this->r["titleurl"] != $this->request->url()){
  10. throw new \think\exception\HttpException(404);
  11. }
  12. }
  13. if(!$this->r){
  14. $this->error("信息不存在!");
  15. }
  16. //替换关键词锚文本
  17. if(isset($this->r['newstext'])){
  18. $this->r['newstext'] = $this->replace_key_url($this->r['newstext']);
  19. }

Call Stack

  1. in InfoView.php line 46
  2. at InfoView->__construct()
  3. at ReflectionClass->newInstanceArgs() in Container.php line 392
  4. at Container->invokeClass() in Container.php line 309
  5. at Container->invokeMethod() in Container.php line 361
  6. at Container->invoke() in Callback.php line 27
  7. at Callback->exec() in Dispatch.php line 89
  8. at Dispatch->run() in Route.php line 772
  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 773
  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 MultiApp.php line 65
  16. at MultiApp->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 SessionInit.php line 67
  20. at SessionInit->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 LoadLangPack.php line 59
  24. at LoadLangPack->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 TraceDebug.php line 71
  28. at TraceDebug->handle()
  29. at call_user_func() in Middleware.php line 142
  30. at Middleware->think\{closure}() in Pipeline.php line 85
  31. at Pipeline->think\{closure}() in Pipeline.php line 66
  32. at Pipeline->then() in Http.php line 207
  33. at Http->runWithRequest() in Http.php line 170
  34. at Http->run() in index.php line 16

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.excellift.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME excellift.cn
SERVER_PORT 443
SERVER_ADDR 172.25.84.87
REMOTE_PORT 49244
REMOTE_ADDR 54.165.122.173
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/excellift.ali6.jijinweb.com/public
DOCUMENT_URI /index.php
REQUEST_URI /product/bridgecrane/60.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/product/bridgecrane/60.html
SCRIPT_FILENAME /www/wwwroot/excellift.ali6.jijinweb.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711655924.9685
REQUEST_TIME 1711655924
0.012900s