Cakephp cake_core_ cache was unable to write 'cake_dev_en-us'
Did you make the /app/tmp directory and its subdirectories writable?
More info on possible duplicate here (although title might be misleading):
Facing a file permission error while running CakePHP in Ubuntu 10.4
CakePHP error: cake_core_ cache was unable to write 'cake_dev_en-us' on Ubuntu 14.04
If you're running apache or nginx (fast-cgi) as user www-data
that user should be the owner of the file:
cd /var/www/html/tmc/app;
find tmp -type d -print0 | xargs --no-run-if-empty -0 chmod 2755;
find tmp -type f -print0 | xargs --no-run-if-empty -0 chmod 0644;
chown -R www-data:www-data tmp;
CakePHP error: cake_core_ cache was unable to write 'cake_dev_en-us' on Centos
CentOS have SElinux enabled by default.
sestatus
will show if its really active.
How to deactivate it:
vi /etc/sysconfig/selinux
update line to: SELINUX=disabled
reboot
Error Cache cannot write able in Cakephp version 2.7
Please check that app/tmp/cache/models and app/tmp/cache/persistent exists and they are writable.
If it still persists try to clean your old cache and check it back again.
CakePHP unable to write to certain files
As Wooble points out the app/tmp folder needs to be writeable by your webserver user.
To correct the other two errors you should edit the app/Config/core.php file as suggested in the errors. Cake ships with default values which should be changed so that not every Cake project has the same security values. If you open that file you will see instructions in the comments.
If you're new to Cake then have a look at the tutorial on the manual site http://book.cakephp.org ...
Related Topics
Why Doesn't Sprintf() Output Anything
Phpmailer Not Sending and Not Giving Error
PHP - Syntax Error, Unexpected T_Constant_Encapsed_String
Php: Most Frequent Value in Array
Php:File_Get_Contents($Loc) Fails
How to Remove Numbers from a String with Regex
PHP Session Id Changing on Every Request
SQL Query with Binary Data (PHP and MySQL)
Laravel Form Methods VS Traditional Coding
What Does PHP Do with Deprecated Functions
Crypt for Password Hashing. Blowfish Produces Weird Output
Installing Mcrypt on Osx 10.8.2 - PHP 5.3.15 with Homebrew
How to Get Month from Date in MySQL
How to Check Whether Suhosin Is Installed
Codeigniter "Flashdata" Doesn't Work
Are There Different Types of Double Quotes in Utf-8 (Php, Str_Replace)