Extension

Developer
Supported

EE 1
EE 2
CacheCracker

Back to this add-on's main page
View Other Add-ons From Isaac Raway

     

You must be logged in to post.

[Resolved] ERROR: Could not create cache directory. Please make directory writable.

General

Kim Ryu Hyun
Kim Ryu Hyun

I love this extension! I’ve used it during the dev and it worked flawlessly until now. It suddenly displays following error message:

ERROR: Could not create cache directory. Please make directory writable.

What seems to have gone wrong here? I like to be able to continue to use the extension. How do I troubleshoot this?

airways
# 1
Developer
airways

This is just indicating that your cache directory is not writable. Normally ExpressionEngine can function correctly without a writable cache directory, but CacheCracker is useless unless this directory is writable.

Please make the directory writable by running this command or something similar:

chmod -R 777 system/expressionengine/cache 

For more information on what files and folders need to be writable for ExpressionEngine to function, please see this page of the ExpressionEngine User Guide: Set File Permissions

Kim Ryu Hyun
# 2
Kim Ryu Hyun

That’s quiet strange since cache directory has been set to 777 for some time and why the sudden change.

But thanks for the info.

airways
# 3
Developer
airways

Since ExpressionEngine will not complain if this cache directory is not writable - even if you have caching turned on for some templates - it’s possible the directory was never writable. This message is coming from CacheCracker, because the extension is mostly useless without a writable cache directory.

What are the settings of the directory set to currently? You can get this listing with this command:

ls -al system/expressionengine/cache 

 

airways
# 4
Developer
airways

Closing this thread due to inactivity and since this is normal behavior. If you have any more issues please let us know!