duanjia4817 2017-02-02 12:50
浏览 208

带有消息'Cache engine“_ cake_core_”的未捕获异常'CacheException'未正确配置cakephp AWS

I am getting following error: using cakephp, aws.

Warning: _cake_core_ cache was unable to write 'cake_dev_en-gb' to File cache in /var/www/html/myApp/lib/Cake/Cache/Cache.php on line 328

Warning: /var/www/html/myApp/app/tmp/cache/persistent/ is not writable in /var/www/html/myApp/lib/Cake/Cache/Engine/FileEngine.php on line 385

Fatal error: Uncaught exception 'CacheException' with message 'Cache engine "_cake_core_" is not properly configured. Ensure required extensions are installed, and credentials/permissions are correct' in /var/www/html/myApp/lib/Cake/Cache/Cache.php:186 Stack trace: #0 /var/www/html/myApp/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('_cake_core_') #1 /var/www/html/myApp/app/Config/core.php(383): Cache::config('_cake_core_', Array) #2 /var/www/html/myApp/lib/Cake/Core/Configure.php(72): include('/var/www/html/i...') #3 /var/www/html/myApp/lib/Cake/bootstrap.php(431): Configure::bootstrap(true) #4 /var/www/html/myApp/app/webroot/index.php(95): include('/var/www/html/i...') #5 {main} thrown in /var/www/html/myApp/lib/Cake/Cache/Cache.php on line 186

NOTE : tmp folders have full permission(777), yet getting the same error, please advise?

I have gone through https://groups.google.com/forum/#!topic/cake-php/gKFJf6mK6qk also.

  • 写回答

1条回答 默认 最新

  • dongpaozhi5734 2017-10-05 04:15
    关注

    Please check with server configuration, Firewall should be disable on the server to access 777 folder by anonymous users.

    评论

报告相同问题?

悬赏问题

  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大