System Error

[8] ErrorException in ListController.php line 91

未定义变量: tplName

  1. $this->assign('data', $data);
  2. $portalCategoryModel = new PortalCategoryModel();
  3. $categoryInfo = $portalCategoryModel->get($id);
  4. $this->assign('category_info', $categoryInfo);
  5. return $this->fetch(":$tplName");
  6. }
  7. }

Call Stack

  1. in ListController.php line 91
  2. at Error::appError(8, 'Undefined variable: ...', '/usr/home/hyu2460840...', 91, ['pid' => 3, 'nid' => null, 'id' => '13', ...]) in ListController.php line 91
  3. at ListController->index()
  4. at ReflectionMethod->invokeArgs(object(ListController), []) in App.php line 197
  5. at App::invokeMethod([object(ListController), 'index'], []) in App.php line 411
  6. at App::module(['portal', 'list', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 296
  7. at App::exec(['type' => 'module', 'module' => ['portal', 'list', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 124
  8. at App::run() in index.php line 59

Exception Datas

Error Context
pid 3
nid Resource
id 13
pageSize 10
apiService {}
filter { "category": "13", "keyword": "" }
device pc
slideItemModel []
banner [ { "id": "4", "slide_id": "4", "status": "1", "list_order": "10000", "title": "\u5408\u4f5c\u533b\u9662", "image": "admin\/20171030\/6d6702c9e36b7ac36dc167c64f1f461d.jpg", "url": "", "target": "", "description": "", "content": "", "more": null, "device": "pc", "category_id": "3" } ]
categories [ { "id": "12", "parent_id": "3", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u6b27\u6d32", "description": "", "path": "0-3-12", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171025\/549cad075f657c07b232f9055f27647b.jpg" } }, { "id": "13", "parent_id": "3", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u5317\u7f8e\u6d32", "description": "", "path": "0-3-13", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171024\/db05e18b783a22c39111889db79374db.jpg" } }, { "id": "14", "parent_id": "3", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u4e9a\u6d32", "description": "", "path": "0-3-14", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171025\/6020d7aee5c5d1e850fa6e528aaf27e9.jpg" } } ]
postService {}
hcid Resource
data { "total": 2, "per_page": 10, "current_page": 1, "last_page": 1, "data": [ { "id": "247", "parent_id": "0", "post_type": "1", "post_format": "1", "user_id": "1", "post_status": "1", "comment_status": "1", "is_top": "1", "recommended": "1", "post_hits": "9822", "post_like": "0", "comment_count": "0", "create_time": "1513176081", "update_time": "1578297161", "published_time": "1513175700", "delete_time": "0", "post_title": "\u7eaa\u5ff5\u65af\u9686\u51ef\u7279\u7433\u764c\u75c7\u4e2d\u5fc3", "post_keywords": "", "post_excerpt": "", "post_source": "", "post_content": "\n\n\u7eaa\u5ff5\u65af\u9686-\u51ef\u7279\u7433\u764c\u75c7\u4e2d\u5fc3\u662f\u4e16\u754c\u4e0a\u5386\u53f2\u60a0\u4e45\u3001\u89c4\u6a21\u5f18\u5927\u7684\u79c1\u7acb\u764c\u75c7\u4e2d\u5fc3\u3002130\u4f59\u5e74\u6765\uff0c\u8be5\u4e2d\u5fc3\u4e00\u76f4\u81f4\u529b\u4e8e...", "post_content_filtered": null, "more": { "price": "", "thumbnail": "20171130\/55417363a989caa40fd71cec4fc6aabe.jpg" }, "hospital_category_id": "4", "list_order": "10000", "category_id": "13", "pid": "3", "user_login": "admin", "user_nickname": "admin", "user_email": "123@qq.com", "hospital_category_name": "\u764c\u75c7" }, { "id": "246", "parent_id": "0", "post_type": "1", "post_format": "1", "user_id": "1", "post_status": "1", "comment_status": "1", "is_top": "1", "recommended": "1", "post_hits": "8989", "post_like": "0", "comment_count": "0", "create_time": "1513175704", "update_time": "1578047494", "published_time": "1513175580", "delete_time": "0", "post_title": "\u6885\u5965\u8bca\u6240 \u5168\u7f8e\u77e5\u540d\u533b\u9662", "post_keywords": "", "post_excerpt": "", "post_source": "", "post_content": "\n\n\n\u6885\u5965\u8bca\u6240\u5728\u201c\u7f8e\u56fd\u65b0\u95fb\u53ca\u4e16\u754c\u62a5\u9053\u201d\u5e74\u5ea6\u5168\u7f8e\u4f18\u79c0\u533b\u9662\u6392\u540d\u8363\u767b\u524d\u5217\uff0c\u540c\u65f6\u4f4d\u4e8e\u4e9a\u5229\u6851\u90a3\u5dde\u3001\u5f17\u7f57\u91cc\u8fbe\u5dde\u53ca...", "post_content_filtered": null, "more": { "price": "", "thumbnail": "portal\/20171106\/1782721dae5965aa466a0658eaf3b948.jpg" }, "hospital_category_id": "0", "list_order": "10000", "category_id": "13", "pid": "3", "user_login": "admin", "user_nickname": "admin", "user_email": "123@qq.com", "hospital_category_name": null } ], "pagination": null }
portalCategoryModel []
categoryInfo { "id": "13", "parent_id": "3", "post_count": "0", "status": "1", "delete_time": "0", "list_order": "10000", "name": "\u5317\u7f8e\u6d32", "description": "", "path": "0-3-13", "seo_title": "", "seo_keywords": "", "seo_description": "", "list_tpl": "list", "one_tpl": "article", "more": { "thumbnail": "portal\/20171024\/db05e18b783a22c39111889db79374db.jpg" } }

Environment Variables

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

Server/Request Data

DOCUMENT_ROOT
/usr/home/hyu2460840001/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
www.haiwaiguahao.com
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH
/bin
PHPRC
/var/www/php55/hichina_ini/hyu2460840001
QUERY_STRING
s=portal/list/index/pid/3/id/13.html
REDIRECT_DOCUMENT_ROOT
/usr/home/hyu2460840001/htdocs
REDIRECT_GATEWAY_INTERFACE
CGI/1.1
REDIRECT_HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
REDIRECT_HTTP_ACCEPT_ENCODING
br,gzip
REDIRECT_HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
REDIRECT_HTTP_CONNECTION
Keep-Alive
REDIRECT_HTTP_HOST
www.haiwaiguahao.com
REDIRECT_HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO
/list/index/pid/3/id/13.html
REDIRECT_PATH_TRANSLATED
redirect:/index.php/index/pid/3/id/13.html
REDIRECT_QUERY_STRING
s=portal/list/index/pid/3/id/13.html
REDIRECT_REMOTE_ADDR
35.173.48.18
REDIRECT_REMOTE_PORT
39994
REDIRECT_REQUEST_METHOD
GET
REDIRECT_REQUEST_URI
/portal/list/index/pid/3/id/13.html
REDIRECT_SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/portal
REDIRECT_SCRIPT_NAME
/portal
REDIRECT_SCRIPT_URI
http://www.haiwaiguahao.com/portal/list/index/pid/3/id/13.html
REDIRECT_SCRIPT_URL
/portal/list/index/pid/3/id/13.html
REDIRECT_SERVER_ADDR
10.17.0.24
REDIRECT_SERVER_ADMIN
webmaster@hyu2460840001.my3w.com
REDIRECT_SERVER_NAME
www.haiwaiguahao.com
REDIRECT_SERVER_PORT
80
REDIRECT_SERVER_PROTOCOL
HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE
Apache
REDIRECT_STATUS
200
REDIRECT_TZ
Asia/Shanghai
REDIRECT_UNIQUE_ID
ZwgsqwoRABgAOfhV@tcAAAAm
REDIRECT_URL
/portal/list/index/pid/3/id/13.html
REMOTE_ADDR
35.173.48.18
REMOTE_PORT
39994
REQUEST_METHOD
GET
REQUEST_URI
/portal/list/index/pid/3/id/13.html
SCRIPT_FILENAME
/usr/home/hyu2460840001/htdocs/index.php
SCRIPT_NAME
/index.php
SCRIPT_URI
http://www.haiwaiguahao.com/portal/list/index/pid/3/id/13.html
SCRIPT_URL
/portal/list/index/pid/3/id/13.html
SERVER_ADDR
10.17.0.24
SERVER_ADMIN
webmaster@hyu2460840001.my3w.com
SERVER_NAME
www.haiwaiguahao.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
TZ
Asia/Shanghai
UNIQUE_ID
ZwgsqwoRABgAOfhV@tcAAAAm
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1728588971.6559
REQUEST_TIME
1728588971
PATH_INFO
portal/list/index/pid/3/id/13.html
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/usr/home/hyu2460840001/htdocs/
APP_PATH
/usr/home/hyu2460840001/htdocs/app/
CMF_PATH
/usr/home/hyu2460840001/htdocs/simplewind/cmf/
WEB_ROOT
/usr/home/hyu2460840001/htdocs/
PLUGINS_PATH
/usr/home/hyu2460840001/htdocs/plugins/
EXTEND_PATH
/usr/home/hyu2460840001/htdocs/simplewind/extend/
VENDOR_PATH
/usr/home/hyu2460840001/htdocs/simplewind/vendor/
RUNTIME_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/
THINKCMF_VERSION
5.0.170927
THINK_VERSION
5.0.11
THINK_START_TIME
1728588971.6563
THINK_START_MEM
259392
EXT
.php
DS
/
THINK_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/
LIB_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/
CORE_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/think/
TRAIT_PATH
/usr/home/hyu2460840001/htdocs/simplewind/thinkphp/library/traits/
ROOT_PATH
/usr/home/hyu2460840001/htdocs/
LOG_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/log/
CACHE_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/cache/
TEMP_PATH
/usr/home/hyu2460840001/htdocs/data/runtime/temp/
CONF_PATH
/usr/home/hyu2460840001/htdocs/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/usr/home/hyu2460840001/htdocs/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.1
ent
CCBot/2.0 (https://commoncrawl.org/faq/)
mobile
/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i
DOMDOCUMENT
DOMDocument
DOMELEMENT
DOMElement
DOMNODELIST
DOMNodeList
DOMNODE
DOMNode
0.309235s