[5001] Exception in Home.php line 172

模板不存在:/home/enmatongueincmgaxt0o8nfg/wwwroot/public/../apps/home/view/shop/index.html

  1. } else{
  2. $template_name = $this->request->controller().'/'.$template;
  3. }
  4. // 当前模版文件
  5. $template = config('template.view_path').strtolower($template_name).'.'.config('template.view_suffix'); //当前主题模版是否存在
  6. if (!is_file($template)) {
  7. $template = APP_PATH.MODULE_NAME. '/view/'. strtolower($template_name) . '.' .config('template.view_suffix');
  8. if (!is_file($template)) {
  9. throw new \Exception('模板不存在:'.$template, 5001);
  10. }
  11. }
  12. }
  13. return $this->view->fetch($template, $vars, $replace, $config, $render);
  14. }

Call Stack

  1. in Home.php line 172
  2. at Home->fetch() in Error.php line 16
  3. at Error->index()
  4. at ReflectionMethod->invokeArgs(object(Error), []) in App.php line 343
  5. at App::invokeMethod([object(Error), 'index'], []) in App.php line 611
  6. at App::module(['home', 'shop', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => '0', ...], true) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['home', 'shop', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/home/enmatongueincm...') in index.php line 36

Environment Variables

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

Server/Request Data

REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID
ZgUrzPX6PjFXIV4ckuPZPQAAAAs
REDIRECT_REDIRECT_REDIRECT_PHPRC
/home/enmatongueincmgaxt0o8nfg/others
REDIRECT_REDIRECT_REDIRECT_STATUS
200
REDIRECT_REDIRECT_UNIQUE_ID
ZgUrzPX6PjFXIV4ckuPZPQAAAAs
REDIRECT_REDIRECT_PHPRC
/home/enmatongueincmgaxt0o8nfg/others
REDIRECT_REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
ZgUrzPX6PjFXIV4ckuPZPQAAAAs
REDIRECT_PHPRC
/home/enmatongueincmgaxt0o8nfg/others
REDIRECT_HANDLER
php-cgi
REDIRECT_STATUS
200
UNIQUE_ID
ZgUrzPX6PjFXIV4ckuPZPQAAAAs
PHPRC
/home/enmatongueincmgaxt0o8nfg/others
HTTP_X_FORWARDED_FOR
52.91.0.68
HTTP_X_REAL_IP
52.91.0.68
HTTP_HOST
www.enma.fr
HTTP_CONNECTION
close
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
<address>Apache Server at www.enma.fr Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.enma.fr
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
52.91.0.68
DOCUMENT_ROOT
/home/enmatongueincmgaxt0o8nfg/wwwroot/
REQUEST_SCHEME
http
CONTEXT_PREFIX
/php-run-as-cgi
CONTEXT_DOCUMENT_ROOT
/usr/php7.0/bin
SERVER_ADMIN
webmaster@enmatong
SCRIPT_FILENAME
/home/enmatongueincmgaxt0o8nfg/wwwroot/public/index.php
REMOTE_PORT
57196
REDIRECT_URL
/public/index.php/home/shop/index/cpfl_id/5.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/home/shop/index/cpfl_id/5.html
SCRIPT_NAME
/public/index.php
PATH_INFO
/home/shop/index/cpfl_id/5.html
PATH_TRANSLATED
/home/enmatongueincmgaxt0o8nfg/wwwroot/home/shop/index/cpfl_id/5.html
ORIG_PATH_INFO
/public/index.php/home/shop/index/cpfl_id/5.html
ORIG_SCRIPT_NAME
/php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME
/usr/php7.0/bin/php-cgi
ORIG_PATH_TRANSLATED
/home/enmatongueincmgaxt0o8nfg/wwwroot/public/index.php/home/shop/index/cpfl_id/5.html
PHP_SELF
/public/index.php/home/shop/index/cpfl_id/5.html
REQUEST_TIME_FLOAT
1711614924.8571
REQUEST_TIME
1711614924
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/public/../apps/
PUBLIC_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/public/
THEME_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/public/themes/
MODULE_MARK
front
BASE_PATH
/public
THINK_VERSION
5.0.24
THINK_START_TIME
1711614924.8581
THINK_START_MEM
358600
EXT
.php
DS
/
THINK_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/thinkphp/
LIB_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/thinkphp/library/
CORE_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/thinkphp/library/think/
TRAIT_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/thinkphp/library/traits/
ROOT_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/
EXTEND_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/extend/
VENDOR_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/vendor/
RUNTIME_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/runtime/
LOG_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/runtime/log/
CACHE_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/runtime/cache/
TEMP_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/runtime/temp/
CONF_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/public/../apps/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
EACOOPHP_V
1.3.1
BUILD_VERSION
201812021322
PLUGIN_PATH
/home/enmatongueincmgaxt0o8nfg/wwwroot/plugins/
SERVER_SOFTWARE_TYPE
no
RESULT_SUCCESS
success
RESULT_ERROR
error
RESULT_REDIRECT
redirect
RESULT_MESSAGE
message
RESULT_URL
url
RESULT_DATA
data
DATA_COMMON_STATUS
status
DATA_NORMAL
1
DATA_DISABLE
0
DATA_DELETE
-1
DATA_SUCCESS
1
DATA_ERROR
0
TIME_CT_NAME
create_time
TIME_UT_NAME
update_time
TIME_NOW
1711614924
DB_PREFIX
qyc_
DB_LIST_ROWS
10
MODULE_NAME
home
IS_MOBILE
false
CURRENT_THEME
default
ACCREDIT_TOKEN
695e9ee380d138d99baac992a4bbca5f
CONTROLLER_NAME
Shop
ACTION_NAME
index
IS_POST
false
IS_AJAX
false
IS_PJAX
false
IS_GET
true