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

    i have installed modx, everything works great except when i try to create and save a new snippet i get.

    You don’t have permission to access /cms/manager/index.php on this server.

    any ideas?

    cheers,
    G.
      • 7923
      • 4,213 Posts
      It sounds to me that your server has some mod_security setting what doesn’t allow some specific srting(s) to be in POST data. Try to save your code line by line and see on what line that error come’s up. Then you see what’s causing it and is there a easy way to get around it (ie. rename variable, join string from separate strings.. etc).

      Or you can use includeFile snippet to include the code from filesystem. Or quick way to get around it is to use mysql client to put the code manually into the database.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 10357
        • 573 Posts
        Hi,

        many thanks for those suggestions grin i added this to my .htaccess and it now works

        SecFilterEngine Off

        hopefully should be fine..

        cheers,
        G