中国·拉斯维加斯(3499·官方认证)网站-Download APP program

[8] ErrorException in Show.php line 30

Undefined index: thumb

  1. $request = \think\Request::instance();
  2. $action = $request->action();//方法名
  3. switch ($action) {
  4. case 'product':
  5. $where = array("id" => $this->idInt);
  6. $content = Db::name('product')
  7. ->where($where)
  8. ->find();
  9. $content['Thumbnail'] = explode(",", $content['photos']);
  10. $content['fm'] = $content['thumb'];
  11. $this->assign('content', $content);
  12. // 上一条
  13. $prev = $this->productinfo('prev', $this->idInt, $this->cidInt);
  14. // 下一条
  15. $next = $this->productinfo('next', $this->idInt, $this->cidInt);
  16. $this->assign('prev', $prev);
  17. $this->assign('next', $next);
  18. Db::name("product")->where($where)->setInc("click");
  19. break;

Call Stack

  1. in Show.php line 30
  2. at Error::appError(8, 'Undefined index: thu...', '/home/wwwroot/baoxin...', 30, ['request' => object(Request), 'action' => 'product', 'where' => ['id' => 0], ...]) in Show.php line 30
  3. at Show->_initialize() in Controller.php line 59
  4. at Controller->__construct(object(Request)) in Common.php line 187
  5. at Common->__construct(object(Request))
  6. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 359
  7. at App::invokeClass('app\index\controller...') in Loader.php line 479
  8. at Loader::controller('Show', 'controller', false, 'Error') in App.php line 580
  9. at App::module(['index', 'Show', 'product'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
  10. at App::exec(['type' => 'module', 'module' => ['index', 'Show', 'product'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  11. at App::run() in start.php line 19
  12. at require('/home/wwwroot/baoxin...') in index.php line 21

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
0in7heaj0bij6mlpgrd68mint3

Session

think
{ "lng": "cn", "edition": 1 }

Server/Request Data

USER
baoxin
HOME
/home/wwwroot/baoxin
PATH_TRANSLATED
redirect:/index.php/192/detail/inve-regularly.html
PATH_INFO
/product/192/detail/inve-regularly.html
SCRIPT_NAME
/index.php
REQUEST_URI
/index.php/product/192/detail/inve-regularly.html
QUERY_STRING
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REMOTE_PORT
57842
SCRIPT_FILENAME
/home/wwwroot/baoxin/wwwroot/index.php
SERVER_ADMIN
[no address given]
CONTEXT_DOCUMENT_ROOT
/home/wwwroot/baoxin/wwwroot
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/home/wwwroot/baoxin/wwwroot
REMOTE_ADDR
107.158.144.114
SERVER_PORT
80
SERVER_ADDR
127.0.0.1
SERVER_NAME
www.boamax.com
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_COOKIE
PHPSESSID=0in7heaj0bij6mlpgrd68mint3
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_CONNECTION
close
HTTP_HOST
www.boamax.com
HTTP_X_REAL_IP
107.158.144.114
HTTP_X_FORWARDED_FOR
107.158.144.114
proxy-nokeepalive
1
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/product/192/detail/inve-regularly.html
REQUEST_TIME_FLOAT
1756566154.6345
REQUEST_TIME
1756566154
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/baoxin/wwwroot/application/
IMG_PATH
/home/wwwroot/baoxin/wwwroot/static/index/
THINK_VERSION
5.0.24
THINK_START_TIME
1756566154.6347
THINK_START_MEM
362448
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/baoxin/wwwroot/thinkphp/
LIB_PATH
/home/wwwroot/baoxin/wwwroot/thinkphp/library/
CORE_PATH
/home/wwwroot/baoxin/wwwroot/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/baoxin/wwwroot/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/baoxin/wwwroot/
EXTEND_PATH
/home/wwwroot/baoxin/wwwroot/extend/
VENDOR_PATH
/home/wwwroot/baoxin/wwwroot/vendor/
RUNTIME_PATH
/home/wwwroot/baoxin/wwwroot/runtime/
LOG_PATH
/home/wwwroot/baoxin/wwwroot/runtime/log/
CACHE_PATH
/home/wwwroot/baoxin/wwwroot/runtime/cache/
TEMP_PATH
/home/wwwroot/baoxin/wwwroot/runtime/temp/
CONF_PATH
/home/wwwroot/baoxin/wwwroot/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
Baidu
sogou