[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?