XtraUpload v2 - Filehosting fit for Web 2.0, Built on CodeIgniter |
[eluser]malcomhfc[/eluser]
would you happen to know why the error messages arnt working? There everywhere and well the alert box just shows error: Code: if ($this->form_validation->run() == FALSE)
[eluser]mglinski[/eluser]
v2 of CodeIgniter dropped support for the old validation library. This was the main reason XU was not immediately upgraded to v2 of codeIgniter. All $this->validation calls need to be converted to $this->form_validation calls. The API's for each library are not the same and each one has to be manually converted to the new system. I see you have replaced "$this->validation" with "$this->form_validation" in the above code. This is unfortunately not enough to complete the conversion. -Matt
[eluser]mglinski[/eluser]
https://gist.github.com/862e1104c925fe31157c Here is the custom loader file for v2 of Codeigniter. Drop this code in: application/core/MY_Loader.php -Matt |
Welcome Guest, Not a member yet? Register Sign In |