[0] HttpException in Article.php line 84

栏目信息错误

  1. }
  2. $this->arcinfo['prev'] = Arc::getNear($id,$typeinfo['id'],'gt');
  3. $this->arcinfo['prev']['link_s'] = Db::name('category')->where(['id' => $typeinfo['id']])->value('catenname');
  4. $this->arcinfo['next'] = Arc::getNear($id,$typeinfo['id'],'lt');
  5. $this->arcinfo['next']['link_s'] = Db::name('category')->where(['id' => $typeinfo['id']])->value('catenname');
  6. $this->arcinfo['seotitle'] = empty($this->arcinfo['seotitle']) ? ($this->arcinfo['title'].'_'.$typeinfo['catname'].'_'.$this->sysconfig['webname']) : $this->arcinfo['seotitle'];
  7. }
  8. $this->assign(['type'=>$typeinfo,'article'=>$this->arcinfo,'title'=>$this->arcinfo['seotitle'],'keywords'=>$this->arcinfo['keywords'],'description'=>$this->arcinfo['description']]);
  9. }else{
  10. throw new \think\exception\HttpException(404, '栏目信息错误');
  11. }
  12. }else{
  13. throw new \think\exception\HttpException(404, '异常旧事 ');
  14. }
  15. }else{
  16. throw new \think\exception\HttpException(404, '异常旧事 ');
  17. }
  18. }

Call Stack

  1. in Article.php line 84
  2. at Article->_initialize() in Controller.php line 59
  3. at Controller->__construct(object(Request))
  4. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  5. at App::invokeClass('app\home\controller\...') in Loader.php line 479
  6. at Loader::controller('article', 'controller', false, 'Error') in App.php line 580
  7. at App::module([null, 'article', 'html'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  8. at App::exec(['type' => 'module', 'module' => [null, 'article', 'html'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/www.jhw...') in index.php line 19

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_REFERER
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.11 TaoBrowser/2.0 Safari/536.11
HTTP_HOST
www.aceshighapps.com
PATH_INFO
/cont/101.html
REDIRECT_STATUS
200
SERVER_NAME
www.aceshighapps.com
SERVER_PORT
80
SERVER_ADDR
10.15.35.2
REMOTE_PORT
47754
REMOTE_ADDR
103.37.1.42
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.aceshighapps.com
DOCUMENT_URI
/index.php
REQUEST_URI
/cont/101.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/cont/101.html
SCRIPT_FILENAME
/www/wwwroot/www.aceshighapps.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1656240028.6705
REQUEST_TIME
1656240028
Environment Variables
empty

ThinkPHP Constants

APP_VERSION
1.0.1
APP_PATH
/www/wwwroot/www.aceshighapps.com/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1656240028.672
THINK_START_MEM
379168
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.aceshighapps.com/thinkphp/
LIB_PATH
/www/wwwroot/www.aceshighapps.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.aceshighapps.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.aceshighapps.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.aceshighapps.com/
EXTEND_PATH
/www/wwwroot/www.aceshighapps.com/extend/
VENDOR_PATH
/www/wwwroot/www.aceshighapps.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.aceshighapps.com/runtime/
LOG_PATH
/www/wwwroot/www.aceshighapps.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.aceshighapps.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.aceshighapps.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.aceshighapps.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
Author
Atom
UPLOADDIR
/www/wwwroot/www.aceshighapps.com//uploads/