Claudia Posted July 28, 2022 Posted July 28, 2022 Whenever I try to logout of admin I get this red banner and I cannot logout. I have no other windows open and have not used the back button. Security Alert: Possible Cross-Site request forgery (CSRF). Please do no use multiple tabs/windows or the browser back button. cPanel error log (nothing in admin error log): [28-Jul-2022 00:38:55 America/Louisville] PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/modules/plugins/paypal_commerce/paypal.class.php on line 1170 [28-Jul-2022 04:28:34 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 04:28:35 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 08:26:35 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 09:43:43 America/Louisville] PHP Warning: Security Warning: Illegal array key "images/" was detected and was removed. in /home/xxxxxx/public_html/classes/sanitize.class.php on line 114 [28-Jul-2022 11:12:45 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:12:55 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:14:06 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:14:17 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:17:03 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:17:05 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:17:06 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155
Al Brookbanks Posted July 28, 2022 Posted July 28, 2022 This possibly means the store is running a mix of code from various versions or the admin skin is out of date. I'd suggest upgrading to the latest version manually or replacing the current version manually. When I say manually I mean uploading the files over the existing ones via FTP.
Claudia Posted July 28, 2022 Author Posted July 28, 2022 I made a custom admin skin. I'll check the code on that. Thanks, Al
Al Brookbanks Posted July 28, 2022 Posted July 28, 2022 That will be the issue. It will need tokens in the URL's to manage the session.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.