Welcome Guest, Not a member yet? Register   Sign In
CI tutorials failed and code did not work - bad code or my setup?
#8

[eluser]ICEcoffee[/eluser]
Quote:You forgot a constructor in your controller.

you're right there was no constructor for the controller, I did add it, but I still get the 404 not found error.

2 points however:
1. I copied and pasted the controller code straight from the CI user manual, so shouldn't this include a constructor too, if required?

2. I thought a constructor was not mandatory, only if you wanted to run code when the controller is loaded.

any thoughts, why I might still be getting a 404?


Messages In This Thread
CI tutorials failed and code did not work - bad code or my setup? - by El Forum - 04-10-2008, 11:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB