We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5154
    • 15 Posts
    Decided to edit (because I know a little more now)

    If I type a % character on a chunk or resource, whether in plain text or placeholder, when saved the manager 'crashes', ie loads the page not found page of the site in the RH frame.

    if I take this character out the page behaves normally and saves properly.

    Now there is another chunk using this character. So at some point (aug 2011) it must have been possible to type this character and save the file. I have tried duplicating that resource and saving it, it causes the same problem.

    Any ideas where the problem might lie? [ed. note: Chris Pink last edited this post 14 years, 7 months ago.]
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Looks like a problem with mod_security or sohisin (these are configured to prevent certain values in a form POSTed that might be security problems).

      http://wiki.modxcms.com/index.php/What_is_mod_security_and_how_does_it_affect_me
        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
        • 5154
        • 15 Posts
        I don't have that kind of access to the server; I get a 500 error when i try set the SecFilterEngine options in .htaccess

        So question; can i hack the manager code anywhere to use a different character other than % to format my dates. (leaving aside it might be useful to use a percent symbol in the text!)?

        or could I use html encoding in the placeholder; % that was supposed to be ampersand-hash-37-semicolon - save me from 'helpful' computers - ? (no that produces the literal output)

        question; could it be the SQL encoding,
        Database Version 5.0.92-community-log
        Database Charset latin1
        Database Collation Charset latin1_swedish_ci

        I was wrong earlier this is using php 5.2.9 (it's another server that's been updated) and so this issue has emerged from 'nowhere'




        btw thanks Susan, for being there, this is not the first time you have helped when I get stuck up against an Apache or PHP issue - of which I know very little. [ed. note: Chris Pink last edited this post 14 years, 7 months ago.]