[2] ErrorException in File.php line 54

mkdir(): Permission denied

  1. /**
  2. * 初始化检查
  3. * @access private
  4. * @return boolean
  5. */
  6. private function init()
  7. {
  8. // 创建项目缓存目录
  9. if (!is_dir($this->options['path'])) {
  10. if (mkdir($this->options['path'], 0755, true)) {
  11. return true;
  12. }
  13. }
  14. return false;
  15. }
  16. /**
  17. * 取得变量的存储文件名
  18. * @access protected

Call Stack

  1. in File.php line 54
  2. at Error::appError(2, 'mkdir(): Permission ...', '/www/wwwroot/www_aig...', 54, [])
  3. at mkdir('/www/wwwroot/www_aig...', 493, true) in File.php line 54
  4. at File->init() in File.php line 42
  5. at File->__construct(['type' => 'File', 'path' => '/www/wwwroot/www_aig...', 'prefix' => '', ...]) in Cache.php line 51
  6. at Cache::connect(['type' => 'File', 'path' => '/www/wwwroot/www_aig...', 'prefix' => '', ...]) in Cache.php line 72
  7. at Cache::init() in helper.php line 362
  8. at cache('site_config') in common.php line 3
  9. at get_config('WEB_AUTH_CODE') in Common.php line 4
  10. at Common->_license() in Base.php line 4
  11. at Base->_initialize() in Pcend.php line 3
  12. at Pcend->_initialize() in Controller.php line 56
  13. at Controller->__construct(object(Request))
  14. at ReflectionClass->newInstanceArgs([object(Request)]) in App.php line 215
  15. at App::invokeClass('app\index\controller...') in Loader.php line 420
  16. at Loader::controller('goods', 'controller', false, 'Error') in App.php line 394
  17. at App::module(['index', 'goods', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 295
  18. at App::exec(['type' => 'module', 'module' => ['index', 'goods', 'index']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  19. at App::run() in start.php line 18
  20. at require('/www/wwwroot/www_aig...') in index.php line 20

Environment Variables

GET Data

[ "error_reporting", "define", null, null, null, "explode", "|8|!|(", "_initialize|8|!|(isMobile|8|!|(url|8|!|(domain|8|!|(rtrim|8|!|(\/|8|!|(m\/Index\/index|8|!|(.|8|!|(config|8|!|(default_return_type|8|!|(preg_replace|8|!|(\/\\\/index\\\/\/|8|!|(\/m\/|8|!|(redirect" ]
[ null, null, "|$|:|3", "data\/install.lock|$|:|3<meta http-equiv='Refresh' content='0;URL=|$|:|3?s=\/install\/index\/index.html'>|$|:|3session|$|:|3cxxia_user_auth|$|:|3var_page|$|:|3page|$|:|3path|$|:|3query|$|:|3fragment|$|:|3|$|:|3HTTP_HOST|$|:|3\/[\\w][\\w-]*\\.(?:com\\.cn|com|cn|net|co|org|top|shop|trade|fun|cc|name|info|me|news|pw|la|hk|dk|xin|so|win|in|de|wang|asia|biz|mobi|ren|club|site|space|cm|online|tech|live|xyz|cn\\.com|com\\.cn|net\\.cn|org\\.cn|gov\\.cn|com\\.hk|tm|tv|tel|us|bid|ai|tw|website|host|tk|vip|link|press|vu|ws|click|kim|tn|store|vc|red|yt|ltd|re|com\\.tw)(\\\/|$)\/isU|$|:|3\/|$|:|3http:\/\/|$|:|3|$|:|3\/|$|:|3author-st-chengxuxia.com-base-cxxiacms|$|:|3WEB_AUTH_CODE|$|:|3'|$|:|3Content-Type:text\/html; charset=utf-8|$|:|3\u60a8\u7684\u7f51\u7ad9\u672a\u88ab\u6388\u6743\uff0c\u8bf7\u8054\u7cfb\u7a0b\u5e8f\u4fa0\u5b98\u7f51\u6388\u6743\uff0c\u7a0b\u5e8f\u4fa0\u5b98\u7f51\uff1a<a href='http:\\\/\\\/bbs.chengxuxia.com\/' target='_blank'>bbs.chengxuxia.com<\/a> &nbsp;\u5ba2\u670dQQ\uff1a<a href='http:\/\/wpa.qq.com\/msgrd?v=3&uin=573907419&site=qq&menu=yes' target='_blank'>573907419<\/a> &nbsp;\u5ba2\u670d\u65fa\u65fa\uff1a<a target='_blank' href='http:\\\/\\\/www.taobao.com\\\/webww\\\/ww.php?ver=3&touid=moxie1314\r\n &siteid=cntaobao&status=1&charset=utf-8'>moxie1314<\/a> <br><br> [\u5907\u6ce8:\u7a0b\u5e8f\u4fa0\u5b98\u7f51\u63d0\u4f9b]|$|:|3https|$|:|3@|$|:|3&|$|:|3\u9875\u9762\u4e0d\u5b58\u5728|$|:|3code|$|:|3msg|$|:|3data|$|:|3json" ]
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/www_aigoud_com/index.php
QUERY_STRING
s=/index/goods/index/id/608902994900.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/index/goods/index/id/608902994900.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/www_aigoud_com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.14.2
REMOTE_ADDR
107.149.194.252
REMOTE_PORT
59112
SERVER_ADDR
172.16.0.6
SERVER_PORT
80
SERVER_NAME
www.aigoud.com
REDIRECT_STATUS
200
PATH_INFO
/index/goods/index/id/608902994900.html
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
HTTP_HOST
www.aigoud.com
HTTP_ACCEPT
*/*
HTTP_REFERER
http://www.minxin18.com/index/goods/index/id/608902994900.html
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1576299046.3117
REQUEST_TIME
1576299046
[ "get_config", "Config", "", "get_taobao_coupon", "format_number", "get_word", "\/", "(.*?)", "\/s", "object_to_array", "resource", "object", "array", "friend_date", "Y", "m", "d", "\u521a\u521a", "Y\u5e74m\u6708d\u65e5", "\u540e\u5929", "H:i", "\u660e\u5929", "\u79d2\u524d", "\u5206\u949f\u524d", "\u5c0f\u65f6\u524d", "\u6628\u5929", "\u524d\u5929", "m\u6708d\u65e5 H:i", "m\u6708d\u65e5", "get_keywords", "pscws4.pscws4", "pscws4\/etc\/dict.utf8.xdb", "pscws4\/etc\/rules.utf8.ini", "word", "get_keywords_str", "phpanalysis.phpanalysis", "utf-8", "str_length", "mb_strlen", "\/.\/u", "exec_curl", "HTTP_USER_AGENT", "nav_url", "https:\/\/", "http:\/\/", "get_avatar", "data\/uploads\/avatar\/", "attach", "get_thumb", "taobaocdn.com", "taobao.com", "alicdn.com", "tbcdn.cn", "_s", "_100x100.jpg", "_m", "_230x230.jpg", "_b", "_310x310.jpg", "get_url", "WEB_SITE_URL", "show_type", "C", "\u6dd8\u5b9d", "B", "\u5929\u732b", "is_json", "query", "id", "item_id", "default_item_id", "amp;id", "amp;item_id", "amp;default_item_id", "new_goods", "Y-m-d", "<span class=\"goods-new\">\u65b0\u54c1<\/span>" ]
[ "_initialize", "isMobile", "url", "domain", "rtrim", "\/", "m\/Index\/index", ".", "config", "default_return_type", "preg_replace", "\/\\\/index\\\/\/", "\/m\/", "redirect" ]
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www_aigoud_com/application/
THINK_VERSION
5.0.10
THINK_START_TIME
1576299046.3123
THINK_START_MEM
265984
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www_aigoud_com/thinkphp/
LIB_PATH
/www/wwwroot/www_aigoud_com/thinkphp/library/
CORE_PATH
/www/wwwroot/www_aigoud_com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www_aigoud_com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www_aigoud_com/
EXTEND_PATH
/www/wwwroot/www_aigoud_com/extend/
VENDOR_PATH
/www/wwwroot/www_aigoud_com/vendor/
CXXIA_DATA_PATH
/www/wwwroot/www_aigoud_com/data/
CXXIA_UPGRADE_PATH
/www/wwwroot/www_aigoud_com/data/upgrade/
CXXIA_INSTALL_PATH
/www/wwwroot/www_aigoud_com/data/install/
CXXIA_PLUGIN_PATH
/www/wwwroot/www_aigoud_com/data/plugin/
RUNTIME_PATH
/www/wwwroot/www_aigoud_com/runtime/
LOG_PATH
/www/wwwroot/www_aigoud_com/runtime/log/
CACHE_PATH
/www/wwwroot/www_aigoud_com/runtime/cache/
TEMP_PATH
/www/wwwroot/www_aigoud_com/runtime/temp/
CONF_PATH
/www/wwwroot/www_aigoud_com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false