• System Error


    AG贵宾厅

  • [0] TemplateNotFoundException in Think.php line 82

    模板文件不存在:template/en/list_article.htm

    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('template/en/list_art...', ['temp' => 'template/en', 'tempp_src' => 'en', 'menu' => [['id' => 1, 'cate_name' => 'About ', 'cate_ename' => 'About TST', ...], ['id' => 11, 'cate_name' => 'Product', 'cate_ename' => 'PRODUCT CENTER', ...], ['id' => 22, 'cate_name' => 'News', 'cate_ename' => 'News Center', ...], ...], ...], []) in View.php line 163
    3. at View->fetch('template/en/list_art...', [], [], []) in Controller.php line 120
    4. at Controller->fetch('template/en/list_art...') in Cate.php line 164
    5. at Cate->index('33')
    6. at ReflectionMethod->invokeArgs(object(Cate), ['33']) in App.php line 343
    7. at App::invokeMethod([object(Cate), 'index'], []) in App.php line 611
    8. at App::module(['en', 'cate', 'index'], ['app_host' => '', 'app_debug' => 1, 'app_trace' => false, ...], false) in App.php line 457
    9. at App::exec(['type' => 'module', 'module' => ['en', 'cate', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => 1, 'app_trace' => false, ...]) in App.php line 139
    10. at App::run() in start.php line 19
    11. at require('/mnt/wwwroot/www.chi...') in index.php line 42

    Environment Variables

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

    Server/Request Data

    USER
    www
    HOME
    /home/www
    FCGI_ROLE
    RESPONDER
    SCRIPT_FILENAME
    /mnt/wwwroot/www.gywhcc.com/index.php
    QUERY_STRING
    s=/encate/33.html
    REQUEST_METHOD
    GET
    CONTENT_TYPE
    CONTENT_LENGTH
    SCRIPT_NAME
    /index.php
    REQUEST_URI
    /encate/33.html
    DOCUMENT_URI
    /index.php
    DOCUMENT_ROOT
    /mnt/wwwroot/www.gywhcc.com
    SERVER_PROTOCOL
    HTTP/1.0
    REQUEST_SCHEME
    http
    http
    on
    GATEWAY_INTERFACE
    CGI/1.1
    SERVER_SOFTWARE
    nginx/1.28.0
    REMOTE_ADDR
    154.212.174.40
    REMOTE_PORT
    44588
    SERVER_ADDR
    172.19.125.81
    SERVER_PORT
    443
    SERVER_NAME
    www.gywhcc.com
    REDIRECT_STATUS
    200
    PATH_INFO
    /encate/33.html
    HTTP_HOST
    www.gywhcc.com
    HTTP_CONNECTION
    close
    HTTP_USER_AGENT
    Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
    HTTP_ACCEPT_ENCODING
    gzip, deflate, sdch
    PHP_SELF
    /index.php
    REQUEST_TIME_FLOAT
    1764056080.5139
    REQUEST_TIME
    1764056080
    Environment Variables
    empty

    ThinkPHP Constants

    APP_PATH
    /mnt/wwwroot/www.gywhcc.com/application/
    ADMINIMG
    /mnt/wwwroot/www.gywhcc.com/public/static/admin/uploads/cateimg/
    INDEXIMGS
    /mnt/wwwroot/www.gywhcc.com/public/static/index/uploads/cateimg/
    ADMIN_STATIC
    /mnt/wwwroot/www.gywhcc.com/public/static/admin/
    INDEXIMG
    /mnt/wwwroot/www.gywhcc.com/public/static/index/uploads/img/
    INDEXATT
    /mnt/wwwroot/www.gywhcc.com/public/static/index/uploads/att/
    INDEXAD
    /mnt/wwwroot/www.gywhcc.com/public/static/index/uploads/ad/
    APP_DEBUG
    true
    THINK_VERSION
    5.0.24
    THINK_START_TIME
    1764056080.5143
    THINK_START_MEM
    265736
    EXT
    .php
    DS
    /
    THINK_PATH
    /mnt/wwwroot/www.gywhcc.com/thinkphp/
    LIB_PATH
    /mnt/wwwroot/www.gywhcc.com/thinkphp/library/
    CORE_PATH
    /mnt/wwwroot/www.gywhcc.com/thinkphp/library/think/
    TRAIT_PATH
    /mnt/wwwroot/www.gywhcc.com/thinkphp/library/traits/
    ROOT_PATH
    /mnt/wwwroot/www.gywhcc.com/
    EXTEND_PATH
    /mnt/wwwroot/www.gywhcc.com/extend/
    VENDOR_PATH
    /mnt/wwwroot/www.gywhcc.com/vendor/
    RUNTIME_PATH
    /mnt/wwwroot/www.gywhcc.com/runtime/
    LOG_PATH
    /mnt/wwwroot/www.gywhcc.com/runtime/log/
    CACHE_PATH
    /mnt/wwwroot/www.gywhcc.com/runtime/cache/
    TEMP_PATH
    /mnt/wwwroot/www.gywhcc.com/runtime/temp/
    CONF_PATH
    /mnt/wwwroot/www.gywhcc.com/application/
    CONF_EXT
    .php
    ENV_PREFIX
    PHP_
    IS_CLI
    false
    IS_WIN
    false