[2] ErrorException in File.php line 34

青蛙彩票导航网站

  1. */
  2. public function write($cacheFile, $content)
  3. {
  4. // 檢測模板目錄
  5. $dir = dirname($cacheFile);
  6. if (!is_dir($dir)) {
  7. mkdir($dir, 0755, true);
  8. }
  9. // 生成模板緩存文件
  10. if (false === file_put_contents($cacheFile, $content)) {
  11. throw new Exception('cache write error:' . $cacheFile, 11602);
  12. }
  13. }
  14. /**
  15. * 讀取編譯編譯
  16. * @param string $cacheFile 緩存的文件名
  17. * @param array $vars 變量數組
  18. * @return void

Call Stack

  1. in File.php line 34
  2. at Error::appError(2, 'file_put_contents():...', '/home/wwwroot/369.wu...', 34, ['cacheFile' => '/home/wwwroot/369.wu...', 'content' => '<?php if (!defined('...', 'dir' => '/home/wwwroot/369.wu...'])
  3. at file_put_contents('/home/wwwroot/369.wu...', '<?php if (!defined('...') in File.php line 34
  4. at File->write('/home/wwwroot/369.wu...', '<?php if (!defined('...') in Template.php line 348
  5. at Template->compiler('<?php if (!defined('...', '/home/wwwroot/369.wu...') in Template.php line 182
  6. at Template->fetch('/home/wwwroot/369.wu...', ['controller' => 'News', 'action' => 'detail', 'web_info' => ['site_name' => '物聯卡之家', 'shop_name' => '物聯卡之家'], ...], []) in Think.php line 86
  7. at Think->fetch('/home/wwwroot/369.wu...', ['controller' => 'News', 'action' => 'detail', 'web_info' => ['site_name' => '物聯卡之家', 'shop_name' => '物聯卡之家'], ...], []) in View.php line 163
  8. at View->fetch('/home/wwwroot/369.wu...', [], [], []) in Controller.php line 120
  9. at Controller->fetch('/home/wwwroot/369.wu...', [], [], []) in HomeBaseController.php line 122
  10. at HomeBaseController->fetch() in NewsController.php line 144
  11. at NewsController->detail()
  12. at ReflectionMethod->invokeArgs(object(NewsController), []) in App.php line 343
  13. at App::invokeMethod([object(NewsController), 'detail'], []) in App.php line 611
  14. at App::module(['portal', 'news', 'detail'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], false) in App.php line 457
  15. at App::exec(['type' => 'module', 'module' => ['portal', 'news', 'detail'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 139
  16. at App::run() in index.php line 44

青蛙彩票导航网站

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

Server/Request Data

REDIRECT_STATUS
200
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
HTTP_HOST
www.wulianka.cn
HTTP_ACCEPT
*/*
HTTP_REFERER
http://www.7xiao.net/news/3553.html
PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
LD_LIBRARY_PATH
/usr/local/apache/lib
SERVER_SIGNATURE
<address>Apache Server at www.wulianka.cn Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.wulianka.cn
SERVER_ADDR
172.16.82.11
SERVER_PORT
80
REMOTE_ADDR
156.237.189.46
DOCUMENT_ROOT
/home/wwwroot/369.wulianka.cn
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/home/wwwroot/369.wulianka.cn
SERVER_ADMIN
zhaoshuaivov@163.com
SCRIPT_FILENAME
/home/wwwroot/369.wulianka.cn/index.php
REMOTE_PORT
56450
REDIRECT_URL
/news/3553.html
REDIRECT_QUERY_STRING
s=news/3553.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
s=news/3553.html
REQUEST_URI
/news/3553.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1584231070.51
REQUEST_TIME
1584231070
PATH_INFO
news/3553.html
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
/home/wwwroot/369.wulianka.cn/
APP_PATH
/home/wwwroot/369.wulianka.cn/app/
CMF_PATH
/home/wwwroot/369.wulianka.cn/simplewind/cmf/
WEB_ROOT
/home/wwwroot/369.wulianka.cn/
PLUGINS_PATH
/home/wwwroot/369.wulianka.cn/plugins/
EXTEND_PATH
/home/wwwroot/369.wulianka.cn/simplewind/extend/
VENDOR_PATH
/home/wwwroot/369.wulianka.cn/simplewind/vendor/
RUNTIME_PATH
/home/wwwroot/369.wulianka.cn/data/runtime/
THINKCMF_VERSION
5.0.181231
THINK_VERSION
5.0.23
THINK_START_TIME
1584231070.5115
THINK_START_MEM
269600
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/369.wulianka.cn/simplewind/thinkphp/
LIB_PATH
/home/wwwroot/369.wulianka.cn/simplewind/thinkphp/library/
CORE_PATH
/home/wwwroot/369.wulianka.cn/simplewind/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/369.wulianka.cn/simplewind/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/369.wulianka.cn/
LOG_PATH
/home/wwwroot/369.wulianka.cn/data/runtime/log/
CACHE_PATH
/home/wwwroot/369.wulianka.cn/data/runtime/cache/
TEMP_PATH
/home/wwwroot/369.wulianka.cn/data/runtime/temp/
CONF_PATH
/home/wwwroot/369.wulianka.cn/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/home/wwwroot/369.wulianka.cn/simplewind/vendor/ezyang/htmlpurifier/library
QINIU_FUNCTIONS_VERSION
7.2.7
0.164234s