Welcome Guest, Not a member yet? Register   Sign In
Validation Rules
#7

[eluser]CroNiX[/eluser]
It seems to POST to /register/submit fine.

In firebug, I receive the following response back from the server via ajax:
Quote:<br />
<b>Fatal error</b>: Call to undefined method Users_model::is_email_address_available() in <b>/home/xtremer/public_html/kowmanager/app/controllers/register.php</b> on line <b>100</b><br />

If you are using firebug and examining the responses, how do you not see these errors?

Also, you are still returning the string 'The form was not validated!' no matter what the errors are. It would be MUCH better to at least return the output of validation_errors() so that the user doesn't have to guess where on the form the problem is, even if they don't show up right next to each form field.


Messages In This Thread
Validation Rules - by El Forum - 07-31-2012, 04:22 PM
Validation Rules - by El Forum - 07-31-2012, 06:44 PM
Validation Rules - by El Forum - 07-31-2012, 06:47 PM
Validation Rules - by El Forum - 07-31-2012, 07:39 PM
Validation Rules - by El Forum - 08-01-2012, 12:54 PM
Validation Rules - by El Forum - 08-01-2012, 01:06 PM
Validation Rules - by El Forum - 08-01-2012, 01:12 PM
Validation Rules - by El Forum - 08-01-2012, 01:18 PM
Validation Rules - by El Forum - 08-01-2012, 01:22 PM
Validation Rules - by El Forum - 08-01-2012, 01:25 PM
Validation Rules - by El Forum - 08-01-2012, 01:29 PM
Validation Rules - by El Forum - 08-01-2012, 01:30 PM
Validation Rules - by El Forum - 08-01-2012, 01:33 PM
Validation Rules - by El Forum - 08-01-2012, 01:37 PM
Validation Rules - by El Forum - 08-01-2012, 01:40 PM
Validation Rules - by El Forum - 08-01-2012, 01:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB