Wairds Posted April 20, 2017 Share Posted April 20, 2017 Just upgraded to 6.1.6 and receiving Cross-Site Request Forgery error when trying to log into the Admin Panel? The website appears the functioning ok. I believe I am not alone with this as another user has posted the same error under General Discussion. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted April 20, 2017 Share Posted April 20, 2017 There are several other threads plus a discussion under the github issues about this - the suggested solution is to fully clear browser cache and then when you are able to login into admin, go into Store Settings and save. However, 6.1.7 is about to be released which should fix these issues so you could just wait until then and upgrade Ian Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 20, 2017 Share Posted April 20, 2017 1 hour ago, Wairds said: Just upgraded to 6.1.6 and receiving Cross-Site Request Forgery error when trying to log into the Admin Panel? The website appears the functioning ok. I believe I am not alone with this as another user has posted the same error under General Discussion. Do you have SSL enabled? If so please only login to the admin side of your store under SSL. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 20, 2017 Share Posted April 20, 2017 Seen this a few times now. Since 6.1.6 CubeCart sets secure cookies if SSL is enabled. On those grounds login to the admin control panel won't work with standard HTTP connections. Quote Link to comment Share on other sites More sharing options...
Wairds Posted April 20, 2017 Author Share Posted April 20, 2017 Thanks for getting back to me. I have cleared the browser cache and am attempting to log in under SSL. Still receiving the same error. On further analysis I appear to be receiving a bunch of error messages: E.G. [20-Apr-2017 08:19:24 Europe/London] PHP Warning: Invalid argument supplied for foreach() in /vhost/vhost16/l/i/f/lifecovers.co.uk/www/admin_xxxx/sources/maintenance.index.inc.php on line 850 [20-Apr-2017 07:37:31 UTC] PHP Warning: Invalid Security Token in /vhost/vhost16/l/i/f/lifecovers.co.uk/www/classes/sanitize.class.php on line 143 Is this related? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 20, 2017 Share Posted April 20, 2017 I've upgraded 11 shops so far today and all have worked. Not sure what to suggest. Quote Link to comment Share on other sites More sharing options...
Wairds Posted April 20, 2017 Author Share Posted April 20, 2017 Thanks. To roll back to 6.1.5 is it simply a case of re-installing that version? Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted April 20, 2017 Share Posted April 20, 2017 Restore your backup then upgrade to 6.1.7. Quote Link to comment Share on other sites More sharing options...
Wairds Posted April 20, 2017 Author Share Posted April 20, 2017 Thanks for your help. Your solution appears to have done the trick. However when I attempted a backup immediately after the upgrade I received the following message "/admin_xxxxxx/sources/maintenance/indexbackup.inc.php - not found." ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.