We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36799
    • 40 Posts
    Thought I'd share this with the community.

    Yesterday raised a ticket after having googled to see what probable / possible issues could be.


    Guys, I've just noticed on a couple of accounts that I run MODX Revolution on that I'm unable to create and save both chunks and snippets where in the past has not been a problem?

    I have Googled this and would seem that it is an issue with mod_security please see this page http://forums.modx.com/index.php/topic,53447.0.html
    for more information.



    and then after a few other back & forth sent this


    Hey guys look at this please.

    http://forums.modx.com/thread/?thread=84292

    it's is seemingly a site5 issue, in which they have recently made changes

    submit a ticket in backstage
    to change mod_security to Setting filtering to allow MODx manager main source file to execute over security settings
    Open your .htaccess file(s) and add the following to it.
    SecFilterEngine On
    SecFilterSelective "REQUEST_URI" "/manager/index.php" "allow,nolog"

    from http://wiki.modxcms.com/index.php/What_is_mod_security_and_how_does_it_affect_me
    Many thanks for your attention to this

    and then the answer solution from them


    I tried to disable mod_security for stylealtitude.com completely but it had no effect. Then I went ahead and switched your MODX to PHP 5.2 by adding this:

    AddHandler application/x-httpd-php52 .php into your main. htaccess.

    After this had been made I was able to duplicate "BalmeVideo" into "BalmeVideo2" in accordance with your original instruction.

    This leads me to idea your current MODX is not really friendly with PHP 5.3 which was set for your website by default. Please check if your website is working well with PHP 5.2 and let us know if something is still wrong.

    Thanks,

    Alex M.
    Technical Support Specialist, Site5.com

      • 3749
      • 24,544 Posts
      What version of MODX are you running?
        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
        • 36799
        • 40 Posts
        MODX Revolution 2.2.9-pl (traditional)
          • 3749
          • 24,544 Posts
          That's quite an old version (and has some serious security issues). The current version in that line is 2.2.16 and the most recent version is 2.3.2. AFAI, current versions have no trouble with PHP 5.3.

          I'd advise upgrading, but in steps rather than making the full jump.
            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