Welcome Guest, Not a member yet? Register   Sign In
Call Back Function Issue
#11

[eluser]leafc[/eluser]
I just found out my naming for callback wasn't good.

I changed from "callback_check_email" to "callback_email_check", then suddenly working fine :lol:
#12

[eluser]markusr[/eluser]
The only way I could fix this is to auto load it the form_validation globally too. Is this a bug in form_validation??
#13

[eluser]Tim Reynolds[/eluser]
I have the same issue. I have my form_validation set globally but it has made no difference.
#14

[eluser]jeephnx[/eluser]
I had the same problem. Found if I load the class 'form_validation' in the constructor then $this->_error_messages goes out of scope and is not available when required by $this->_execute(). If I load the class in the function thats actually doing the work then it goes into scope. However after reading this thread I loaded the class in the autoload array and it does seem to put _error_messages in scope. Strange.
#15

[eluser]verynewtothis[/eluser]
I faced the same issue... loading form_validation globally (inside a constructor) broke the custom
validation. It seems that the problem only lies with PHP4 versions (works with PHP5)..

Anyways Thanks for the help..




Theme © iAndrew 2016 - Forum software by © MyBB