1. Thanks for this, it was exactly what I was looking for. It seems that the cake install comes with app/tmp in the .gitignore file, so if you’re deploying by git this folder structure isnt going to come through. It seems that the folders it’s looking for are only the cache, cache/models, cache/persistent and cache/views.


    February 25, 2010 at 3:34 pm |
  2. Thanks! I had the same problem and when I searched for a solution there were a lot of people who said that you had to change the core cake files! It’s a good thing I kept searching, this is the right solution!

    March 12, 2010 at 9:04 am |
  3. Alvaro:

    Thanks man! You really saved tons of my neurones. That exact thing came just after I commited my project to git, and then trying to deploy it into a sandbox.

    March 17, 2010 at 2:34 pm |
  4. Israel Segundo:

    I really appreciate that you share this fix with us. Indeed it solved my problem and I saved precious time. Thank you!

    April 14, 2010 at 12:51 pm |
  5. Jose:

    Just one word.. WOW.
    I lost more than an hour googling until i found your solution. Great work guy !!!

    May 13, 2010 at 6:38 am |
  6. thank you so much! Unbelievable how cake does not recreate those directories…

    June 1, 2010 at 9:11 am |
  7. Roy:

    Just an hour you lucky dog. Everyone wants to solve things the complicated way. This was *the* answer for “Warning (512): Cache not configured properly.”

    Thank you so much.

    July 5, 2010 at 3:09 pm |
  8. Stephen:

    Another person saved valuable time – thank you :-)

    CakePHP really should handle this better or at least be more helpful with the error but until then, I’m sure you’ll help plenty of others…

    August 18, 2010 at 3:42 am |
  9. Thanks a lot, as other fixes, although promising, were unsuccessful.

    October 19, 2010 at 12:45 am |
  10. What worked for me:

    Noticed app/tmp folder was empty. I copied the contents of tmp dir from a new installation of cake 1.2 into app/tmp.

    Everything was back to normal

    March 16, 2011 at 11:26 am |
  11. Rajeev Sharma:

    Really, a golden solution. Thank you very much ;-)

    May 20, 2011 at 4:44 am |
  12. Men, you are a genious.

    Simply look out the tmp and the subfolders cache and logs. Also de database connection and Magic happens.

    Ryan 1 CakePHp 0 (really unthinkable that cake dosen’t re-create this folders).

    June 14, 2011 at 9:33 am |
  13. Mihai:

    Thank man! It did the trick!

    August 2, 2011 at 12:09 pm |

Leave a Reply

You must be logged in to post a comment.