[2] ErrorException in Listnews.php line 89

file_get_contents(/app/home/view/tpl/public/404.html): failed to open stream: No such file or directory

  1. echo file_get_contents(__ROOT__ ."/app/home/view/tpl/public/404.html");
  2. exit;
  3. }
  4. }
  5. $category = DB("Category")->where("enname='".input("cid")."' and admin_id=".$website['admin_id'])->find();
  6. if(empty($category)){
  7. header("HTTP/1.0 404 Not Found");
  8. echo file_get_contents(__ROOT__ ."/app/home/view/tpl/public/404.html");
  9. exit;
  10. }
  11. $website["site_host"]="http://".$website['site_host'];
  12. $this->assign('website', $website);
  13. $this->assign('admin_id', $website['admin_id']);
  14. //客户信息
  15. $admin = DB("Admin")->where("id=".$website['admin_id'])->find();

Call Stack

  1. in Listnews.php line 89
  2. at Error::appError(2, 'file_get_contents(/a...', '/mnt/server/www/bms_...', 89, ['reci' => [], 'yuming' => 'bygood.cn', 'qianzhui' => 'www', ...])
  3. at file_get_contents('/app/home/view/tpl/p...') in Listnews.php line 89
  4. at Listnews->index()
  5. at ReflectionMethod->invokeArgs(object(Listnews), []) in Container.php line 355
  6. at Container->invokeReflectMethod(object(Listnews), object(ReflectionMethod), ['cid' => 'a/news/cjwt', 'fzid' => '', 'fcid' => '', ...]) in Module.php line 133
  7. at Module->exec() in Dispatch.php line 165
  8. at Dispatch->run() in App.php line 433
  9. at App->think\{closure}(object(Request), object(Closure), null)
  10. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 142
  11. at Middleware->think\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Middleware.php line 94
  13. at Middleware->dispatch(object(Request)) in App.php line 456
  14. at App->run() in index.php line 21

Environment Variables

GET Data
cid a/news/cjwt
fzid
fcid
page
m pc
bs kehu
yuming bygood.cn
qianzhui www
site_id www
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER _REFERER_
HTTP_ACCEPT */*
HTTP_USER_AGENT _USERAGENT_
HTTP_HOST 47.104.173.57:232
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME *.jz.88559.net
SERVER_PORT 232
SERVER_ADDR 172.31.119.248
REMOTE_PORT 56462
REMOTE_ADDR 47.238.150.127
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /mnt/server/www/bms_wz
DOCUMENT_URI /index.php
REQUEST_URI /home/Listnews/index?cid=a/news/cjwt&fzid=&fcid=&page=&m=pc&bs=kehu&yuming=bygood.cn&qianzhui=www&site_id=www
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/home/Listnews/index&cid=a/news/cjwt&fzid=&fcid=&page=&m=pc&bs=kehu&yuming=bygood.cn&qianzhui=www&site_id=www
SCRIPT_FILENAME /mnt/server/www/bms_wz/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1721716261.9398
REQUEST_TIME 1721716261
Environment Variablesempty
ThinkPHP Constants
APP_PATH /mnt/server/www/bms_wz/app/
QINIU_FUNCTIONS_VERSION 7.2.3
__ROOT__