[8] ErrorException in 5c46ac8cac34667f1f355eb79c9dba27.phphtml line 102

未定义变量: new

  1. </div>
  2. <div class="tat">
  3. <img src="__STATIC__/index/img/newss.jpg"/>
  4. </div>
  5. <div class="sit">
  6. <p>您的位置:<a href="<?php echo url('index/index'); ?>">首页</a> > <a href="<?php echo url('news/news'); ?>">新闻动态</a></p>
  7. </div>
  8. <div class="newsdetail">
  9. <p class="newdetails"><?php echo $new['title']; ?></p>
  10. <p class="act"><span>作者:山西华仕</span><span>发表时间:<?php echo $new['add_time']; ?></span></p>
  11. <div class="det">
  12. <?php echo $new['content']; ?>
  13. </div>
  14. </div>
  15. <!--<div class="newNr" style="width: 1200px;overflow: hidden;margin: 0 auto;">
  16. <p style="font-size: 22px;text-align: center;margin-top: 30px;"><?php echo $new['title']; ?></p>
  17. <p style="text-align: center;margin-top: 20px;margin-bottom: 40px;"><span><?php echo $new['add_time']; ?></span><span>浏览:<?php echo $new['page_view']; ?>次</span></p>

Call Stack

  1. in 5c46ac8cac34667f1f355eb79c9dba27.phphtml line 102
  2. at Error::appError(8, 'Undefined variable: ...', '/data/home/qxu108490...', 102, ['cacheFile' => '/data/home/qxu108490...', 'vars' => ['info' => ['name' => '...', 'tel' => '0351-5607666', 'email' => 'wisertec@wisertec.cn', ...], 'link' => [['id' => '1', 'title' => '...', 'href' => 'http://www.wisertec....'], ['id' => '2', 'title' => '...', 'href' => 'http://www.nbe.com.c...'], ['id' => '3', 'title' => '...', 'href' => 'http://www.gdhjkj.co...']]], 'info' => ['name' => '...', 'tel' => '0351-5607666', 'email' => 'wisertec@wisertec.cn', ...], ...]) in 5c46ac8cac34667f1f355eb79c9dba27.phphtml line 102
  3. at include('/data/home/qxu108490...') in File.phphtml line 50
  4. at File->read('/data/home/qxu108490...', ['info' => ['name' => '...', 'tel' => '0351-5607666', 'email' => 'wisertec@wisertec.cn', ...], 'link' => [['id' => '1', 'title' => '...', 'href' => 'http://www.wisertec....'], ['id' => '2', 'title' => '...', 'href' => 'http://www.nbe.com.c...'], ['id' => '3', 'title' => '...', 'href' => 'http://www.gdhjkj.co...']]]) in Template.phphtml line 196
  5. at Template->fetch('/data/home/qxu108490...', ['info' => ['name' => '...', 'tel' => '0351-5607666', 'email' => 'wisertec@wisertec.cn', ...], 'link' => [['id' => '1', 'title' => '...', 'href' => 'http://www.wisertec....'], ['id' => '2', 'title' => '...', 'href' => 'http://www.nbe.com.c...'], ['id' => '3', 'title' => '...', 'href' => 'http://www.gdhjkj.co...']]], []) in Think.phphtml line 84
  6. at Think->fetch('', ['info' => ['name' => '...', 'tel' => '0351-5607666', 'email' => 'wisertec@wisertec.cn', ...], 'link' => [['id' => '1', 'title' => '...', 'href' => 'http://www.wisertec....'], ['id' => '2', 'title' => '...', 'href' => 'http://www.nbe.com.c...'], ['id' => '3', 'title' => '...', 'href' => 'http://www.gdhjkj.co...']]], []) in View.phphtml line 159
  7. at View->fetch('', [], []) in View.phphtml line 36
  8. at View->output('') in Response.phphtml line 311
  9. at Response->getContent() in Response.phphtml line 96
  10. at Response->send() in start.phphtml line 18
  11. at require('/data/home/qxu108490...') in index.phphtml line 24

Exception Datas

Error Context
cacheFile /data/home/qxu1084900002/htdocs/huashi/public/../runtime/temp/5c46ac8cac34667f1f355eb79c9dba27.phphtml
vars { "info": { "name": "\u5c71\u897f\u534e\u4ed5\u96c6\u56e2\u80a1\u4efd\u6709\u9650\u516c\u53f8", "tel": "0351-5607666", "email": "wisertec@wisertec.cn", "address": "\u5c71\u897f\u8f6c\u578b\u7efc\u6539\u793a\u8303\u533a\u79d1\u6280\u521b\u65b0\u57ce\u7ecf\u4e00\u8def6\u53f7", "chuan": "0351-5228898", "qq": "3368692001", "postcode": "030006", "id": "1" }, "link": [ { "id": "1", "title": "\u5c71\u897f\u534e\u4ed5\u4f4e\u78b3\u6280\u672f\u7814\u7a76\u9662", "href": "http:\/\/www.wisertec.cn\/" }, { "id": "2", "title": "\u5357\u4eac\u535a\u7eb3\u80fd\u6e90\u73af\u4fdd\u79d1\u6280\u6709\u9650\u516c\u53f8", "href": "http:\/\/www.cjs-bakery.com\/" }, { "id": "3", "title": "\u5c71\u897f\u5357\u5de5\u534e\u4ed5\u73af\u5883\u79d1\u6280\u6709\u9650\u516c\u53f8 ", "href": "http:\/\/www.gdhjkj.com\/" } ] }
info { "name": "\u5c71\u897f\u534e\u4ed5\u96c6\u56e2\u80a1\u4efd\u6709\u9650\u516c\u53f8", "tel": "0351-5607666", "email": "wisertec@wisertec.cn", "address": "\u5c71\u897f\u8f6c\u578b\u7efc\u6539\u793a\u8303\u533a\u79d1\u6280\u521b\u65b0\u57ce\u7ecf\u4e00\u8def6\u53f7", "chuan": "0351-5228898", "qq": "3368692001", "postcode": "030006", "id": "1" }
link [ { "id": "1", "title": "\u5c71\u897f\u534e\u4ed5\u4f4e\u78b3\u6280\u672f\u7814\u7a76\u9662", "href": "http:\/\/www.wisertec.cn\/" }, { "id": "2", "title": "\u5357\u4eac\u535a\u7eb3\u80fd\u6e90\u73af\u4fdd\u79d1\u6280\u6709\u9650\u516c\u53f8", "href": "http:\/\/www.cjs-bakery.com\/" }, { "id": "3", "title": "\u5c71\u897f\u5357\u5de5\u534e\u4ed5\u73af\u5883\u79d1\u6280\u6709\u9650\u516c\u53f8 ", "href": "http:\/\/www.gdhjkj.com\/" } ]

