As someone who is not consistently using cake year after year… I always come back after 1-2 years for a new project, download the latest version… and… everything seems broken relative to how it used to be. Meanwhile, the docs are still as unclear and incomplete as ever.
It’s very very hard to stay in love with this platform.
With that out of the way: I have a baked controller + view that’s not showing any records (all the other tables have records showing in their views). I looked at the bottom of the page to try to find the trusty cake icon to debug the query to help me figure out why it’s not pulling data… and… nothing.
An hour later and it sounds like what I want is debug_kit. I guess this isn’t enabled by default anymore. Ugh.
I followed directions to enable it. Nothing. Hm…… must be this bit here about sqllite… since I’m on a VPS where I’m not entirely in control… installing sqlite may or may not be an option but it’s a rabbit hole I’d rather not go down because that means another 3 hours gone before I even find out if this is going to work and whether it’s actually the answer I’m seeking.
So I tried setting up a ‘debug_kit’ datasource in config/app.php as per the docs… still nothing. Am I doing the right things or is there something I’m missing? How do I get the freakin queries to show up on each page load?
Incidentally, meanwhile I’ve been doing battle with caches that are making development near impossible. I thought under debug mode (development) cake doesn’t use caching? I guess that changed too.
This is all terribly frustrating and the worst part is I do some version of this dance every single time I come back to cake. How is it possible this platform keeps changing so much? It should have been pretty damn mature by 4 years ago already.