[2] ErrorException in Template.class.php line 113

file_put_contents(D:\web\newpolocai_tp5\extend\charttable\Lib\Tables\Cache\d83109264277790f0cace4770d341ca5.etpl): failed to open stream: Permission denied

  1. }
  2. }
  3. public function loadCache($file) {
  4. $cache_filename = $this->parseCacheFileName($file);
  5. if (is_file($cache_filename) && self::$DEBUG !== true) {
  6. return $cache_filename;
  7. } else {
  8. $content = $this->parse($file);
  9. file_put_contents($cache_filename, "<?php !defined('CHART_TABLE')&&exit();?>" . $content);
  10. return $cache_filename;
  11. }
  12. }
  13. public function parse($file) {
  14. //获取文件名
  15. // $file = $this->parseFileName($file);
  16. //获取模板内容
  17. $content = file_get_contents($file);

Call Stack

  1. in Template.class.php line 113
  2. at Error::appError(2, 'file_put_contents(D:...', 'D:\web\newpolocai_tp...', 113, ['file' => 'D:\web\newpolocai_tp...', 'cache_filename' => 'D:\web\newpolocai_tp...', 'content' => '<div class="chart-sc...'])
  3. at file_put_contents('D:\web\newpolocai_tp...', '<?php !defined('CHAR...') in Template.class.php line 113
  4. at Template->loadCache('D:\web\newpolocai_tp...') in Template.class.php line 43
  5. at Template::compile('D:\web\newpolocai_tp...', ['images' => '/public/chart/images...', 'cur_search' => 30, 'search' => [['title' => 30, 'url' => 'http://www.t1389.com/zst_dlt/linChuanGu.html?attr=50&sortFlag=">http://www.t1389.com/zst_dlt/linChuanGu.html?attr=100&sortFlag=">https://www.polocai....', 'active' => 0]], ...]) in TemplateFetchTrait.class.php line 32
  6. at tableTypeComm->fetch(null) in tableTypeComm.class.php line 185
  7. at tableTypeComm->buildHtml(['func' => 'zst', 'lottery' => 'dlt', 'type' => 'linChuanGu', ...]) in tableLotteryComm.class.php line 39
  8. at tableLotteryComm->build(['func' => 'zst', 'lottery' => 'dlt', 'type' => 'linChuanGu', ...]) in chartTable.class.php line 51
  9. at chartTable->execute('Dlt', 'linChuanGu') in chartTable.class.php line 28
  10. at chartTable->__invoke('Dlt', 'linChuanGu') in main.class.php line 41
  11. at main::run([], 'chart', 'Dlt', 'linChuanGu') in chartTableFun.php line 64
  12. at chartTableFun::run('chart', 'Dlt', 'linChuanGu', ['request' => ['func' => 'zst', 'lottery' => 'dlt', 'type' => 'linChuanGu', ...], 'url_builder' => ['\Lib\ChartTableFun', 'urlBuilder'], 'plugins' => ['addnumber', 'nextissue'], ...]) in Chart.php line 223
  13. at Chart->dFilter()
  14. at ReflectionMethod->invokeArgs(object(Chart), []) in App.php line 343
  15. at App::invokeMethod([object(Chart), 'dFilter'], []) in App.php line 611
  16. at App::module(['index', 'Chart', 'dFilter'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  17. at App::exec(['type' => 'module', 'module' => ['index', 'Chart', 'dFilter'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  18. at App::run(object(Request)) in cmd_common.php line 19
  19. at require('D:\web\newpolocai_tp...') in index.php line 21

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

test_over
2021-06-10 20:05
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-dc7317ee-60d4-48b8-80c0-08cfceb233d5
PHP_FCGI_MAX_REQUESTS
1000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\polo_www\polo_www.config
APP_POOL_ID
polo_www
CommonProgramFiles
C:\Program Files\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
iZzpxki6piejr8Z
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
4
OS
Windows_NT
Path
C:\Program Files\PHP\v5.3;C:\Windows\system32\inetsrv;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;D:\application\Redis\;C:\Program Files\TortoiseSVN\bin;
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
4f01
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
UserInitMprLogonScript
C:\ProgramData\Microsoft_ORmYDz\Check.exe
USERNAME
iZzpxki6piejr8Z$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/zst_dlt/linChuanGu.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/8.5
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
1
SERVER_PORT
443
SERVER_NAME
www.t1389.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
D:\web\newpolocai_tp5\public\index.php
REQUEST_URI
/zst_dlt/linChuanGu.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
58970
REMOTE_HOST
172.247.143.10
REMOTE_ADDR
172.247.143.10
QUERY_STRING
PATH_TRANSLATED
D:\web\newpolocai_tp5\public\index.php\zst_dlt\linChuanGu.html
PATH_INFO
/zst_dlt/linChuanGu.html
LOGON_USER
LOCAL_ADDR
172.17.0.5
INSTANCE_META_PATH
/LM/W3SVC/4
INSTANCE_NAME
POLO_WWW_4
INSTANCE_ID
4
HTTPS_SERVER_SUBJECT
CN=www.t1389.com
HTTPS_SERVER_ISSUER
C=US, O=DigiCert Inc, OU=www.digicert.com, CN=Encryption Everywhere DV TLS CA - G1
HTTPS_SECRETKEYSIZE
2048
HTTPS_KEYSIZE
256
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
D:\web\newpolocai_tp5\public
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
D:\web\newpolocai_tp5\public\
APPL_MD_PATH
/LM/W3SVC/4/ROOT
WEBSOCKET_VERSION
13
IIS_UrlRewriteModule
7,1,1993,2351
UNENCODED_URL
/zst_dlt/linChuanGu.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/zst_dlt/linChuanGu.html
HTTP_CLIENT_IP
18.204.56.185
HTTP_X_FORWARDED_FOR
18.204.56.185
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_REFERER
http://www.t1389.com/
HTTP_HOST
www.t1389.com
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
HTTP_CONNECTION
keep-alive
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/zst_dlt/linChuanGu.html
REQUEST_TIME_FLOAT
1660379290.3678
REQUEST_TIME
1660379290
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
D:\web\newpolocai_tp5\
APP_PATH
D:\web\newpolocai_tp5\application\
BIND_MODULE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1660379290.3687
THINK_START_MEM
279152
EXT
.php
DS
\
THINK_PATH
D:\web\newpolocai_tp5\thinkphp\
LIB_PATH
D:\web\newpolocai_tp5\thinkphp\library\
CORE_PATH
D:\web\newpolocai_tp5\thinkphp\library\think\
TRAIT_PATH
D:\web\newpolocai_tp5\thinkphp\library\traits\
EXTEND_PATH
D:\web\newpolocai_tp5\extend\
VENDOR_PATH
D:\web\newpolocai_tp5\vendor\
RUNTIME_PATH
D:\web\newpolocai_tp5\runtime\
LOG_PATH
D:\web\newpolocai_tp5\runtime\log\
CACHE_PATH
D:\web\newpolocai_tp5\runtime\cache\
TEMP_PATH
D:\web\newpolocai_tp5\runtime\temp\
CONF_PATH
D:\web\newpolocai_tp5\application\
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
APP_STATUS
work
APP_DEBUG
false
SITE_PHP_EXE
D:\application\php5639\php.exe
SITE_CLI_ACTION_IN
D:\web\newpolocai_tp5\cmd.php
UCENTER_PATH
D:\web\newpolocai_tp5\uc_client\
LINUX_ROOT
/home/www/newpolocai_tp5/
PUBLIC_PATH
D:\web\newpolocai_tp5\public
IS_DO_COM
true
__ROOT__
NOW_TIME
1660379290
CHART_TABLE
D:\web\newpolocai_tp5\extend\charttable\
CHART_TABLE_LIB
D:\web\newpolocai_tp5\extend\charttable\Lib\
CHART_TABLE_MAIN
D:\web\newpolocai_tp5\extend\charttable\Lib\Tables\
CHART_TABLE_THEME
D:\web\newpolocai_tp5\extend\charttable\Lib\Tables\Theme\
CHART_TABLE_COMM
D:\web\newpolocai_tp5\extend\charttable\Lib\Tables\Common\