[0] HttpException in Sale.php line 375

404 NOT FOUND

  1. $real_estate_model = \think\Loader::model('RealEstate', 'logic');
  2. //查詢二手房詳情
  3. //$second_hand_house = $real_estate_model->get_second_house_detail_by_id($id);
  4. $second_hand_house = $real_estate_model->fetch_detail($id);
  5. //不存在的信息 404
  6. if (count($second_hand_house) == 0) {
  7. throw new \think\exception\HttpException(404, '404 NOT FOUND');
  8. } else if ($second_hand_house['house_type_id'] != 2) {
  9. throw new \think\exception\HttpException(404, '404 NOT FOUND');
  10. }
  11. $this->assign('second_hand_house', $second_hand_house);
  12. /*************************取二手房信息 Begin*******************************/
  13. /*************************取推薦樓盤 Begin*******************************/

Call Stack

  1. in Sale.php line 375
  2. at Sale->detail()
  3. at ReflectionMethod->invokeArgs(object(Sale), []) in App.php line 343
  4. at App::invokeMethod([object(Sale), 'detail'], []) in App.php line 611
  5. at App::module(['home', 'sale', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  6. at App::exec(['type' => 'module', 'module' => ['home', 'sale', '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
/sale/258096.html
PATH_TRANSLATED
/alidata/www/default/vyuan/source/plugin/vyuan_fangchan_pc/public/sale/258096.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
/sale/258096.html
DOCUMENT_URI
/index.php/sale/258096.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
58998
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/sale/258096.html
HTTP_CLIENT_IP
204.143.129.79
HTTP_X_FORWARDED_FOR
60.122.128.109
PHP_SELF
/index.php/sale/258096.html
REQUEST_TIME_FLOAT
1571791400.3952
REQUEST_TIME
1571791400
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
1571791400.3955
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