[0] HttpException in K2019.php line 817

  1. $str =$xml->saveXML();
  2. return Response::create($str)->contentType('text/xml');
  3. }
  4. public function media_detail()
  5. {
  6. $id = input('id');
  7. $info = Db::name('media')->where([['status','=',1],['id','=',$id]])->find();
  8. if(!$info) throw new \think\exception\HttpException(404);
  9. $like = Db::name('media')->where([['status','=',1],['id','neq',$id]])->orderRaw("RAND()")->limit(5)->select();
  10. $other = Db::name('media')->where([['status','=',1],['id','neq',$id],['channel_type','eq',$info['channel_type']]])->limit(5)->select();
  11. return $this->fetch($this->tpl.'/media_detail',['info'=>$info,'like'=>$like,'other'=>$other]);
  12. }
  13. public function wemedia_detail()
  14. {
  15. $id = input('id');
  16. $info = Db::name('wemedia')->where([['status','=',1],['id','=',$id]])->find();

Call Stack

  1. in K2019.php line 817
  2. at K2019->media_detail()
  3. at ReflectionMethod->invokeArgs(object(K2019), []) in Container.php line 395
  4. at Container->invokeReflectMethod(object(K2019), object(ReflectionMethod), ['id' => '23246', 'convert' => false]) in Module.php line 131
  5. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  6. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  7. at Middleware->think\{closure}(object(Request))
  8. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  9. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  10. at Module->exec() in Dispatch.php line 168
  11. at Dispatch->run() in App.php line 432
  12. at App->think\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request)) in App.php line 435
  17. at App->run() in index.php line 24

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
www.szyjtcm.cn { "visiter": true, "cc_times": 1, "cc_lasttime": 1710816944 }
Server/Request Data
USER www
HOME /home/www
HTTP_X_FORWARDED_FOR 52.90.181.205
HTTP_X_CLIENT_SCHEME https
HTTP_X_ALICDN_DA_VIA 61.160.192.99,47.102.25.67
HTTP_VIA cn6425.l1, l2et2.l2
HTTP_EAGLEEYE_TRACEID 3da0c01317108169440408214e
HTTP_ALI_SWIFT_STAT_HOST www.szyjtcm.cn
HTTP_ALI_SWIFT_LOG_HOST www.szyjtcm.cn
HTTP_ALI_SWIFT_FORCE_TTL_CODE 400=0
HTTP_ALI_CDN_REAL_PORT 47002
HTTP_ALI_CDN_REAL_IP 52.90.181.205
HTTP_ALI_CDN_APPVIEW_NAME cdn-tengine
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.szyjtcm.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.szyjtcm.cn
SERVER_PORT 80
SERVER_ADDR 172.19.36.121
REMOTE_PORT 52234
REMOTE_ADDR 47.102.25.40
SERVER_SOFTWARE nginx/1.21.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /disk2/erjidaili4.danews.cc/public
DOCUMENT_URI /index.php
REQUEST_URI /media/23246.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/media/23246.html
SCRIPT_FILENAME /disk2/erjidaili4.danews.cc/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710816944.0408
REQUEST_TIME 1710816944
Environment Variablesempty
ThinkPHP Constants
APP_PATH /disk2/erjidaili4.danews.cc/public/../application/
DS /
ROOT_PATH /disk2/erjidaili4.danews.cc/
FILTER_VALIDATE_BOOL 258