金沙娱场城app7979(中国)精粹有限公司GREEN LIFE

[8] ErrorException in Artcile.php line 117

未定义变量: create_time

  1. $this->assign('type_id', $article['cid']);
  2. /*$now_time = strtotime('now');
  3. if(($article['update_time']+180)<$now_time){
  4. $article['view'] += 1;
  5. db('article')->where('id',$article_id)->update(['update_time'=>$now_time,'view'=>$article['view']]);
  6. }*/
  7. if(!empty($article['photo_code']))
  8. $article['photo_code'] = json_decode($article['photo_code'],true);
  9. $this->assign('article', $article);
  10. $this->assign('up_article', db('article')->where('cid',$article['cid'])->where("create_time", ">", $create_time)->order("create_time", "asc")->find());
  11. $this->assign('down_article', db('article')->where('cid',$article['cid'])->where("create_time", "<", $create_time)->order("create_time", "desc")->find());
  12. return $this->fetch();
  13. }
  14. public function add_alliance(){
  15. $date = input();
  16. $date['create_time'] = time();
  17. if(db('alliance')->insert($date))
  18. return json(['msg'=>'提交成功']);
  19. else

Call Stack

  1. in Artcile.php line 117
  2. at Error::appError(8, 'Undefined variable: ...', '/www/wwwroot/zhonggu...', 117, ['article_id' => '594', 'article' => null, 'category1' => null, ...]) in Artcile.php line 117
  3. at Artcile->details()
  4. at ReflectionMethod->invokeArgs(object(Artcile), []) in App.php line 343
  5. at App::invokeMethod([object(Artcile), 'details'], []) in App.php line 606
  6. at App::module(['index', 'artcile', 'details'], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '1', ...], true) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['index', 'artcile', 'details']], ['app_host' => '', 'app_debug' => '1', 'app_trace' => '1', ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/www/wwwroot/zhonggu...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
c1jdtnem607l58nb1sk9ois306
Session
empty

Server/Request Data

USER
www
HOME
/home/www
PHP_IS_DEVELOP
1
HTTP_COOKIE
PHPSESSID=c1jdtnem607l58nb1sk9ois306
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.zhongguodingxin.com
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
PATH_INFO
/index/artcile/details/id/594.html
REDIRECT_STATUS
200
SERVER_NAME
zhongguodingxin.com
SERVER_PORT
80
SERVER_ADDR
85.8.183.41
REMOTE_PORT
54346
REMOTE_ADDR
107.158.145.198
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/zhongguodingxin.com
DOCUMENT_URI
/index.php/index/artcile/details/id/594.html
REQUEST_URI
/index.php/index/artcile/details/id/594.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/zhongguodingxin.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/index/artcile/details/id/594.html
REQUEST_TIME_FLOAT
1730420254.5131
REQUEST_TIME
1730420254
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/zhongguodingxin.com/application/
THINK_VERSION
5.0.20
THINK_START_TIME
1730420254.5137
THINK_START_MEM
367328
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/zhongguodingxin.com/thinkphp/
LIB_PATH
/www/wwwroot/zhongguodingxin.com/thinkphp/library/
CORE_PATH
/www/wwwroot/zhongguodingxin.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/zhongguodingxin.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/zhongguodingxin.com/
EXTEND_PATH
/www/wwwroot/zhongguodingxin.com/extend/
VENDOR_PATH
/www/wwwroot/zhongguodingxin.com/vendor/
RUNTIME_PATH
/www/wwwroot/zhongguodingxin.com/runtime/
LOG_PATH
/www/wwwroot/zhongguodingxin.com/runtime/log/
CACHE_PATH
/www/wwwroot/zhongguodingxin.com/runtime/cache/
TEMP_PATH
/www/wwwroot/zhongguodingxin.com/runtime/temp/
CONF_PATH
/www/wwwroot/zhongguodingxin.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
0.054320s