Dashboard single page controller not firing

Permalink
Attached you can see a tree view of my files and folders in my application folder (version 5.7.3.1).

My goal is pretty simple: redirecting the dashboard/project to dashboard/project/subproject_mapping

In my controller for the project 'page' I have this code:
namespace Application\Controller\SinglePage\Dashboard;
use \Concrete\Core\Page\Controller\DashboardPageController;
class Project extends DashboardPageController {
  public function view() {
    $this->redirect('/dashboard/project/subproject_mapping');
  }
}

This code is not fired when I go to dashboard/project

However I also have a controller for the subproject_mapping page... This controller DOES fire.
The code in that controller:
namespace Application\Controller\SinglePage\Dashboard\Project;
use \Concrete\Core\Page\Controller\DashboardPageController;
class SubprojectMapping extends DashboardPageController {
  public function view() {
  }
}

1 Attachment

Jozzeh
 
hutman replied on at Permalink Reply
hutman
Have you tried clearing the cache on your site and "refreshing" the Project single page through the dashboard? Your setup all looks right so it could be a caching issue and not really a code/setup issue.
Jozzeh replied on at Permalink Reply
Jozzeh
Done both multiple times. When i go to the 'Project' page, I get a white screen. (error logging is on)

I've looked at the php error log and apache error log, but no errors were logged.
hutman replied on at Permalink Reply
hutman
If you try changing the redirect to another page do you get any different results?

If you add a project.php into the single pages that just spits out some content, does the content show up?
Jozzeh replied on at Permalink Reply
Jozzeh
Tried and still the same result. White page... even when putting a project.php file directly under the dashboard folder.

I did however get results when creating a new dashboard page (with a diffirent name) directly under the dashboard folder... then the controller does fire. So this is a solution I can work with. (only 1 dashboard page necessairy at this time)