Welcome Guest, Not a member yet? Register   Sign In
Gettng 404 errors
#1
Question 

This is my first time working with CI, I'm trying to upgrade from CI 2 to 3.1.11. I followed the instruction in the user guide and was able to get the main page to load the login screen. Anytime I try to login or click any other link (which checks to see if im logged in and redirects) I get a 404.

domain.com/application/base.php/controller/function
The page you requested was not found.
Reply
#2

(This post was last modified: 08-19-2021, 05:25 PM by kleber.)

Hi. You must check your redirection address.
Typically there is a one-to-one relationship between a URL string and its corresponding controller class/method. The segments in a URI normally follow this pattern:

PHP Code:
example.com/class/function/id

Check: https://codeigniter.com/userguide3/general/routing.html
Reply




Theme © iAndrew 2016 - Forum software by © MyBB