We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34197
    • 138 Posts
    Hello everyone.

    I am having issues with a modx install.

    I can't save any chunks.


    I have updates to 2.2.16 twice, check my settings, but nothing works...

    Anyone can help ?


    Thanks
      Webdesigner and musician.
      • 47401
      • 295 Posts
      hi

      is this a fresh install? check the mysql user has full access to the database. you can all ways re run the setup from the same version you have installed, with the upgrade option (this wont change any data) all it will do it confirm that modx is setup corectly and if it isnt setup correctly it will change the config files to ensure that all config files are setup and modx is able to write to the database.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        This may be a problem with your hosting provider's security settings. They use lists of things to block from being submitted by forms. Script tags, iframes, certain words, anything to do with email, can all be on that list. What, exactly, are you trying to save?
          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
          • 25803 ☆ A M B ☆
          • 721 Posts
          If you can save an empty chunk with a generic name, like "Dave" for example then it could be you need to ask your host to white list your site(s) so that mod_security, which most hosts run, doesn't prevent you from saving anything with words that are on the black list. I've had to call hosts a few times to do this, and one twice after they updated mod_security and we couldn't save almost anything again. It was at that point that they put the entire hosting account on a white list so mod_security wouldn't interrupt.
            • 34197
            • 138 Posts
            Quote from: comp_nerd26 at Sep 28, 2015, 11:03 AM
            hi

            is this a fresh install? check the mysql user has full access to the database. you can all ways re run the setup from the same version you have installed, with the upgrade option (this wont change any data) all it will do it confirm that modx is setup corectly and if it isnt setup correctly it will change the config files to ensure that all config files are setup and modx is able to write to the database.

            Hi. Well I have upgrade the site to a newer version, still the same. I can still check the user access. Thanks


            Quote from: sottwell at Sep 28, 2015, 11:04 AM
            This may be a problem with your hosting provider's security settings. They use lists of things to block from being submitted by forms. Script tags, iframes, certain words, anything to do with email, can all be on that list. What, exactly, are you trying to save?

            Hi. Chunks and templates.


            Quote from: rx2 at Sep 28, 2015, 12:48 PM
            If you can save an empty chunk with a generic name, like "Dave" for example then it could be you need to ask your host to white list your site(s) so that mod_security, which most hosts run, doesn't prevent you from saving anything with words that are on the black list. I've had to call hosts a few times to do this, and one twice after they updated mod_security and we couldn't save almost anything again. It was at that point that they put the entire hosting account on a white list so mod_security wouldn't interrupt.

            It is my own dedicated server, but I have checked, mod_security is off. This is driving me nut, no idea where it comes from.
              Webdesigner and musician.
              • 34197
              • 138 Posts
              Please find below my website setting, is there anything wrong ? Thanks







                Webdesigner and musician.
                • 37105
                • 194 Posts
                Do you have installed extras after fresh install like TinyMCE? Did you also cleared the cache?

                Also take a look at this document: https://rtfm.modx.com/revolution/2.x/getting-started/installation/basic-installation/installation-on-a-server-running-modsecurity [ed. note: donquicky last edited this post 11 years ago.]
                  Codeplaza Webdesign: for professional websites at low cost
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Check your server's error log.

                  With mod_security off, the only thing I can think of is a bad installation. I presume you can save resources, and other elements?
                    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
                    • 34197
                    • 138 Posts
                    Hi.

                    Yes I can save resources and even blog post ( with articles ).

                    I'm kind of stuck. I have already try to update the CMS ( twice ).

                      Webdesigner and musician.
                      • 47401
                      • 295 Posts
                      have you checked that the user your using to access the modx database has FULL access to the database? it sounds to me like a database issue