[0]HttpExceptioninEmptyController.php line 15

  1. class EmptyController extends Common{
  2. protected $dao,$fields;
  3. public function initialize()
  4. {
  5. parent::initialize();
  6. }
  7. public function index(){
  8. $catId = intval(input('catId'));
  9. if(!$catId){
  10. throw new \think\exception\HttpException(404);
  11. }
  12. $this->assign('catInfo',db('category')->where('id',$catId)->find());
  13. if(ISPAGE==1){
  14. $info = Db::name(DBNAME)->where('id',$catId)->find();
  15. $this->assign('info',$info);
  16. if($info['template']){
  17. $template = $info['template'];
  18. }else{
  19. $info['template'] = Db::name('category')->where('id',$info['id'])->value('template_show');

Call Stack

  1. inEmptyController.php line 15
  2. atEmptyController->index()
  3. atReflectionMethod->invokeArgs(object(EmptyController), []) inContainer.php line 395
  4. atContainer->invokeReflectMethod(object(EmptyController),object(ReflectionMethod), ['catId' => 'index', 'convert' =>false]) inModule.php line 132
  5. atModule->think\route\dispatch\{closure}(object(Request),object(Closure),null)
  6. at call_user_func_array(object(Closure), [object(Request),object(Closure),null]) inMiddleware.php line 185
  7. atMiddleware->think\{closure}(object(Request))
  8. at call_user_func(object(Closure),object(Request)) inMiddleware.php line 130
  9. atMiddleware->dispatch(object(Request), 'controller') inModule.php line 137
  10. atModule->exec() inDispatch.php line 168
  11. atDispatch->run() inApp.php line 432
  12. atApp->think\{closure}(object(Request),object(Closure),null)
  13. at call_user_func_array(object(Closure), [object(Request),object(Closure),null]) inMiddleware.php line 185
  14. atMiddleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure),object(Request)) inMiddleware.php line 130
  16. atMiddleware->dispatch(object(Request)) inApp.php line 435
  17. atApp->run() inindex.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_CACHE_CONTROL public, max-age=86400
HTTP_HOST www.scfzw.net
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_ACCEPT */*
HTTP_CONNECTION keep-alive
HTTP_ACCEPT_ENCODING gzip, br
PHP_ADMIN_VALUE open_basedir=/data/wwwroot/www.scfz.org/public/:/tmp/:/proc/:/data/wwwroot
REDIRECT_STATUS 200
SERVER_NAME scfzw.net
SERVER_PORT 80
SERVER_ADDR 192.168.0.34
REMOTE_PORT 34016
REMOTE_ADDR 172.104.58.196
SERVER_SOFTWARE nginx/1.16.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /data/wwwroot/www.scfz.org/public
DOCUMENT_URI /index.php
REQUEST_URI /keti/index.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//keti/index.html
SCRIPT_FILENAME /data/wwwroot/www.scfz.org/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1729530412.0618
REQUEST_TIME 1729530412
Environment Variablesempty
ThinkPHP Constants
MAX_MENU_LENGTH 3
MAX_SUB_MENU_LENGTH 5
MODULE_NAME keti
ACTION_NAME index
DBNAME article
ISPAGE 1