Welcome Guest, Not a member yet? Register   Sign In
Upgrade to 2.0.2 from 1.7.2
#11

[eluser]InsiteFX[/eluser]
Well they you have something else wrong! It would help if you posted your code.

InsiteFX
#12

[eluser]wbremen[/eluser]
i just posted every line. its only 4 lines of code and the rest is a clean freshly downloaded CI
#13

[eluser]Pascal Kriete[/eluser]
It's the get_instance() call in your MY_Lang constructor. The language library is instantiated before the super object is available, so you can't call get_instance at that point =) .
#14

[eluser]wbremen[/eluser]
well, in 1.7.x it did work, why did they have to change it and what is the solution?
#15

[eluser]Pascal Kriete[/eluser]
Quote:well, in 1.7.x it did work, why did they have to change it and what is the solution?

There was no change, the language library has always been instantiated before the controller. The solution is to call get_instance() when you need it in one of your methods instead of calling it in the constructor.




Theme © iAndrew 2016 - Forum software by © MyBB