We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39932
    • 483 Posts
    Fuzzical Logic Reply #11, 14 years ago
    Ah... lazy days. Must. Have. Coffee!!
      Website: Extended Dialog Development Blog: on Extended Dialog
      Add-ons: AJAX Revolution, RO.IDEs Editor & Framework (in works) Utilities: Plugin Compatibility List
      Tutorials: Create Cross-Context Resources, Cross-Context AJAX Login, Template-Based Actions, Remove Extensions from URLs

      Failure is just another word for saying you didn't want to try. "It can't be done" means "I don't know how".
      • 37246
      • 128 Posts
      Grey Sky Media Reply #12, 14 years ago
      i love this place... lol...
        I LOVE MODX! | greyskymedia.com
        • 41352
        • 1 Posts
        Hi

        Having exactly the same problem in 2.2.0-pl2, and with 2 pages, and see "Grey Sky Media" have the same problem in 2.2.4...

        This was not an issue with the site until today, so I would rule out server-issues.
        Some changes were made, by another user, leading up to this:
        The user who originally created most of the site was deleted. A resource group was added to the pages that are now affected with infinite saving-loop. After deleting the group, they still can't be saved.
        RTE is suddenly gone from all pages, but snippets and chunks still show syntax-highlighting correctly.

        I am new at MODX, and my understanding of the whole security section is limited.
        My question is, did any of you find the reason behind this, or can someone pinpoint a security-related feature that I need to take into consideration?
          • 37246
          • 128 Posts
          Grey Sky Media Reply #14, 14 years ago
          Not I, unfortunately
            I LOVE MODX! | greyskymedia.com
            • 3749
            • 24,544 Posts
            It's hard to guess what did it. Here are things to consider:

            The first thing to try, always, is to clear the Site Cache (on the Site menu), Flush Permissions, and Flush All Sessions (on the Security Menu), manually delete all files in the core/cache directory, and clear your browser cache and cookies.

            If it were a permissions issue, you would normally see some kind of "access denied" message, though not always. It's possible that the user saving the resources does not have either 'save_document' permission in the Context Access ACL entry, or 'save' permission in the Resource Group Access ACL entry.

            See if making the user a sudo user makes it go away (Security -> User Management -> right click on the user and select "Update User", check the 'sudo' checkbox and save the user). Then Flush Permissions and Flush all Sessions again. If that fixes it, it's a permission problem. If the resources are protected, the user may need to be added to the group that has permission to save them or the permissions in the appropriate Policy need to be checked. If you don't want to leave the user as a sudo (all-powerful) user, don't forget to undo that (flushing Permissions and Sessions afterwards).

            Look at Security -> Resource Groups and see if there are any resource groups with no name or if those resources belong to another group. Resources that are not in any Resource Group are unprotected, so if the Resources are not in any group, again, it's probably not a permissions problem.

            If all that fails, I would first go into PhpMyAdmin and repair all tables. Then, take a look at the modx_site_content table and make sure that the alias field for the problem resources is not empty and the context_key and parent fields make sense. The context_key would normally be 'web' (unless you have multiple front-end contexts) and the parent field should be set to the ID of an existing resource (and should never match the ID of the resource itself). Look for any other systematic differences between those resources and the ones you can save.


            ------------------------------------------------------------------------------------------
            PLEASE, PLEASE specify the version of MODX you are using.
            MODX info for everyone: http://bobsguides.com/modx.html
              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
              • 12410
              • 353 Posts
              I have the same issue on Revo 2.3.1.
              I teach 12 students computing and 8-9 couldn't save content pasted or typed into ckeditor or tiny mce. Just happened in the class and I couldn't recreate it at home. All machines had same chrome browser. Weird eh. Is it a browser, bandwidth, network firewall or hosting issue. All install of revo231 were the same.
              Thanks.

                • 3749
                • 24,544 Posts
                Odds are it is a mod_security setting on the school server.
                  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
                  • 48507
                  • 7 Posts
                  I have solved that.

                  Now can you give me stepwise solution how to protect a page or subpage with password in modx.
                  I am new to modx.Cant be able to get any solution online.
                  Or give some custom code which i put in chunk.And furthure use that chunk in my page.
                    • 3749
                    • 24,544 Posts
                    Usually, pages are protected with the Login snippet.
                      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
                      • 48507
                      • 7 Posts
                      Help me for that