We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4628
    • 58 Posts
    Hi,

    I've a really strange problem: it's not possible to save the ressource after pasting or typing a certain kind of text. Pasting other text or content works but not this particular one though it's only plain text. And yes, it is REALLY plain text.

    GENERAL:
    System: MODX Revo 2.2.6 pl
    PHP Version: 5.3.18
    Server: Linux Apache
    Error message: Please Wait ... Saving ... (endless saving)
    ------------------------

    OTHER:
    Language of the text: english (no special characters)
    TinyMCE: not installed (doesn't work with TinyMCE either)
    Cache: cleared
    log files: inconspicuous
    Used browser: Chrome, Safari, Firefox
    Saving other ressources with other content: ok
    Saving the same resource with other content: ok
    Creating a new ressource to save the particular text in it: didn't work
    Saving the text on another ressource: didn't work

    I suppose that this could be a problem with the server settings (though I've absolutely no idea which kind of problem). It's possible to save this particular text in other Revo installations hosted by other hosters. Today, I installed MODX Revo on my own web space. I have the same hoster like the customer. Result: I cannot save this particular text ...

    Does anyone have an idea what kind of problem this could be? Is there a server setting which could cause this problem or is it a MODX bug?

    Thanks!!!

    This question has been answered by multiple community members. See the first response.

      • 10208 ☆ A M B ☆
      • 1,780 Posts
      So what's the text that gorks it?

      I recall a thread maybe 6 months ago where a certain word caused issue. I do not recall specifics enough to search for it though, sorry.
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
      • discuss.answer
        • 3749
        • 24,544 Posts
          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
          • 4628
          • 58 Posts
          Due to copyright reasons I cannot paste the whole text. But this is one of the passages that cannot be saved:

          to gamble away some money at the casino every night

          I searched the forum for postings with the same please-wait-saving loop problem. But none of the suggestions worked for me :-(

          Thanks BobRay for the link. I will check it ...
            • 25663 MODX Staff
            • 12,272 Posts
            That sounds like some sort of web app firewall blocking going on. Where is this hosted?
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 9102 ☆ A M B ☆
              • 318 Posts
              I had a similar issue once with the word "Select" - I think it was in Evo though - and it did turn out to be a mod_security issue as Bob suggested.
              • discuss.answer
                • 3749
                • 24,544 Posts
                I'm going to guess that it's the presence of "gamble," "money," and "casino" in close proximity that's doing it.
                  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
                  • 4628
                  • 58 Posts
                  Yes, it's the word "casino" (btw: a text from ETA Hoffmann, a german author in the 19th century). I called the hoster (Sysprovide, a small hoster in Berlin, Germany) and told him the casino-problem. And yes, it was a problem with mod_security. He modified the setting and now it works smiley

                  Thanks to all for the quick help!

                  GREAT FORUM!!!
                    • 3749
                    • 24,544 Posts
                    If the host is using mod_security in that way, you're likely to have other problems down the road. If any post with the word 'casino' in it was blocked, there are probably many other words that will trip you up.
                      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