We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17301
    • 932 Posts
    I've ran into a bit of an odd bug and wondered if anyone has had a similar experience or has any suggestions on how to tackle it?

    I have some text in my content field and for testing purposes I've also set the template to blank. Everything is working as expected and saving fine when it's just paragraph tags. The problem occurs when I start putting links into the content. I can place anchor links anywhere in the content before the word 'setup' on a certain line in the text. However, as soon as I insert an anchor link after the word 'setup' and try to save the resource it ends up going into a saving loop and doesn't save the resource.

    Please see the video in the link for clarification
    https://www.youtube.com/watch?v=nuK44UDIWkw

    It doesn't seem to be triggered by the word setup as I've also deleted all content except for the line in question and it seems to work fine. I've also tested the content on another MODX site and it works fine and this bug doesn't happen, so it has to be something to do with my MODX setup?

    This question has been answered by BobRay. See the first response.

      ■ email: [email protected] | ■ website: https://alienbuild.uk

      The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
    • discuss.answer
      • 3749
      • 24,544 Posts
      My money would be on mod_security. In my experience, it's always the culprit when MODX objects won't save because of specific content.

      The usual fix is to get the host to either disable it for the Manager folder (or the site), or disable the specific mod_security rule that's causing the problem (they may be able to see it in the log).
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 17301
        • 932 Posts
        Yep that was it. Thanks Bob.
          ■ email: [email protected] | ■ website: https://alienbuild.uk

          The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
          • 3749
          • 24,544 Posts
          Glad I could help. smiley
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting