CodeIgniter Forums
CodeIgniter\Cache\Exceptions\CacheException in Codeigniter 4 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: CodeIgniter\Cache\Exceptions\CacheException in Codeigniter 4 (/showthread.php?tid=78542)



CodeIgniter\Cache\Exceptions\CacheException in Codeigniter 4 - losemoba - 02-05-2021

hello 

I want to ask, when an error like this occurs,

url image error https://pasteboard.co/JMVLxt2.png

steps that I've done
  • chmod 777 or 775 projectname / writable cache
  • set .env production to development
but the result remains the same.

i install codeigniter 4 in vps centos 8 php 7.4, httpd 2.4 and i use vhost for access the project

is there a solution?


RE: CodeIgniter\Cache\Exceptions\CacheException in Codeigniter 4 - kenjis - 02-05-2021

SELinux?


RE: CodeIgniter\Cache\Exceptions\CacheException in Codeigniter 4 - paulbalandan - 02-06-2021

is PHP safe mode turned on? check your php.ini


RE: CodeIgniter\Cache\Exceptions\CacheException in Codeigniter 4 - losemoba - 02-07-2021

solve i commnted the error in line


RE: CodeIgniter\Cache\Exceptions\CacheException in Codeigniter 4 - sandeepindia - 12-11-2021

[quote pid="384157" dateline="1612520161"]
I Run Two Commands in ubuntu 
navigate to project folder and write in command mode

sudo chmod 777 writable



and

sudo chmod 777 writable/cache 
[/quote]