We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17232
    • 0 Posts
    Hello everyone.
    I noticed that the suhosin patch causes a server crash if you write longer pages with the tinymce editor.

    I wrote longer content (about 200 lines) and the server did not respond after pressing the save button. Even ssh login took really long, so it fealt like that a script was running in a endless loop.
    I removed the suhosin patch with
    aptitude purge php5-suhosin
    /etc/init.d/apache2 restart
    

    now saving works again without errors.
    Please note that the "with Suhosin-Patch" string in the php version does not disappear after you removed the suhosin package.

    My versions:
    Linux mathine.de 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64 GNU/Linux
    Debian GNU/Linux 6.0
    Server version: Apache/2.2.16 (Debian) Server built: Mar 22 2011 21:14:10
    PHP 5.3.3-7+squeeze1 with Suhosin-Patch (cli) (built: Mar 18 2011 20:10:12) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (x86_64) using readline 6.1

    [EDIT]
    Sorry for the double post.
    There is the same thread in the evo forum. If someone could delete it it would be great.

    Greetings, Louis
    • There are a ton of filtering options in Suhosin; you’ll need to configure it to allow longer POST/REQUESTs if this is being blocked by your Suhosin configuration settings.
        • 17232
        • 0 Posts
        Wow. I found out that the problem did not disappear. It just worked two times. If I modify the page and try to save it, the saving bar does not disappear and Apache2 consumes 100% cpu.

        An interessting part is that I use internet explorer for editing. If I use firefox I do not have any problems (tried 10 times).
        [EDIT]
        Modx version 2.1.1-pl
          • 17232
          • 0 Posts
          Is action 30 used for saving resources?