Welcome Guest, Not a member yet? Register   Sign In
Cache unable to write to /cache/.

(This post was last modified: 08-08-2022, 08:31 AM by captain-sensible.)

so your obviously using linux looking at /var/www

inside the main folder of your web app there are directories eg app, writable

inside writable there is a cache directory.

From a terminal emulator cd into main web root .

I just did mine like this: sudo chmod 777 writable -R

my understanding is that you need to have execute permission on a directory in order for the 'system' to be able to enter the directory in question.
-R is recursive so it should make cache directory also read, write, execute

so your using apache on which linux distro ?

i dont know of this is going to help but on my linux this is my structure. CodeIgniter4 is contained within a directory called ads.com
[andrew@darkstar:/srv/http]$ tree -L 1 ads.com                                                               (08-08 16:28)
├── 1.png
├── app
├── bootstrapCss
├── bootstrapS
├── builds
├── composer.json
├── composer.lock
├── env
├── fontawesome
├── Gruntfile.js
├── Gruntfile.js.bk
├── Gruntfile.js.save
├── gulpfile.js
├── license.txt
├── node_modules
├── package.json
├── package-lock.json
├── PHPMailer
├── phpunit.xml.dist
├── public
├── README.md
├── scss
├── spark
├── tecnickcom
├── tests
├── vendor
└── writable

i find it easier to use virtual host config
CMS CI4     I use Arch Linux by the way 


Messages In This Thread
Cache unable to write to /cache/. - by notme - 08-06-2022, 03:15 PM
RE: Cache unable to write to /cache/. - by captain-sensible - 08-08-2022, 08:27 AM
RE: Cache unable to write to /cache/. - by notme - 08-08-2022, 09:18 AM

Theme © iAndrew 2016 - Forum software by © MyBB