Unable to create the cache directory (/path/craft/storage/runtime/compiled_templates//36).

I receive this on one live installation of Craft CMS. This is 99% a server issue with permissions. I can't even login to the CP anymore.

My question tough: I don't cache anything on the site. Does Craft still cache things even with 'cache' => false, or are these two different cache levels?

  • It may be worth noting that cache isn't a valid configuration property—and that I've been lying to myself for an unknown amount of time thinking it was. – Matt Stein Jan 8 '16 at 18:40
  • What?? I used that property everywhere. – KSPR Jan 10 '16 at 10:13

Yes, Craft still has its runtime caches for compiling Twig templates (as seen in your example) and such. Craft's template and partial cache is separate from Twig's own template compilation, if I'm not mistaken.

If storing in local folders won't work, you can change the cacheMethod setting to use a store other than a local directory ('memcache', 'apc', etc.).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.