We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25984
    • 7 Posts
    Hi,
    I am getting the following error...
    A possible CSRF attempt was detected from referer: http://localhost:80/modx/manager/index.php?r=1&id=48&a=7&dv=1.

    can anyone please help me ..

    I
    • None of the suggestions in the other posts on this thread helped?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 25984
        • 7 Posts
        changing the value of ’validate_referer’ in <prefix>_system_settings table to 1 solved the problem.
          • 33238
          • 388 Posts
          ************ [[ SOLUTION ]] *******************


          My Friend if Modx Works fine in IE, Crome etc... and only have problems in Firefox... that is the problem Firefox!!

          so is just configuration.

          1. Type “about:config” in the location bar, and press Enter.
          2 In the filter box, type “referer” and press Enter. This should leave you with one preference, network.http.sendRefererHeader. This is probably set to 0.
          3 Right click on network.http.sendRefererHeader and select “Modify”

          - Just change it to 2

          and thats all. grin

          Are just some things about security in firefox...

          I HOPE THAT WORKS FOR YOU TOO, MORE INFORMATION HERE:

          http://www.belafontecode.com/fix-modx-csrf-error-in-firefox/
            --
            ysanmiguel.com
            • 2596
            • 6 Posts
            Just an FYI, I have a friend in Scotland who had the same issue, he turned off his firewall and was able to login fine...
            • Might be better to check the configuration of the firewall; it is probably configured to block outgoing information that might be considered "sensitive".
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org