Welcome Guest, Not a member yet? Register   Sign In
CI3 core code bug
#8

Very thanks ivantcholakov,

I fix something nearly what you mention by insert require_once BASEPATH.'core/Controller.php'; in the hook file above the hook that use 'get_instance' which require CI_Controller as in my 2nd comment. The reason I put it in there is for easy to update CI to the new version -hence no need to edit it every update-, I usual do the neat code so I find the way to fix it without changing any CI code.

By the way, I report it so that it is fixed because usual who[1] call which[2] class should load it[2] itself[1].
So in this case, I expect CI team to fix it properly that get_instance proper load the CI controller file itself or atleast perceive it to prevent future same type of error.

But it seem like 'who cares' by admin so it's surely this bug is not reported to the team even though most of their team may willing to fix the bug (and may fix it fast because it is very easy). It's sadly to see this attitude from any kind of developer -programmer of not. Developer should be eager to tackle the problem even though it may feel bothersome sometimes, that's what called 'develop'.
Reply


Messages In This Thread
CI3 core code bug - by Ryuu - 01-12-2017, 03:59 AM
RE: CI3 core code bug - by ciadmin - 01-12-2017, 08:30 AM
RE: CI3 core code bug - by ivantcholakov - 01-12-2017, 12:24 PM
RE: CI3 core code bug - by Ryuu - 01-12-2017, 03:26 PM
RE: CI3 core code bug - by ciadmin - 01-12-2017, 08:50 PM
RE: CI3 core code bug - by Ryuu - 01-12-2017, 09:41 PM
RE: CI3 core code bug - by ivantcholakov - 01-12-2017, 11:57 PM
RE: CI3 core code bug - by Ryuu - 01-15-2017, 08:35 PM
RE: CI3 core code bug - by ciadmin - 01-15-2017, 10:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB