Welcome Guest, Not a member yet? Register   Sign In
CSRF Vulnerabilities and Code Igniter plugin
#16

[eluser]TWP Marketing[/eluser]
FIXED: the function getCSRFToken() is located outside of the class brackets in MY_Input.php and I "cleaned up" all the function brackets and missed where the class ended. My bad.
---
Bill, I'm getting this error from your CSRF code

Code:
Fatal error: Call to undefined function getCSRFToken() in W:\www\gfg\system\helpers\form_helper.php on line 64

I've autoloaded the CI input library, which should have accessed your MY_Input library, which is installed in system/applications/libraries and the MY_ prefix is set in the config file.
I've also loaded the 'form_helper' helper file, which is where the error points, but I have no idea why the function cannot be found.

Any suggestions on why it is failing?


Messages In This Thread
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 09-29-2008, 05:13 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 09-29-2008, 11:53 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 09-30-2008, 12:58 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 09-30-2008, 05:15 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 09-30-2008, 05:55 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 09-30-2008, 06:05 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 09-30-2008, 06:17 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 09-30-2008, 06:35 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 09-30-2008, 09:49 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 11-20-2008, 05:22 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 01-22-2009, 02:55 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 01-22-2009, 09:57 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 01-22-2009, 02:55 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 01-23-2009, 09:00 AM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 01-23-2009, 02:02 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 01-23-2009, 03:26 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 01-23-2009, 07:03 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 01-25-2009, 12:39 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 02-08-2009, 09:44 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 02-09-2009, 12:27 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 03-16-2009, 05:43 PM
CSRF Vulnerabilities and Code Igniter plugin - by El Forum - 03-16-2009, 07:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB