Single Page not loading Controller

Permalink
I've been going crazy with this problem that should be very simple, but I can't seem to solve it. I created a Single Page at /single_pages/cool_dogs/view.php which is loading no problem.

But then I created a controller for that page at /controllers/cool_dogs/controller.php which I can't get to load. I also tried creating the file at /controllers/cool_dogs.php but that didn't get me anywhere either.

Here is my controller code:

<?php
class CoolDogsController extends Controller {
   public function view() {
      print 'Controller here.';
   }
}

 
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
Go to Dashboard, then Single Pages, then find your single page & click Refresh. After that clear Concrete5 cache from dashboard system & settings. Hope this will work.

Rony
kdonahue replied on at Permalink Reply
Thanks so much for your reply. I've tried both of those things a few times, but no luck.
szucslaszlo replied on at Permalink Reply
Hi!

I can't find the post, but I think I read it somewhere that 5.7 does not support "view.php"-ish single pages, but I may have misunderstood something.

Other than that. I had the same issue, but my problem was rather comic: I swapped the files in the directories. The controller was in the single_pages folder and vice versa. Of course, no error messages were displayed.

You might wanna give these a try.

Cheers