Cakephp cake_core_ cache was unable to write #39;cake_dev_en-us#39;(Cakephp cake_core_ 缓存无法写入“cake_dev_en-us)
本文介绍了Cakephp cake_core_ 缓存无法写入“cake_dev_en-us"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经尝试了一切,但我不断收到以下蛋糕错误:
I have tried EVERYTHING but i keep getting the following cake error:
( ! ) Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /var/www/bloglic-2013/cake/lib/Cake/Cache/Cache.php on line 309
Warning: /var/www/bloglic-2013/cake/app/tmp/cache/persistent/ is not writable in /var/www/bloglic-2013/cake/lib/Cake/Cache/Engine/FileEngine.php on line 336
( ! ) Fatal error: Uncaught exception 'CacheException' with message 'Cache engine _cake_core_ is not properly configured.' in /var/www/bloglic-2013/cake/lib/Cake/Cache/Cache.php on line 165
( ! ) CacheException: Cache engine _cake_core_ is not properly configured. in /var/www/bloglic-2013/cake/lib/Cake/Cache/Cache.php on line 165
这是我拥有的访问列表
total 116
-rwxr-xr-x 1 marc marc 23119 Aug 2 10:16 basics.php
-rwxr-xr-x 1 marc marc 13932 Aug 2 10:16 bootstrap.php
drwxrwxrwx 3 marc marc 4096 Aug 2 10:16 Cache
drwxr-xr-x 3 marc marc 4096 Aug 2 10:16 Config
drwxr-xr-x 2 marc marc 4096 Aug 2 10:16 Configure
drwxr-xr-x 4 marc marc 4096 Aug 2 10:16 Console
drwxr-xr-x 3 marc marc 4096 Aug 2 10:16 Controller
drwxr-xr-x 2 marc marc 4096 Aug 2 10:16 Core
drwxr-xr-x 2 marc marc 4096 Aug 2 10:16 Error
drwxr-xr-x 2 marc marc 4096 Aug 2 10:16 Event
drwxr-xr-x 2 marc marc 4096 Aug 2 10:16 I18n
-rwxr-xr-x 1 marc marc 1163 Aug 2 10:16 LICENSE.txt
drwxr-xr-x 3 marc marc 4096 Aug 2 10:16 Log
drwxr-xr-x 5 marc marc 4096 Aug 2 10:16 Model
drwxr-xr-x 4 marc marc 4096 Aug 2 10:16 Network
drwxr-xr-x 4 marc marc 4096 Aug 2 10:16 Routing
drwxr-xr-x 5 marc marc 4096 Aug 2 10:16 Test
drwxr-xr-x 6 marc marc 4096 Aug 2 10:16 TestSuite
drwxr-xr-x 2 marc marc 4096 Aug 2 10:16 Utility
-rwxr-xr-x 1 marc marc 1045 Aug 2 10:16 VERSION.txt
drwxr-xr-x 6 marc marc 4096 Aug 2 10:16 View
marc@Marc /var/www/bloglic-2013/cake $ ls -l lib/Cake/Cache/
total 28
-rwxrwxrwx 1 marc marc 4823 Aug 2 10:16 CacheEngine.php
-rwxrwxrwx 1 marc marc 16179 Aug 2 10:16 Cache.php
drwxrwxr-x 2 marc marc 4096 Aug 2 10:16 Engine
谁能帮我解决这个错误?
Can anyone give me a helping hand with this error?
推荐答案
您是否使/app/tmp 目录及其子目录可写?
Did you make the /app/tmp directory and its subdirectories writable?
有关此处可能重复的更多信息(尽管标题可能具有误导性):
More info on possible duplicate here (although title might be misleading):
面临文件权限错误在 Ubuntu 10.4 中运行 CakePHP 时
这篇关于Cakephp cake_core_ 缓存无法写入“cake_dev_en-us"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
沃梦达教程
本文标题为:Cakephp cake_core_ 缓存无法写入“cake_dev_en-us"
基础教程推荐
猜你喜欢
- 如何在 XAMPP 上启用 mysqli? 2021-01-01
- 在 CakePHP 2.0 中使用 Html Helper 时未定义的变量 2021-01-01
- phpmyadmin 错误“#1062 - 密钥 1 的重复条目‘1’" 2022-01-01
- 在 yii2 中迁移时出现异常“找不到驱动程序" 2022-01-01
- Doctrine 2 - 在多对多关系中记录更改 2022-01-01
- 如何在 Symfony 和 Doctrine 中实现多对多和一对多? 2022-01-01
- HTTP 与 FTP 上传 2021-01-01
- 使用 PDO 转义列名 2021-01-01
- PHP 守护进程/worker 环境 2022-01-01
- 找不到类“AppHttpControllersDB",我也无法使用新模型 2022-01-01