Reputation: 11
I've updated a TYPO3 website from 4.7 to version 6.2.12. As I do so I replaced deprecated classes with the proper namespaces.
t3lib_div
to \TYPO3\CMS\Core\Utility\GeneralUtility
ort3lib_extmgm
to \TYPO3\CMS\Core\Utility\ExtensionManagementUtility
Now the old extensions are installed. But now I'm facing an error with security extension like this
Oops, an error occurred!
Invalid form/module token detected. Access Denied!
More information regarding this error might be available online.(https://wiki.typo3.org/Exception/CMS/1392409507)
And in other extension I have this error i think it is the same problem
Validating the security token of this form has failed. Please reload the form and submit it again.
I absolutely have no clue what I need to do, any suggestions?
Upvotes: 1
Views: 341
Reputation: 4578
You are running into the CSRF Form Protection. Please check the commit that introduced this.
Make sure to use BackendUtility::getModuleUrl()
for each place you generate a link.
Upvotes: 1