Environment Variables

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

Server/Request Data

DOCUMENT_ROOT
/usr/home/qxu1084900002/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_HOST
www.cjs-bakery.com
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
PATH
/bin:/usr/bin
PHPRC
/var/www/php55/hichina_ini/qxu1084900002
QUERY_STRING
REDIRECT_DOCUMENT_ROOT
/usr/home/qxu1084900002/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
*/*
REDIRECT_HTTP_HOST
www.cjs-bakery.com
REDIRECT_HTTP_USER_AGENT
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
REDIRECT_PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
REDIRECT_PATH_INFO
/news/detail.html
REDIRECT_PATH_TRANSLATED
/usr/home/qxu1084900002/htdocs/news/detail.html
REDIRECT_QUERY_STRING
REDIRECT_REMOTE_ADDR
156.234.96.146
REDIRECT_REMOTE_PORT
38864
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/huashi/public/index/news/detail.html
REDIRECT_SCRIPT_FILENAME
/usr/home/qxu1084900002/htdocs/huashi/public/index
REDIRECT_SCRIPT_NAME
/huashi/public/index
REDIRECT_SCRIPT_URI
http://www.cjs-bakery.com/huashi/public/index/news/detail.html
REDIRECT_SCRIPT_URL
/huashi/public/index/news/detail.html
REDIRECT_SERVER_ADDR
121.42.68.195
REDIRECT_SERVER_ADMIN
webmaster@qxu1084900002.my3w.com
REDIRECT_SERVER_NAME
www.cjs-bakery.com
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
Xk4W7gofLuoAABdvbIcAAAAK
REDIRECT_URL
/huashi/public/index/news/detail.html
REMOTE_ADDR
156.234.96.146
REMOTE_PORT
38864
REQUEST_METHOD
GET
REQUEST_URI
/huashi/public/index/news/detail.html
SCRIPT_FILENAME
/usr/home/qxu1084900002/htdocs/huashi/public/index.phphtml
SCRIPT_NAME
/huashi/public/index.phphtml
SCRIPT_URI
http://www.cjs-bakery.com/huashi/public/index/news/detail.html
SCRIPT_URL
/huashi/public/index/news/detail.html
SERVER_ADDR
121.42.68.195
SERVER_ADMIN
webmaster@qxu1084900002.my3w.com
SERVER_NAME
www.cjs-bakery.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
UNIQUE_ID
Xk4W7gofLuoAABdvbIcAAAAK
ORIG_PATH_INFO
/index/news/detail.html
ORIG_PATH_TRANSLATED
/usr/home/qxu1084900002/htdocs/huashi/public/index.phphtml
PHP_SELF
/huashi/public/index.phphtml
REQUEST_TIME_FLOAT
1582175982.2608
REQUEST_TIME
1582175982
PATH_INFO
/index/news/detail.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/data/home/qxu1084900002/htdocs/huashi/public/../application/
RUNTIME_PATH
/data/home/qxu1084900002/htdocs/huashi/public/../runtime/
APP_DEBUG
true
THINK_VERSION
5.0.10
THINK_START_TIME
1582175982.2614
THINK_START_MEM
248728
EXT
.phphtml
DS
/
THINK_PATH
/data/home/qxu1084900002/htdocs/huashi/thinkphp/
LIB_PATH
/data/home/qxu1084900002/htdocs/huashi/thinkphp/library/
CORE_PATH
/data/home/qxu1084900002/htdocs/huashi/thinkphp/library/think/
TRAIT_PATH
/data/home/qxu1084900002/htdocs/huashi/thinkphp/library/traits/
ROOT_PATH
/data/home/qxu1084900002/htdocs/huashi/
EXTEND_PATH
/data/home/qxu1084900002/htdocs/huashi/extend/
VENDOR_PATH
/data/home/qxu1084900002/htdocs/huashi/vendor/
LOG_PATH
/data/home/qxu1084900002/htdocs/huashi/public/../runtime/log/
CACHE_PATH
/data/home/qxu1084900002/htdocs/huashi/public/../runtime/cache/
TEMP_PATH
/data/home/qxu1084900002/htdocs/huashi/public/../runtime/temp/
CONF_PATH
/data/home/qxu1084900002/htdocs/huashi/public/../application/
CONF_EXT
.phphtml
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false