Drupal Association members fund grants that make connections all over the world.
I am getting a white screen (WSOD) recently, together with this error message:
[warn] mod_fcgid: stderr: PHP Fatal error: SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /public_html/drupal-6/includes/unicode.inc(349) : regexp code on line 349
It seems to happen only when a node's body contains the html for an ampersand (
&). This issue sounds similar but has to do with a module, not core:
I have also reported another issue with views recently that is different but makes me think that the problem could be related to the server configuration:
The regex from line 349 in unicode.inc is:
// Use a regexp to select all entities in one pass, to avoid decoding // double-escaped entities twice. The PREG_REPLACE_EVAL modifier 'e' is // being used to allow for a callback (see // http://php.net/manual/en/reference.pcre.pattern.modifiers). return preg_replace('/&(#x?)?([A-Za-z0-9]+);/e', '_decode_entities("$1", "$2", "$0", $html_entities, $exclude)', $text);