[0] HttpException in Index.php line 465

页面不存在

  1. {
  2. if ($id) {
  3. $info = News::get_new(24, $id);
  4. if ($info == null) {
  5. throw new \think\exception\HttpException(404, '页面不存在');
  6. } else {
  7. $url = str_replace('/' . $id . '.html', "", $info->url);
  8. $hot_articles = News::recommended_articles($id);
  9. $same_articles = News::same_type_articles(24,$id);
  10. return $this->fetch('index/article_info', ['info' => $info, 'url' => $url, 'name' => '装修设计', 'title' => $info->title, 'content' => $info->newsdata->content,'hot_articles'=>$hot_articles,'same_articles'=>$same_articles]);
  11. }
  12. } else {
  13. $list = News::get_zxbk_list(24);

Call Stack

  1. in Index.php line 465
  2. at Index->sheji('1194')
  3. at ReflectionMethod->invokeArgs(object(Index), ['1194']) in App.php line 343
  4. at App::invokeMethod([object(Index), 'sheji'], []) in App.php line 611
  5. at App::module(['index', 'index', 'sheji'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  6. at App::exec(['type' => 'module', 'module' => ['index', 'index', 'sheji'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  7. at App::run() in start.php line 19
  8. at require('/home/zslx0s3umzpsul...') in index.php line 17

Environment Variables

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

Server/Request Data

REDIRECT_REDIRECT_UNIQUE_ID
ZflvlpYoXhj0kktiOJUyLgAAAA8
REDIRECT_REDIRECT_PHPRC
/home/zslx0s3umzpsulmx40usd33u/others
REDIRECT_REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
ZflvlpYoXhj0kktiOJUyLgAAAA8
REDIRECT_PHPRC
/home/zslx0s3umzpsulmx40usd33u/others
REDIRECT_HANDLER
php-cgi
REDIRECT_STATUS
200
UNIQUE_ID
ZflvlpYoXhj0kktiOJUyLgAAAA8
PHPRC
/home/zslx0s3umzpsulmx40usd33u/others
HTTP_X_FORWARDED_FOR
44.206.248.122
HTTP_X_REAL_IP
211.149.140.180
HTTP_HOST
www.zyxbn.cn
HTTP_CONNECTION
close
HTTP_FROM_HTTPS
on
HTTP_SSL_FLAG
SSL
HTTP_ACCEPT_ENCODING
gzip
HTTP_X_FORWARDED_PROTO
https
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
<address>Apache Server at www.zyxbn.cn Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.zyxbn.cn
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
44.206.248.122
DOCUMENT_ROOT
/home/zslx0s3umzpsulmx40usd33u/wwwroot/
REQUEST_SCHEME
http
CONTEXT_PREFIX
/php-run-as-cgi
CONTEXT_DOCUMENT_ROOT
/usr/php7.2/bin
SERVER_ADMIN
webmaster@zslx0s3u
SCRIPT_FILENAME
/home/zslx0s3umzpsulmx40usd33u/wwwroot/index.php
REMOTE_PORT
60204
REDIRECT_URL
/index.php/xbn/sheji/1194.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/xbn/sheji/1194.html
SCRIPT_NAME
/index.php
PATH_INFO
/xbn/sheji/1194.html
PATH_TRANSLATED
/home/zslx0s3umzpsulmx40usd33u/wwwroot/xbn/sheji/1194.html
ORIG_PATH_INFO
/index.php/xbn/sheji/1194.html
ORIG_SCRIPT_NAME
/php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME
/usr/php7.2/bin/php-cgi
ORIG_PATH_TRANSLATED
/home/zslx0s3umzpsulmx40usd33u/wwwroot/index.php/xbn/sheji/1194.html
PHP_SELF
/index.php/xbn/sheji/1194.html
REQUEST_TIME_FLOAT
1710845846.3891
REQUEST_TIME
1710845846
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1710845846.3903
THINK_START_MEM
394976
EXT
.php
DS
/
THINK_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/thinkphp/
LIB_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/thinkphp/library/
CORE_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/thinkphp/library/think/
TRAIT_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/thinkphp/library/traits/
ROOT_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/
EXTEND_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/extend/
VENDOR_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/vendor/
RUNTIME_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/runtime/
LOG_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/runtime/log/
CACHE_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/runtime/cache/
TEMP_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/runtime/temp/
CONF_PATH
/home/zslx0s3umzpsulmx40usd33u/wwwroot/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false