• [0] TemplateNotFoundException in Think.php line 82

    模板文件不存在:themes/pc_cn/portal/list.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 82
    2. at Think->fetch('themes/pc_cn/portal/...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '', 'site_seo_keywords' => '...', ...], 'user_info' => [], 'year' => '2024', ...], []) in View.php line 163
    3. at View->fetch('themes/pc_cn/portal/...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '', 'site_seo_keywords' => '...', ...], 'user_info' => [], 'year' => '2024', ...], ['__ROOT__' => '', '__URL__' => '/portal/list', '__STATIC__' => '/static', ...], []) in Controller.php line 120
    4. at Controller->fetch('themes/pc_cn/portal/...', [], [], []) in HomeBaseController.php line 153
    5. at HomeBaseController->fetch('themes/pc_cn/portal/...') in ListController.php line 219
    6. at ListController->index()
    7. at ReflectionMethod->invokeArgs(object(ListController), []) in App.php line 343
    8. at App::invokeMethod([object(ListController), 'index'], []) in App.php line 621
    9. at App::module(['portal', 'List', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 456
    10. at App::exec(['type' => 'module', 'module' => ['portal', 'List', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
    11. at App::run() in index.php line 105

    Environment Variables

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

    Server/Request Data

    CONTENT_TYPE
    application/x-www-form-urlencoded; charset=utf-8
    CONTEXT_DOCUMENT_ROOT
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html
    CONTEXT_PREFIX
    DOCUMENT_ROOT
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html
    GATEWAY_INTERFACE
    CGI/1.1
    HTTP_ACCEPT
    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_ENCODING
    gzip, deflate
    HTTP_ACCEPT_LANGUAGE
    en-US,en;q=0.5
    HTTP_CACHE_CONTROL
    no-cache
    HTTP_HOST
    mmlook.net
    HTTP_REFERER
    https://www.baidu.com/search/spider.htm
    HTTP_USER_AGENT
    Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1
    HTTP_X_APPLE_STORE_FRONT
    143444,12
    HTTP_X_APPLE_TZ
    0
    HTTP_X_MICROSOFTAJAX
    Delta=true
    PATH
    /bin:/usr/bin
    PHPRC
    /usr/local/php72/lib/
    QUERY_STRING
    s=CHARACTERRISTIC.html
    REDIRECT_QUERY_STRING
    s=CHARACTERRISTIC.html
    REDIRECT_STATUS
    200
    REDIRECT_UNIQUE_ID
    ZnHX9MSBZ75WThLunCYSqgAAAGc
    REDIRECT_URL
    /CHARACTERRISTIC.html
    REMOTE_ADDR
    45.41.88.246
    REMOTE_PORT
    45744
    REQUEST_METHOD
    GET
    REQUEST_SCHEME
    http
    REQUEST_URI
    /CHARACTERRISTIC.html
    SCRIPT_FILENAME
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/index.php
    SCRIPT_NAME
    /index.php
    SERVER_ADDR
    103.41.232.118
    SERVER_ADMIN
    webmaster@huiyuanyy.gz18.hostadm.net3
    SERVER_NAME
    mmlook.net
    SERVER_PORT
    80
    SERVER_PROTOCOL
    HTTP/1.1
    SERVER_SIGNATURE
    SERVER_SOFTWARE
    Apache/2
    UNIQUE_ID
    ZnHX9MSBZ75WThLunCYSqgAAAGc
    PHP_SELF
    /index.php
    REQUEST_TIME_FLOAT
    1718736884.3848
    REQUEST_TIME
    1718736884
    PATH_INFO
    CHARACTERRISTIC.html
    Environment Variables
    empty

    ThinkPHP Constants

    APP_DEBUG
    true
    CMF_ROOT
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/
    APP_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/app/
    UPLOAD_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/upload/
    CMF_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/simplewind/cmf/
    PLUGINS_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/plugins/
    EXTEND_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/simplewind/extend/
    VENDOR_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/simplewind/vendor/
    RUNTIME_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/data/runtime/
    THINKCMF_VERSION
    5.0.170927
    SO
    is_top DESC,list_order ASC,published_time DESC,post_id DESC
    GSO
    is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC
    TMPLSO
    order:is_top DESC,list_order DESC,published_time DESC,post_id DESC;
    TMPLGSO
    order:is_top DESC,category_relate.list_order DESC,published_time DESC,goods_id DESC;
    WEB_ROOT
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/
    THINK_VERSION
    5.0.24
    THINK_START_TIME
    1718736884.3874
    THINK_START_MEM
    417664
    EXT
    .php
    DS
    /
    THINK_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/simplewind/thinkphp/
    LIB_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/simplewind/thinkphp/library/
    CORE_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/simplewind/thinkphp/library/think/
    TRAIT_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/simplewind/thinkphp/library/traits/
    ROOT_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/
    LOG_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/data/runtime/log/
    CACHE_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/data/runtime/cache/
    TEMP_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/data/runtime/temp/
    CONF_PATH
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/app/
    CONF_EXT
    .php
    ENV_PREFIX
    PHP_
    IS_CLI
    false
    IS_WIN
    false
    HTMLPURIFIER_PREFIX
    /home/huiyuanyy/domains/huiyuanyy.gz18.hostadm.net3/public_html/simplewind/vendor/ezyang/htmlpurifier/library
    QINIU_FUNCTIONS_VERSION
    7.2.1
    ERR_INVALID_IMAGE
    1
    ERR_NO_GD
    2
    ERR_IMAGE_NOT_EXISTS
    3
    ERR_DIRECTORY_READONLY
    4
    ERR_UPLOAD_FAILURE
    5
    ERR_INVALID_PARAM
    6
    ERR_INVALID_IMAGE_TYPE
    7
    ERR_COPYFILE_FAILED
    1
    ERR_CREATETABLE_FAILED
    2
    ERR_DELETEFILE_FAILED
    3
    ATTR_TEXT
    0
    ATTR_OPTIONAL
    1
    ATTR_TEXTAREA
    2
    ATTR_URL
    3
    ERR_USERNAME_EXISTS
    1
    ERR_EMAIL_EXISTS
    2
    ERR_INVALID_USERID
    3
    ERR_INVALID_USERNAME
    4
    ERR_INVALID_PASSWORD
    5
    ERR_INVALID_EMAIL
    6
    ERR_USERNAME_NOT_ALLOW
    7
    ERR_EMAIL_NOT_ALLOW
    8
    ERR_mobiles_phones_EXISTS
    9
    ERR_INVALID_mobiles_phones
    10
    ERR_mobiles_phones_NOT_ALLOW
    11
    ERR_INVALID_REGISTER_TYPE
    12
    ERR_NOT_EXISTS
    1
    ERR_OUT_OF_STOCK
    2
    ERR_NOT_ON_SALE
    3
    ERR_CANNT_ALONE_SALE
    4
    ERR_NO_BASIC_GOODS
    5
    ERR_NEED_SELECT_ATTR
    6
    CART_GENERAL_GOODS
    0
    CART_GROUP_BUY_GOODS
    1
    CART_AUCTION_GOODS
    2
    CART_SNATCH_GOODS
    3
    CART_EXCHANGE_GOODS
    4
    CART_PRE_SALE_GOODS
    6
    CART_VIRTUAL_GROUP_GOODS
    7
    OS_UNCONFIRMED
    0
    OS_CONFIRMED
    1
    OS_CANCELED
    2
    OS_INVALID
    3
    OS_RETURNED
    4
    OS_SPLITED
    5
    OS_SPLITING_PART
    6
    PAY_ORDER
    0
    PAY_SURPLUS
    1
    SS_UNSHIPPED
    0
    SS_SHIPPED
    1
    SS_RECEIVED
    2
    SS_PREPARING
    3
    SS_SHIPPED_PART
    4
    SS_SHIPPED_ING
    5
    OS_SHIPPED_PART
    6
    PS_UNPAYED
    0
    PS_PAYING
    1
    PS_PAYED
    2
    PS_REFUND
    3
    CS_AWAIT_PAY
    100
    CS_AWAIT_SHIP
    101
    CS_UNKNOW
    99
    CS_UNPAY
    100
    CS_UNWORK
    101
    CS_CHECKED
    102
    CS_SPLITED_PART
    103
    CS_SPLITED
    104
    CS_SHIPPED_PART
    105
    CS_SHIPPED
    106
    CS_RECEIVED_PART
    107
    CS_RECEIVED
    108
    CS_FINISHED
    109
    CS_CANCEL
    110
    CS_RETURNING
    111
    CS_PAY_RETURNING
    112
    CS_PAY_RETURNED
    113
    CS_PAY_RETURNING_REJECT
    114
    CS_PAY_RETURNED_REJECT
    115
    CS_PAY_RETURNING_ADMIN_REJECT
    116
    CS_CHECKED_NO_SHIP
    117
    CS_CHECKED_CAN_SHIP
    118
    CAN_NOT
    0
    CAN_PAY
    1
    CAN_CANCEL
    2
    CAN_REFUND
    3
    CAN_RETURN
    4
    CAN_RECEIVED
    5
    CAN_COMMENT
    6
    CAN_SHAIDAN
    7
    OOS_WAIT
    0
    OOS_CANCEL
    1
    OOS_CONSULT
    2
    SDT_SHIP
    0
    SDT_PLACE
    1
    SEND_BY_USER
    0
    SEND_BY_GOODS
    1
    SEND_BY_ORDER
    2
    SEND_BY_PRINT
    3
    SEND_BY_REGISTER
    5
    SEND_BY_ONLINE
    4
    SEND_BY_LEAGUE
    6
    SEND_BY_FREE_BUY
    7
    SEND_BY_ON_LINE
    8
    SURPLUS_SAVE
    0
    SURPLUS_RETURN
    1
    ACT_SAVING
    0
    ACT_DRAWING
    1
    ACT_ADJUSTING
    2
    ACT_OTHER
    99
    HN_CHARSET
    utf-8
    USE_STORAGE
    1
    STOCK_DEC_TIME
    1
    INTEGRAL_SCALE
    1
    MIN_GOODS_AMOUNT
    0
    DIVIDE_TYPE_SECKILL
    3
    DIVIDE_TYPE_GROUP
    3
    DIVIDE_TYPE_BARGAIN
    1
    FAR_ALL
    0
    FAR_CATEGORY
    1
    FAR_BRAND
    2
    FAR_GOODS
    3
    FAT_GOODS
    0
    FAT_PRICE
    1
    FAT_DISCOUNT
    2
    FAT_FREESHIPPING
    3
    GROUP_BUY_CODE
    group_by
    GBS_PRE_START
    0
    GBS_UNDER_WAY
    1
    GBS_FINISHED
    2
    GBS_SUCCEED
    3
    GBS_FAIL
    4
    PRE_SALE_CODE
    pre_sale
    VIRTUAL_SALE_CODE
    virtual_good
    PSS_PRE_START
    0
    PSS_UNDER_WAY
    1
    PSS_FINISHED
    2
    PSS_SUCCEED
    3
    PSS_FAIL
    4
    IS_WECHAT_FALSE
    1
    IS_WECHAT_TRUE
    2
    DOMDOCUMENT
    DOMDocument
    DOMELEMENT
    DOMElement
    DOMNODELIST
    DOMNodeList
    DOMNODE
    DOMNode