![]() |
The page does not open correctly:( - 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: The page does not open correctly:( (/showthread.php?tid=77745) |
The page does not open correctly:( - webroman - 10-14-2020 I have a page on codeignater 4. In the browser, the page opens correctly, but when I redirect to this page, the 404 page opens, and then if I refresh the page again, then it loads again correctly. Why could this be? also if I send a request to the page with ajax, then 404 opens, and it works correctly in the browser My routes: $routes->get('page2101', 'page::page2101'); My controller "Page" public function page2101() { echo 'Hello World!'; } RE: The page does not open correctly:( - InsiteFX - 10-14-2020 PHP Code: $routes->get('page2101', 'Page::page2101'); |