CSRF protection error on 4.7 upgrade

Discussion in 'Installation' started by microlinx, Sep 14, 2015.

Thread Status:
Not open for further replies.
  1. microlinx

    microlinx Member

    Joined:
    Oct 26, 2004
    Messages:
    268
    Getting the following error when trying to upgrade to 4.7 from 4.6.3
    "CSRF protection error - form must be submitted within 60 minutes after displaying, please repeat"
    Cleared cookies & cache, still no joy.
  2. booforum

    booforum Member

    Joined:
    May 20, 2005
    Messages:
    186
    I'm getting the same thing.
  3. microlinx

    microlinx Member

    Joined:
    Oct 26, 2004
    Messages:
    268
    I believe this is caused when you enter the wrong username and password for the AMEMBER site during the upgrade. If you entered your admin username & password, that is wrong. You need to enter the username and password you use to access your aMember support account.

    There is a way to reset it, by going to http://www.yourdomain.com/amember/admin-upgrade/get-token
    It allowed me to seemingly upgrade, but did not really DO the upgrade...gonna try to clear cache & cookies and try again.
  4. tahititatou

    tahititatou New Member

    Joined:
    Jun 12, 2007
    Messages:
    14
    Same issue.
    Last edited: Sep 14, 2015
  5. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    I believe the problem is in upgrade length. 4.7.0 upgrade has a lot of modifications and changelog is too big, so depends on server configuration or aMember configuration there could be issues. Try to follow manual upgrade steps:
    http://www.amember.com/docs/Upgrading_to_New_Version
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Also, just want to add we of course will check what is wrong with automatic upgrade, so if you have this issue, contact us in helpdesk we will help.
  7. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Update: Issue was fixed. Upgrades should work now.
  8. blue_vision

    blue_vision Member

    Joined:
    Sep 27, 2011
    Messages:
    79
    I had this issue as well and was told to do another manual upgrade. Frustrating and manual upgrades with this many files surely couldn't be recommended as the safest way as it's easy to lose track and put files in the wrong places. Either way, I put the time in now doing the manual upgrade file overwrites so I guess I'll proceed with mine so I didn't totally waste my time.
  9. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    That is not necessary to upload files one by one.
    Most ftp clients allow recursive upload, so when you upload folder recursively, ftp client will create all subfolders and will put files into correct location.
    blue_vision likes this.
  10. blue_vision

    blue_vision Member

    Joined:
    Sep 27, 2011
    Messages:
    79
    That would have been a helpful reply in my support tickets last week ;)

    Good to know for the future though.
  11. microlinx

    microlinx Member

    Joined:
    Oct 26, 2004
    Messages:
    268
    Also getting this error when trying to run any reports: "CSRF protection error - form must be submitted within 60 minutes after displaying, please repeat".
  12. sean8ing

    sean8ing New Member

    Joined:
    Dec 26, 2017
    Messages:
    9
    I get the same error..

    Fresh setup with latest version numbers so its not an upgrade of anything..
    It happens for me when I try to integrate at:
    aMember CP -> Protect Content -> Integrations page
  13. sean8ing

    sean8ing New Member

    Joined:
    Dec 26, 2017
    Messages:
    9
    Still same error... almost a week later...

    Can not login at all....

    Does anyone know how to fix this?
    It takes days for support to reply and we have gotten nowhere...
  14. sean8ing

    sean8ing New Member

    Joined:
    Dec 26, 2017
    Messages:
    9
    Still with an error...
    Can't seem to find out why.
    Support isn't very responsive.
    Anyone figure out why this occurs and what can be done to fix it?

    2018-01-10_012542.png
  15. pjman

    pjman Member

    Joined:
    Oct 18, 2013
    Messages:
    51
    Did you put in a support ticket. They open in 2.5 hours and are very responsive.
  16. sean8ing

    sean8ing New Member

    Joined:
    Dec 26, 2017
    Messages:
    9
    yeah..

    Finally got it figured out.

    I did have a ticket in for a couple of weeks though. Holiday schedule however limited response time severely.

    I'm so happy its fixed now.

    I had a trouble making wordpress plugin. Deactivated it and all is good.
Thread Status:
Not open for further replies.

Share This Page