We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

I get a blank page when access to my page use Multi Module Phalcon Applications!

This is my code: https://github.com/silverthunder0708/schedule I read doc in there https://docs.phalcon.io/en/latest/reference/applications.html and try built a application with Multi Module but when I access to my site in localhos, it return a blank page, no error message. So, i can debug it. If you had been met it, please me some advice. Thanks



85.5k

your router seems a bit empty https://github.com/silverthunder0708/schedule/blob/master/config/routes.php.

can you try adding :


$this->add('/', array(
            'module' => 'Backenddefault',
            'controller' => 'Dashboard',
            'action' => 'index',
            'namespace' => 'Schedule\Backenddefault\Controllers\\'
        ))->setName('default');