what happen is error with redirect to codeigniter 4.3.3 |
Hi. Check if you have correctly set destination route auth/home in app/Config/Routes.php. It could be something like this:
PHP Code: $routes->get('auth/home', 'Auth::home'); You could also check if you have correct variables $baseURL and $indexPage in app/Config/App (or in .env file if you are using it), because redirect()->to() is based on these values. If it does not work, then try only redirection on a fresh CodeIgniter's installation. app/Config/App.php PHP Code: // ... app/Config/Routes.php PHP Code: // ... app/Controller/Home.php PHP Code: // ... Access this URL in a web browser (based on $baseURL): http://localhost:8080/from and watch if it is working. If it will work, then the problem is somewhere in your code or settings. |
Messages In This Thread |
what happen is error with redirect to codeigniter 4.3.3 - by startup - 04-04-2023, 12:04 AM
RE: what happen is error with redirect to codeigniter 4.3.3 - by Muzikant - 04-19-2023, 02:35 AM
RE: what happen is error with redirect to codeigniter 4.3.3 - by SubrataJ - 04-19-2023, 02:48 AM
RE: what happen is error with redirect to codeigniter 4.3.3 - by byoosdigital - 04-22-2023, 02:29 AM
RE: what happen is error with redirect to codeigniter 4.3.3 - by SubrataJ - 04-22-2023, 02:51 AM
RE: what happen is error with redirect to codeigniter 4.3.3 - by byoosdigital - 04-24-2023, 09:51 AM
|