Failed to auto loading the routes.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Failed to auto loading the routes.php (/showthread.php?tid=79803) |
Failed to auto loading the routes.php - mjamilasfihani - 07-28-2021 Hi, I have a weird problem. I have set my namespace and put my Routes.php in acme/Home/Config directory, sadly the autoloading can not find Routes.php file. Any idea to fix this? Thank you PHP ver 7.3 CodeIgniter 4.1.3 But the MythAuth Routes.php can autoloading by CodeIgniter. Any suggestion? RE: Failed to auto loading the routes.php - InsiteFX - 07-28-2021 Show your autoload file. RE: Failed to auto loading the routes.php - mjamilasfihani - 07-28-2021 PHP Code: // My Autoload For now, it's okay for me because I use MVC instead. But I'll try to check later with a fresh CodeIgniter4 RE: Failed to auto loading the routes.php - InsiteFX - 07-29-2021 Your autoload is wrong sould be like below. PHP Code: 'Acme\Home' => ROOTPATH . 'acme/home', |