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

    I have just upgraded to 2.2.1 (from 2.2.0) while also updating articles to the latest version.
    Now when I try and save any resource (in articles or outside) I get the "please wait... Saving..." dialog box appear. This then just loops with-out disappearing.

    I have check permissions on 'core>packages' and set to 777 and applied to enclosed (even though I do get some errors on one uploaded via the manager.) I think all other permissions are fine also.

    I have emptied cache, flushed permissions and sessions. Everything else seems to save correctly.

    Thanks in advance, and any ideas thoughts welcome...
      Linux, PHP 5.2, MySQL 5.0, Revo 2.2.0-pl2
      • 33983 ☆ A M B ☆
      • 181 Posts
      I had similar experience. 2.2.1 seems to have changed the PHP error_reporting: http://us2.php.net/manual/en/function.error-reporting.php. Set your PHP ini to display off. I think it is just a PHP Warning being echoed back in the JSON causing the error.
        • 14167
        • 55 Posts
        Hi,

        Thanks for the response, I can't turn this off, but my hosting company say:

        This would need to be turned off at a server level and would mean any other php debugging would not work. It would just mask the error is there no patch from most to fix?

        Has no-one else had this issue?
          Linux, PHP 5.2, MySQL 5.0, Revo 2.2.0-pl2
          • 14167
          • 55 Posts
          UPDATE:

          I have just looked over the server logs and I'm getting:

          2012-04-24 09:50:50.454 [NOTICE] [] [STDERR] PHP Warning:  preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Unknown modifier ',' in public_html/core/model/modx/modresource.class.php on line 548
            Linux, PHP 5.2, MySQL 5.0, Revo 2.2.0-pl2
            • 14167
            • 55 Posts
            FIXED...

            I had added a , into "FURL Alias Character Restriction Pattern" but added it at the end, not before the \
              Linux, PHP 5.2, MySQL 5.0, Revo 2.2.0-pl2