Welcome Guest, Not a member yet? Register   Sign In
how to fix this error?
#8

[eluser]patrickpopowicz[/eluser]
When I build a quick form and validation for the sig_key, I'm not running into any problems. Everything submits, and validates okay including trim, xss_clean, required and the callback function.

There is something else causing the error. After looking at the code again, you are using non-validated variables to make your calls to the databases. You are setting them ($username, $password, and $sig_key) before you even validate the data, you should be setting those AFTER you validate okay.

In your original code, where are you setting the sig_key to the session? If you aren't setting it at all the callback will fail.


Messages In This Thread
how to fix this error? - by El Forum - 07-06-2009, 04:08 AM
how to fix this error? - by El Forum - 07-06-2009, 04:28 AM
how to fix this error? - by El Forum - 07-06-2009, 06:32 AM
how to fix this error? - by El Forum - 07-06-2009, 07:12 AM
how to fix this error? - by El Forum - 07-06-2009, 07:35 AM
how to fix this error? - by El Forum - 07-06-2009, 07:50 AM
how to fix this error? - by El Forum - 07-06-2009, 08:27 AM
how to fix this error? - by El Forum - 07-06-2009, 08:49 AM
how to fix this error? - by El Forum - 07-06-2009, 09:03 PM
how to fix this error? - by El Forum - 07-07-2009, 06:55 AM
how to fix this error? - by El Forum - 07-07-2009, 08:38 AM
how to fix this error? - by El Forum - 07-07-2009, 10:28 AM
how to fix this error? - by El Forum - 07-07-2009, 09:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB