Cakephp cake core cache n'a pas pu écrire 'cake dev en-us'

j'ai tout essayé mais je continue d'obtenir l'erreur suivante gâteau:

( ! ) 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

Voici une liste des accès que j'ai ""

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

quelqu'un peut-il m'aider avec cette erreur?

35
demandé sur Marc Rasmussen 2013-08-14 02:14:04

3 réponses

avez-vous rendu le répertoire /app/tmp et ses sous-répertoires accessibles en écriture?

plus d'informations sur un possible Double ici (bien que le titre puisse être trompeur):

face à une erreur de permission de fichier lors de L'exécution de CakePHP dans Ubuntu 10.4

39
répondu John McMahon 2017-05-23 12:02:14

veuillez également vous assurer que les dossiers ci-dessous app/tmp/cache/models et app/tmp/cache/persistent existent et puissent être écrits.

15
répondu ericj 2014-08-27 08:56:05

vérifiez si SELINUX est en cours d'exécution. Désactiver et d'essayer.

0
répondu Praveen Kumar M 2017-09-18 12:23:21