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.phalconphp.com/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



64.2k

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');


46.9k

I've found that in some situations that view issues can be very quite. Try cleaning out your view cache directory and then see what gets loaded. You can also echo the template path within your view function in the service definition.