![]() |
[SOLVED] form_validation fails when I try to run it. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [SOLVED] form_validation fails when I try to run it. (/showthread.php?tid=13747) |
[SOLVED] form_validation fails when I try to run it. - El Forum - 12-04-2008 [eluser]GSV Sleeper Service[/eluser] error message : An Error Was Encountered Unable to load the requested language file: language/form_validation_lang.php why is it looking for language/form_validation_lang.php? I have set the default language in config.php to Code: $config['language'] = "english"; any idea what's going wrong? update : a colleague had made MY_Language.php and forgot to tell anyone else about it! [SOLVED] form_validation fails when I try to run it. - El Forum - 12-04-2008 [eluser]xwero[/eluser] That is why companies need version control ![]() [SOLVED] form_validation fails when I try to run it. - El Forum - 12-04-2008 [eluser]GSV Sleeper Service[/eluser] it's in SVN, I updated this morning but clearly wasn't paying attention. also, it's quite a misleading error. the language loader will look in APPPATH.'language/'.$idiom.'/'.$langfile and then BASEPATH.'language/'.$idiom.'/'.$langfile, so really the error message should be Code: show_error('Unable to load the requested language file: language/'.$idiom.'/'.$langfile); Code: log_message('error', 'Language file contains no data: language/'.$idiom.'/'.$langfile); |