[0] HttpException in Rent.php line 378

404 NOT FOUND

  1. //實例化邏輯層
  2. $real_estate_model = \think\Loader::model('RealEstate', 'logic');
  3. //查詢租房詳情
  4. //$rent_house_detail = $real_estate_model->get_rent_house_detail_by_id($id);
  5. $rent_house_detail = $real_estate_model->fetch_detail($id);
  6. //不存在的信息 404
  7. if (count($rent_house_detail) == 0) {
  8. throw new \think\exception\HttpException(404, '404 NOT FOUND');
  9. } else if ($rent_house_detail['house_type_id'] != 3) {
  10. throw new \think\exception\HttpException(404, '404 NOT FOUND');
  11. }
  12. $this->assign('rent_house_detail', $rent_house_detail);
  13. /*************************取租房信息 Begin*******************************/
  14. /*************************面包屑導航 Begin*******************************/

Call Stack

  1. in Rent.php line 378
  2. at Rent->detail()
  3. at ReflectionMethod->invokeArgs(object(Rent), []) in App.php line 343
  4. at App::invokeMethod([object(Rent), 'detail'], []) in App.php line 611
  5. at App::module(['home', 'rent', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  6. at App::exec(['type' => 'module', 'module' => ['home', 'rent', 'detail'], '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('/alidata/www/default...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

think
{ "pv_flag": 1 }

Server/Request Data

USER
www
HOME
/alidata/www
FCGI_ROLE
RESPONDER
PATH_INFO
/rent/272422.html
PATH_TRANSLATED
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public/rent/272422.html
SCRIPT_FILENAME
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public/index.php
QUERY_STRING
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/rent/272422.html
DOCUMENT_URI
/index.php/rent/272422.html
DOCUMENT_ROOT
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.10.1
REMOTE_ADDR
154.210.117.66
REMOTE_PORT
58565
SERVER_ADDR
10.81.87.159
SERVER_PORT
80
SERVER_NAME
*.com
REDIRECT_STATUS
200
HTTP_HOST
caifu22260.cn
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip,deflate
HTTP_REFERER
http://caifu22260.cn/rent/272422.html
HTTP_CLIENT_IP
202.92.243.70
HTTP_X_FORWARDED_FOR
66.222.116.250
PHP_SELF
/index.php/rent/272422.html
REQUEST_TIME_FLOAT
1571790638.5627
REQUEST_TIME
1571790638
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public/../application/
THINK_VERSION
5.0.19
THINK_START_TIME
1571790638.5631
THINK_START_MEM
263016
EXT
.php
DS
/
THINK_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/thinkphp/
LIB_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/thinkphp/library/
CORE_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/thinkphp/library/think/
TRAIT_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/thinkphp/library/traits/
ROOT_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/
EXTEND_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/extend/
VENDOR_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/vendor/
RUNTIME_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/runtime/
LOG_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/runtime/log/
CACHE_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/runtime/cache/
TEMP_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/runtime/temp/
CONF_PATH
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false