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:
#1599266: PHP Fatal error: SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in views_slideshow.theme.inc

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:
#1918866: Call to a member function get_handlers() on a non-object in view.inc on line 422

The regex from line 349 in unicode.inc is:

<?php
// 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);
?>

Comments

Status:Active» Closed (fixed)

I just got the information that the provider had disabled the /e parameter, which caused the error.