$lang is a reserved variable, but is not present in CI docs |
[eluser]Mareshal[/eluser]
2 days ago I posted this: http://ellislab.com/forums/viewthread/143801/ . big headache , 6 hours spent on finding the mistake, but nothing. anyway, now I figured it. I was using $lang as a global variable and I was getting this error Code: Fatal error: Call to a member function load() on a non-object in /home/admin/domains/1ms.in/public_html/*****/core/libraries/Form_validation.php on line 316 Line 316 is: Code: $this->CI->lang->load('form_validation'); so there is the conflict between $this->lang (my var) and CI core vars. but $lang is not a reserved word in docs: http://ellislab.com/codeigniter/user-gui...names.html I think it should be added. regards
[eluser]danmontgomery[/eluser]
Assuming it's been added since yesterday? Quote:Variables
|
Welcome Guest, Not a member yet? Register Sign In |