[2] ErrorException in File.php line 188

    file_put_contents(C:\wwwroot\sdqzhx.com\runtime\cache\ba\950178a190d5ec7bb98aea6fe8a8d3.php): failed to open stream: Permission denied

    1. $data = $this->serialize($value);
    2. if ($this->options['data_compress'] && function_exists('gzcompress')) {
    3. //数据压缩
    4. $data = gzcompress($data, 3);
    5. }
    6. $data = "<?php\n//" . sprintf('%012d', $expire) . "\n exit();?>\n" . $data;
    7. $result = file_put_contents($filename, $data);
    8. if ($result) {
    9. isset($first) && $this->setTagItem($filename);
    10. clearstatcache();
    11. return true;
    12. } else {
    13. return false;
    14. }
    15. }

    Call Stack

    1. in File.php line 188
    2. at Error::appError(2, 'file_put_contents(C:...', 'C:\wwwroot\git.com.c...', 188, ['name' => 'getCategory_2', 'value' => ['id' => 2, 'catname' => '我们的服务', 'catdir' => 'chanpinjiejuefangan', ...], 'expire' => 3600, ...])
    3. at file_put_contents('C:\wwwroot\git.com.c...', '<?php //000000003600...') in File.php line 188
    4. at File->set('getCategory_2', ['id' => 2, 'catname' => '我们的服务', 'catdir' => 'chanpinjiejuefangan', ...], 3600)
    5. at call_user_func_array([object(File), 'set'], ['getCategory_2', ['id' => 2, 'catname' => '我们的服务', 'catdir' => 'chanpinjiejuefangan', ...], 3600]) in Cache.php line 130
    6. at Cache->__call('set', ['getCategory_2', ['id' => 2, 'catname' => '我们的服务', 'catdir' => 'chanpinjiejuefangan', ...], 3600])
    7. at call_user_func_array([object(Cache), 'set'], ['getCategory_2', ['id' => 2, 'catname' => '我们的服务', 'catdir' => 'chanpinjiejuefangan', ...], 3600]) in Facade.php line 123
    8. at Facade::__callStatic('set', ['getCategory_2', ['id' => 2, 'catname' => '我们的服务', 'catdir' => 'chanpinjiejuefangan', ...], 3600]) in function.php line 42
    9. at getCategory(2, 'catname') in function.php line 136
    10. at nam(2) in 637b130e17052f8c9601dfbf5caea351.php line 229
    11. at include('C:\wwwroot\git.com.c...') in File.php line 59
    12. at File->read('C:\wwwroot\git.com.c...', ['site' => ['upload_thumb_water' => '0', 'upload_thumb_water_pic' => '', 'upload_image_size' => '0', ...], 'userinfo' => null, 'Member_group' => [['id' => 1, 'name' => '禁止访问', 'issystem' => 1, ...], ['id' => 2, 'name' => '新手上路', 'issystem' => 1, ...], ['id' => 6, 'name' => '注册会员', 'issystem' => 1, ...], ...], ...]) in Template.php line 226
    13. at Template->fetch('C:\wwwroot\git.com.c...', ['site' => ['upload_thumb_water' => '0', 'upload_thumb_water_pic' => '', 'upload_image_size' => '0', ...], 'userinfo' => null, 'Member_group' => [['id' => 1, 'name' => '禁止访问', 'issystem' => 1, ...], ['id' => 2, 'name' => '新手上路', 'issystem' => 1, ...], ['id' => 6, 'name' => '注册会员', 'issystem' => 1, ...], ...], ...], []) in Think.php line 93
    14. at Think->fetch('C:\wwwroot\git.com.c...', ['site' => ['upload_thumb_water' => '0', 'upload_thumb_water_pic' => '', 'upload_image_size' => '0', ...], 'userinfo' => null, 'Member_group' => [['id' => 1, 'name' => '禁止访问', 'issystem' => 1, ...], ['id' => 2, 'name' => '新手上路', 'issystem' => 1, ...], ['id' => 6, 'name' => '注册会员', 'issystem' => 1, ...], ...], ...], []) in View.php line 192
    15. at View->fetch('page/product', ['site' => ['upload_thumb_water' => '0', 'upload_thumb_water_pic' => '', 'upload_image_size' => '0', ...], 'userinfo' => null, 'Member_group' => [['id' => 1, 'name' => '禁止访问', 'issystem' => 1, ...], ['id' => 2, 'name' => '新手上路', 'issystem' => 1, ...], ['id' => 6, 'name' => '注册会员', 'issystem' => 1, ...], ...], ...], [], false) in Homebase.php line 41
    16. at Homebase->fetch('page/product') in Index.php line 115
    17. at Index->lists()
    18. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 395
    19. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['catdir' => 'zhengquanye', 'convert' => false]) in Module.php line 136
    20. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
    21. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
    22. at Middleware->think\{closure}(object(Request))
    23. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
    24. at Middleware->dispatch(object(Request), 'controller') in Module.php line 141
    25. at Module->exec() in Dispatch.php line 168
    26. at Dispatch->run() in App.php line 432
    27. at App->think\{closure}(object(Request), object(Closure), null)
    28. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
    29. at Middleware->think\{closure}(object(Request))
    30. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
    31. at Middleware->dispatch(object(Request)) in App.php line 435
    32. at App->run() in index.php line 23

    Environment Variables

    GET Dataempty
    POST Dataempty
    Filesempty
    Cookiesempty
    Sessionempty
    Server/Request Data
    ALLUSERSPROFILE C:\ProgramData
    APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
    BT_PANEL C:\BtSoft\panel
    BT_PYTHON C:\Program Files\python
    BT_SETUP C:\BtSoft
    CommonProgramFiles C:\Program Files\Common Files
    CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
    CommonProgramW6432 C:\Program Files\Common Files
    COMPUTERNAME iZa3g1zehnvg28Z
    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:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\dll;C:\Program Files\python;C:\Program Files\python\Scripts;C:\BtSoft\panel\script
    PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PHP_FCGI_MAX_REQUESTS 2000
    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
    UNRAR_LIB_PATH C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
    USERDOMAIN WORKGROUP
    USERNAME iZa3g1zehnvg28Z$
    USERPROFILE C:\Windows\system32\config\systemprofile
    windir C:\Windows
    windows_tracing_flags 3
    windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
    HTTP_X_MICROSOFTAJAX Delta=true
    HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2)
    HTTP_CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
    HTTP_CACHE_CONTROL no-cache
    HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
    HTTP_ACCEPT_ENCODING gzip, deflate
    HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_X_APPLE_STORE_FRONT 143444,12
    HTTP_X_APPLE_TZ 0
    HTTP_REFERER https://www.baidu.com/search/spider.htm
    HTTP_HOST www.sdqzhx.com
    REDIRECT_STATUS 200
    SERVER_NAME sdqzhx.com
    SERVER_PORT 443
    SERVER_ADDR 172.16.0.241
    REMOTE_PORT 39890
    REMOTE_ADDR 156.254.184.162
    SERVER_SOFTWARE nginx/1.22.0
    GATEWAY_INTERFACE CGI/1.1
    HTTPS on
    REQUEST_SCHEME https
    SERVER_PROTOCOL HTTP/1.1
    DOCUMENT_ROOT c:/wwwroot/sdqzhx.com
    DOCUMENT_URI /index.php
    REQUEST_URI //zhengquanye
    SCRIPT_NAME /index.php
    CONTENT_LENGTH
    CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
    REQUEST_METHOD GET
    QUERY_STRING s=/zhengquanye
    PATH_INFO
    SCRIPT_FILENAME c:/wwwroot/sdqzhx.com/index.php
    FCGI_ROLE RESPONDER
    PHP_SELF /index.php
    REQUEST_TIME_FLOAT 1775159667.2695
    REQUEST_TIME 1775159667
    Environment Variablesempty
    ThinkPHP Constants
    UX_ADMIN_URL @growthman1688
    ROOT_PATH C:\wwwroot\sdqzhx.com\
    APP_PATH C:\wwwroot\sdqzhx.com\application\
    DS \
    ADDON_PATH C:\wwwroot\sdqzhx.com\addons\
    ROOT_URL /
    TEMPLATE_PATH C:\wwwroot\sdqzhx.com\templates\
    WEBSCAN_U_KEY fe6f9a5a18ffc667373f461bc9379d2c
    WEBSCAN_API_LOG https://safe.webscan.360.cn/papi/log/?key=fe6f9a5a18ffc667373f461bc9379d2c
    WEBSCAN_UPDATE_FILE https://safe.webscan.360.cn/papi/update/?key=fe6f9a5a18ffc667373f461bc9379d2c
    WEBSCAN_VERSION 0.1.2.6
    WEBSCAN_MD5 9e5c307374031bfabf49d7ab7e4737c7
    FILTER_VALIDATE_BOOL 258
    HTMLPURIFIER_PREFIX C:\wwwroot\sdqzhx.com\vendor\ezyang\htmlpurifier\library
    PINYIN_DEFAULT 4096
    PINYIN_TONE 2
    PINYIN_NO_TONE 4
    PINYIN_ASCII_TONE 8
    PINYIN_NAME 16
    PINYIN_KEEP_NUMBER 32
    PINYIN_KEEP_ENGLISH 64
    PINYIN_UMLAUT_V 128
    PINYIN_KEEP_PUNCTUATION 256
    站点地图