[0] TemplateNotFoundException in Think.php line 80

模板文件不存在:/www/wwwroot/www.konse.net/application/index/view/index/shop.html

  1. */
  2. public function fetch($template, $data = [], $config = [])
  3. {
  4. if ('' == pathinfo($template, PATHINFO_EXTENSION)) {
  5. // 获取模板文件名
  6. $template = $this->parseTemplate($template);
  7. }
  8. // 模板不存在 抛出异常
  9. if (!is_file($template)) {
  10. throw new TemplateNotFoundException('template not exists:' . $template, $template);
  11. }
  12. // 记录视图信息
  13. App::$debug && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info');
  14. $this->template->fetch($template, $data, $config);
  15. }
  16. /**
  17. * 渲染模板内容
  18. * @access public

Call Stack

  1. in Think.php line 80
  2. at Think->fetch('/www/wwwroot/www.kon...', ['site_arr' => ['site_seo_title' => '...', 'site_seo_keywords' => '...', 'site_seo_description' => '...', ...], 'style_path' => '/public/static/shop', 'static_path' => '/public/static', ...], []) in View.php line 190
  3. at View->fetch('shop', ['site_arr' => ['site_seo_title' => '...', 'site_seo_keywords' => '...', 'site_seo_description' => '...', ...], 'style_path' => '/public/static/shop', 'static_path' => '/public/static', ...], ['__ROOT__' => '', '__URL__' => '/index/index', '__STATIC__' => '/static', ...], []) in Controller.php line 141
  4. at Controller->fetch('shop') in Index.php line 1210
  5. at Index->prolist()
  6. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 363
  7. at App::invokeMethod([object(Index), 'prolist'], []) in App.php line 630
  8. at App::module(['index', 'Index', 'prolist'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 481
  9. at App::exec(['type' => 'module', 'module' => ['index', 'Index', 'prolist'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 147
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/www.kon...') in index.php line 20

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
SCRIPT_NAME
/index.php
REQUEST_URI
/product-list-cid-19
QUERY_STRING
s=product-list-cid-19
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
s=product-list-cid-19
REDIRECT_URL
/product-list-cid-19
REMOTE_PORT
20000
SCRIPT_FILENAME
/www/wwwroot/www.konse.net/index.php
SERVER_ADMIN
webmaster@example.com
CONTEXT_DOCUMENT_ROOT
/www/wwwroot/www.konse.net
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
/www/wwwroot/www.konse.net
REMOTE_ADDR
216.83.49.236
SERVER_PORT
80
SERVER_ADDR
47.52.5.247
SERVER_NAME
www.konse.net
SERVER_SOFTWARE
Apache
SERVER_SIGNATURE
<address>Apache Server at www.konse.net Port 80</address>
LD_LIBRARY_PATH
/www/server/apache/lib
PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.konse.net
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
proxy-nokeepalive
1
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1571102088.5258
REQUEST_TIME
1571102088
PATH_INFO
product-list-cid-19
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.konse.net/application/
CONF_PATH
/www/wwwroot/www.konse.net/conf/
THINK_VERSION
5.0.16
THINK_START_TIME
1571102088.5259
THINK_START_MEM
359504
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.konse.net/thinkphp/
LIB_PATH
/www/wwwroot/www.konse.net/thinkphp/library/
CORE_PATH
/www/wwwroot/www.konse.net/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.konse.net/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.konse.net/
EXTEND_PATH
/www/wwwroot/www.konse.net/extend/
VENDOR_PATH
/www/wwwroot/www.konse.net/vendor/
RUNTIME_PATH
/www/wwwroot/www.konse.net/runtime/
LOG_PATH
/www/wwwroot/www.konse.net/runtime/log/
CACHE_PATH
/www/wwwroot/www.konse.net/runtime/cache/
TEMP_PATH
/www/wwwroot/www.konse.net/runtime/temp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ACCOUNT
account
AD_POSITION
ad_position
ADCATEGORY
adcategory
ADDETAIL
addetail
ADVERTISING
advertising
APPLICATION
application
ARCHIVES
archives
ARCRANK
arcrank
ARCTYPE
arctype
ARTICLESEO
articleseo
ARTICLETEXT
articletext
ATTR
attr
ATTRIBUTE
attribute
AUTH_CODE
auth_code
BACK_GOODS
back_goods
BACK_MSG_LOG
back_msg_log
BACK_ORDER
back_order
BACK_PICTURE
back_picture
BANK_INFO
bank_info
BRAND
brand
BROWSER
browser
CHANNEL_TYPE
channel_type
COLLECT_GOODS
collect_goods
COMMENT
comment
COMMENT_GOODS
comment_goods
COMMENT_PICTURE
comment_picture
CUSTSERVICE
custservice
DEAL_INVALID_LINK
deal_invalid_link
DELIVERY_GOODS
delivery_goods
DELIVERY_ORDER
delivery_order
FLINK
flink
FLINKTYPE
flinktype
GOODS
goods
GOODS_ADDRESS
goods_address
GOODS_ATTR
goods_attr
GOODS_ATTR_STOCK
goods_attr_stock
GOODS_COLLECTION
goods_collection
GOODS_DESCS
goods_descs
GOODS_IMAGES
goods_images
GOODS_GALLERY
goods_gallery
GOODS_LINK
goods_link
GOODS_SPECIFICATION
goods_specification
GOODS_TYPE
goods_type
GROUPBOOKING_ACTBUILD
groupbooking_actbuild
GROUPBOOKING_ACTIVE
groupbooking_active
GROUPBOOKING_ATTR
groupbooking_attr
GROUPBOOKING_ORDER
groupbooking_order
INSTRUCTIONS
instructions
INTHISTORY
inthistory
JD_GOODS
jd_goods
JD_GOODS_ATTR
jd_goods_attr
JD_GOODS_ATTRVAL
jd_goods_attrval
JD_GOODS_IMAGES
jd_goods_images
KEYTYPE
keytype
KEYWORDRANK
keywordrank
KEYWORDS
keywords
MEMBER
member
MEMBER_BANK
member_bank
MEMBER_FOOTPRINT
member_footprint
MEMBER_PRICE
member_price
MEMBER_REBATE
member_rebate
MEMBER_REBATELIST
member_rebatelist
MEMBER_SIGNDAYS
member_signdays
MEMBER_WITHDRAWAL
member_withdrawal
MEMBER_SCORES
member_scores
MENU_AUTH
menu_auth
MENUS
menus
MESSAGE
message
MODULECONFIG
moduleconfig
ORDER_GOODS
order_goods
ORDER_INFO
order_info
PAY_LOG
pay_log
PAY_TRADE_INFO
pay_trade_info
PAY_TRADE_SOA
pay_trade_soa
PAYMENT
payment
PICTURE_INFO
picture_info
POSITION_CITY
position_city
POSITION_COUNTY
position_county
POSITION_PROVICE
position_provice
POSTER
poster
PRODUCTS
products
PROPERTY
property
RANK
rank
RANKHISTORY
rankhistory
ROLE
role
ROLE_USER
role_user
SEARCH_ENGINE
search_engine
SELFFORM
selfform
SELFFORM_DETAIL
selfform_detail
SELFMEMBER
selfmember
SELFTPL
selftpl
SELFTPLMAP
selftplmap
SETTING
setting
SHIPPING
shipping
SHIPPING_INFO
shipping_info
SHOP_CART
shop_cart
SIGNDAYS_CONFIG
signdays_config
SPECIFICATION
specification
TEMPLATE
template
TRAFFIC
traffic
UPLOAD
upload
USER_TOKEN
user_token
USER_ADDRESS
user_address
VIDEO_INFO
video_info
WECHAT_CUSTSERVICE
wechat_custservice
ADMIN_PDF_CREATOR
立的网络
PLATFORM_NAME
LeeShop
PLATFORM_VERSION
V3.0
PLATFORM_NAME_DEFAULT
商城管理平台
ADMIN_DEFAULT_AVATAR
static/1.png
TOURISTS_DEFAULT_AVATAR
static/2.png
DATA_PATH
/www/wwwroot/www.konse.net/application/common/Data/
LOG_DATA_PATH
/www/wwwroot/www.konse.net/application/common/Log/
ACCESS_PATH
/www/wwwroot/www.konse.net/application/common
SP_ADMIN_ID
1
STATIC_PATH
/www/wwwroot/www.konse.net/application/../
DEFAULT_INDEX_DOMAIN
https://www.konse.net
SHORT_UPLOAD_PATH
./public/
DEFAULT_PATH
https://www.konse.net/public/
DEFAULT_PATH_DIR
/www/wwwroot/www.konse.net/application/../public/
ARTICLE_IMG_PATH
upload/arcThum/
ARTICLE_DEFAULT_PATH
/www/wwwroot/www.konse.net/application/../public/upload/arcThum/
ARTICLE_VIEW_PATH
https://www.konse.net/public/upload/arcThum/
NEDITOR_IMG_PATH
/www/wwwroot/www.konse.net/application/../public/upload/neditor/image
NEDITOR_SHOW_PATH
https://www.konse.net/public/upload/neditor/image
UPLOAD_DEFAULT_PATH
/www/wwwroot/www.konse.net/application/../public/upload/
QRCODE_PATH
/www/wwwroot/www.konse.net/application/../public/upload/qrcode/
QRCODE_VIEW_PATH
https://www.konse.net/public/upload/qrcode/
NEDITOR_IMG_PATH_SETTING
/www/wwwroot/www.konse.net/application/../public/upload
NEDITOR_SHOW_PATH_SETTING
https://www.konse.net/public/upload
WATER_FONT_PATH
public/static/font/
SYS_NEDITOR_PATH_CONFIG
/www/wwwroot/www.konse.net/application/../public/static/plugin/neditor/php/path_config.txt
TPL_DEFAULT_PATH
/www/wwwroot/www.konse.net/application/index/view/
TPL_RELATIVE_PATH
../../index/view/
AD_JS_PATH
https://www.konse.net/dynamic
UPLOAD_TEMP_PATH
/www/wwwroot/www.konse.net/application/../public/upload/temp/
MODULE_NEWS
1
MODULE_PRODUCT
2
MODULE_MAP
3
CHANNEL_NEWS
1
CHANNEL_PRODUCT
6
TPL_STYLE_PATH
https://www.konse.net/public/static/
PDF_HEADER_SELF_LOGO
../../../../../public/static/admin/images/PDF_Logo.jpg
PDF_HEADER_SELF_LOGO2
/www/wwwroot/www.konse.net/application/../public/static/admin/images/PDF_Logo.jpg
PDF_HEADER_SELF_BG
/www/wwwroot/www.konse.net/application/../public/static/admin/images/BG_Logo.jpg
PDF_HEADER_SELF_TITLE_1
专注品牌互联网解决方案
PDF_HEADER_SELF_TITLE_2
根据地区位置和查询时间,以上数据会有部分差异
PDF_FOOTER_SELF_1
佛山市顺德区立的网络科技有限公司
PDF_FOOTER_SELF_2
www.leekind.com
VERSION_LINK
http://leesite.leekind.com/version_shop/version.txt
VERSION_TEST_FLAG
2
MEMBER_SIGN_FLAG
$*HDL22k3dk%234&@^
DELAY_DAYS_CONFIRM_SHIPPING
10
QR_MODE_NUL
-1
QR_MODE_NUM
0
QR_MODE_AN
1
QR_MODE_8
2
QR_MODE_KANJI
3
QR_MODE_STRUCTURE
4
QR_ECLEVEL_L
0
QR_ECLEVEL_M
1
QR_ECLEVEL_Q
2
QR_ECLEVEL_H
3
QR_FORMAT_TEXT
0
QR_FORMAT_PNG
1
QRSPEC_VERSION_MAX
40
QRSPEC_WIDTH_MAX
177
QRCAP_WIDTH
0
QRCAP_WORDS
1
QRCAP_REMINDER
2
QRCAP_EC
3
QR_CACHEABLE
false
QR_CACHE_DIR
false
QR_LOG_DIR
false
QR_FIND_BEST_MASK
true
QR_FIND_FROM_RANDOM
2
QR_DEFAULT_MASK
2
QR_PNG_MAXIMUM_SIZE
1024
N1
3
N2
3
N3
40
N4
10
STRUCTURE_HEADER_BITS
20
MAX_STRUCTURED_SYMBOLS
16
QR_IMAGE
true
SENDWEB
https://www.konse.net/dynamic/Ajax/verify.html
SENDWEBPAY
https://www.konse.net/dynamic/Ajax/verifypay.html
APPID
wx06f63dd15e27beec
APPSECRET
d1c976cc9844fa47dc50f3fe6c975431
WXALIPAY
Sh&o*&$P^Pl&aT
WX_RETURNURL
https://www.konse.net/dynamic/Ajax/verifylogin
LEE_CACHE_TIME
0