Welcome Guest, Not a member yet? Register   Sign In
CI 3.1.1 Index/index gives 404
#5

(10-24-2016, 10:27 AM)Narf Wrote:
(10-24-2016, 10:17 AM)RBX Wrote:
(10-24-2016, 10:11 AM)Narf Wrote: Index::index() has always been a "reserved" name because it's a PHP4-style constructor. It has never worked without causing problems, nothing to do with CI 3.1.1, nor with CI at all for that matter.

It works perfectly well in CI 3.1.0. I'll rename it for 3.1.1.

It maybe didn't trigger a 404, but it deffinately didn't work "perfectly well".

I believe Index::index() isn't treated as a constructor if an explicit __construct is present, so why does this cause an issue?
Reply


Messages In This Thread
CI 3.1.1 Index/index gives 404 - by RBX - 10-24-2016, 09:50 AM
RE: CI 3.1.1 Index/index gives 404 - by Narf - 10-24-2016, 10:11 AM
RE: CI 3.1.1 Index/index gives 404 - by RBX - 10-24-2016, 10:17 AM
RE: CI 3.1.1 Index/index gives 404 - by Narf - 10-24-2016, 10:27 AM
RE: CI 3.1.1 Index/index gives 404 - by RBX - 10-24-2016, 11:45 AM
RE: CI 3.1.1 Index/index gives 404 - by Narf - 10-24-2016, 12:36 PM
RE: CI 3.1.1 Index/index gives 404 - by sv3tli0 - 10-25-2016, 11:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB