![]() |
Validation not really backwards compatible - 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: Validation not really backwards compatible (/showthread.php?tid=5552) |
Validation not really backwards compatible - El Forum - 01-25-2008 [eluser]t'mo[/eluser] The talk about PHP4 backwards compatibility is nice, but there's one gaping hole where CI doesn't work the same in PHP5 as it does in PHP4 - Validation, specifically when trying to use it via autoload. The problem is that values of "$this->validation->error_string" and invalid fields get lost once you get to the View. Is it because of a bug in CI? a limitation in PHP4? And yes, I realize you can: Code: class MyController extends Controller { I should probably break down and get debugging working to figure this out myself, but if anybody, *Anybody* knows the answer (or at least has a suggestion for where to look), it would be much appreciated. Validation not really backwards compatible - El Forum - 01-25-2008 [eluser]xwero[/eluser] thread with fix but grab the controller library from SVN the fix is added. |