djcaseanova Posted May 3, 2017 Share Posted May 3, 2017 Upgraded to 6.1.7 and now I am getting a CSRF error after attempting to login to the admin control panel. My site is not set up for HTTPS and has never been setup that way. HELP! Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted May 3, 2017 Share Posted May 3, 2017 If SSL is not enabled I have no answer for you. Please check PHP sessions work and the basket data as a test holds. Quote Link to comment Share on other sites More sharing options...
djcaseanova Posted May 3, 2017 Author Share Posted May 3, 2017 Can you point me in the direction of restoring an old version then? Thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 3, 2017 Share Posted May 3, 2017 Did you do your current upgrade manually or via Admin? Do you have a backup of your previous CC and database version? Quote Link to comment Share on other sites More sharing options...
bsandall Posted May 3, 2017 Share Posted May 3, 2017 I had the same issue initially which seems to have been caused by the page being cached and thus not including the CSRF token. The token is added via JavaScript so you have to force the page to redownload the latest JS. To do so, clear your browser cache and force-reload the page via Ctrl-F5 (if you are on a Windows machine). Hope that works for you as it did for me. Quote Link to comment Share on other sites More sharing options...
djcaseanova Posted May 3, 2017 Author Share Posted May 3, 2017 6 hours ago, Dirty Butter said: Did you do your current upgrade manually or via Admin? Do you have a backup of your previous CC and database version? I did a manual upgrade, my Admin upgrade now button does not work. Hasn't worked for a long time. I do have previous version backup of CC and database. As well as a manual download of all the store files. I download them before every upgrade just in case. 6 hours ago, bsandall said: I had the same issue initially which seems to have been caused by the page being cached and thus not including the CSRF token. The token is added via JavaScript so you have to force the page to redownload the latest JS. To do so, clear your browser cache and force-reload the page via Ctrl-F5 (if you are on a Windows machine). Hope that works for you as it did for me. Cleared cache, tried multiple browsers and even computers, CSRF error on all. Cleared cache, reset java, no change. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 4, 2017 Share Posted May 4, 2017 I downgraded plushcatalog from 6.1.7 to 6.1.5 temporarily. I appended 617 to all the folders that had changed between 6.15 and 6.17 and uploaded the 6.15 versions. Be sure you change the version number in ini.inc.php. I'm not on my computer so it will be later tomorrow before I can tell you exactly which folders I uploaded. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 4, 2017 Share Posted May 4, 2017 If you still want to downgrade, these are the files I renamed with 617 suffixed and then uploaded the 6.1.5 versions temporarily: classes controllers includes js language admin_XXX your skin ini.inc.php admin_XXX.php (Basically everything LOL) I was on 6.1.5, so the database changes between 6.1.5 and 6.1.7 didn't seem to cause an issue, so I didn't try to revert those. 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.