We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9102 ☆ A M B ☆
    • 318 Posts
    This is one of the stranger bugs I’ve seen. Any time I try to save a resource that contains the text "select from" -- and it doesn’t matter if the two words are adjacent, for example the text could be "select something from" -- the manager hangs. It says "working," and eventually the browser says "done," but the manager will not respond unless I close the browser, open it back up and log in. This happens in IE8 and Firefox.

    I tried creating a resource with a completely blank template, and saved it. It saved fine. Then I put in some random text in the content box. It still saved fine. Then I replaced the random text with "select from" and the manager stopped working.

    This is very odd. huh
      • 26903
      • 1,336 Posts
      Are you running mod_security by any chance?
        Use MODx, or the cat gets it!
        • 9102 ☆ A M B ☆
        • 318 Posts
        I’m on a shared host on Apache, and I’m not sure whether they are running mod_security -- however, attempting to disable it in .htaccess causes the entire site to return an internal server error, so that leads me to suspect that it is not installed.
          • 9102 ☆ A M B ☆
          • 318 Posts
          Upon further investigation, I am definitely not running mod_security. I added a rewrite to .htaccess that I know works inside a <IfModule mod_security.c> condition, and the rewrite failed.
            • 9102 ☆ A M B ☆
            • 318 Posts
            My apologies, this was posted in the wrong section. I’m having the same issue on two separate 1.0.2 installations on the same webhost -- though, oddly, the symptom for one of these installations is different, instead of hanging, it displays the homepage in the resource editor frame. I simply never noticed it before, because I never tried to use the words "select from."
              • 37099
              • 338 Posts
              I have the same issue when i try and save anything with "onload" or "onclick" in them.

              You can get round it by editing the content in your database rather than the resource/element editor, but I’d rather have a proper solution.
                • 4749
                • 623 Posts
                Sounds similar to the problems I’m having. Although this has been happening for a couple months it’s recently become unbearable. I thought that it was my browser or network settings or something else on my computer, but it turns out that it’s not just me. My clients are having issues as well. I wondered if it may be a new bug in MySQL or an incompatible version of something else. Here’s my original thread: http://modxcms.com/forums/index.php?topic=46812.0

                Not sure if they’re exactly the same problem, but I have experienced exactly the same result as you. Also, I spoke with ChuckTrukk and he said he had a similar problem with saving content due to a combination of words. I tried to figure out if that was the problem, but I tried on a nearly blank document and it did the same thing. I have made no headway whatsoever on this and it is extremely frustrating. I’m not sure if it’s my server configuration, a modx issue, or user error. Either way it’s serious chore updating sites now.
                  The MODx has you...
                  Utah Web Design
                  • 9102 ☆ A M B ☆
                  • 318 Posts
                  Hmmm... no, I don’t have any problem with "onclick" or "onload" or indeed with anything else that I can find.

                  I suspect it has something to do with the @SELECT binding.

                  Oddly, now, without any apparent change to my configuration, my 1.0.3 install is not hanging when I test this, instead it’s simply returning 404 in the edit frame.

                  Weird. I can simply avoid using that combination of words, but I’d like to know what causes this.
                    • 37099
                    • 338 Posts
                    It was a mod_security issue for me

                    Quote from: OpenGeek at Apr 23, 2010, 11:40 AM

                    mod_security
                      • 4749
                      • 623 Posts
                      @thingstodo: I wish that were the case for me! I tried adding those commands to the .htaccess file one by one with no luck, but glad you got it sorted out!
                        The MODx has you...
                        Utah Web Design