We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25287
    • 81 Posts
    I recently upgraded to Revo 2.2.0-pl2 and things are mostly good.

    Today I tried to edit the resource that contains the css style info. When trying to save the perpetual "Please wait" Saving dialog appears. The resource does not get saved.

    I could save the css as a file, but there are times when I need to edit it without access to ftp - so I do it from with the manager. I also have the colour values in the css resource as chunks - that way changes need only be made in one place.
    Saving the current css styling into a file does not work when using chunks for some style info.

    So, at the moment I can't edit the css resource, and cannot cut & paste the styling in that resource into a file.

    I would be very thankful if anyone can suggest a solution to this?

    Thanks

    Rob
      • 3749
      • 24,544 Posts
      Try setting the compress_js and maybe compress_css System settings to 0. Then clear the cache.


      ---------------------------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
      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
        • 32316
        • 387 Posts
        In revo 2.2 it is possible to edit css files from the manager - so you don't really need to have your css as resources to make it possible to edit them without ftp.

        Of course the color / chunk thing might still be a reason.

        And of course you still need to figure out the 'perpetual "Please wait" Saving dialog'
          • 25287
          • 81 Posts
          Thanks BobRay - both were already set to No (which I assume is 0), cleared the cache - still cannot save changes to css resource.

          whistlemaker - I missed that feature, how do I do that? The colour/chunk thing has been working for about 18 months, from about 2.04 onwards.

          It seems I'm not the only one with the perpetual Please Wait saving dialog ...

          It looks like there is a way around the problem, but the issue remains.
          • What happens if you create a new resource for your css? Possibly something about the older settings is making the new system unhappy. Does the error log report have anything? Or are there any javascript errors involved?
              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
              • 25287
              • 81 Posts
              Thanks Susan,
              I've just tried copying & pasting the original css resource without success. No errors show in the error log either.

              I tried adding a few lines of css at a time. That worked until I got half way through my css, then the perpetual saving dialog reappeared.

              No errors at all are listed for this, although phpthumbof seems to have an issue - can't see how it could be related though.
              • Is it the amount of content that's causing the failure, or is it a specific word or character that's causing it? Could it be something related to mod_security or suhosin server security settings?
                  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
                  • 25287
                  • 81 Posts
                  Thanks Susan,
                  not sure how, or if, it's related, but after trying to extend how much css was saved in a resource my whole site crashed. Working with hosting co at the moment to sort it out. -they're not a budget hosting co, so great support

                  sigh ... life was simpler before 2.2.0 ...

                  will update as soon as I have useful info - hopefully this saga will help others in the future.
                    • 25287
                    • 81 Posts
                    Update -
                    was locked out because of too many concurrent connections & login attempts - nice

                    Have not been able to find cause of non-saving:
                    - css stops being able to add more info after 79 lines
                    the next line to be added, and failed repeatedly is
                    ul.tabs {list-style: none;margin: 0 10px 0 45px;padding: 0;overflow: hidden;color:[[$C01]];}
                    


                    It's a mystery to me.
                      • 3749
                      • 24,544 Posts
                      That does sound like mod_security at work. Does it work if you simply delete that line?


                      ---------------------------------------------------------------------------------------------------------------
                      PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
                      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