This is the error i get on this server, I haven't made any code changes and it does work on another free web hosting site. Is it the PHP? Please let me know.
Fatal error: SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/jascul/public_html/includes/classes/smarty/Smarty_Compiler.class.php(270) : regexp code on line 270
Edit:
Here is the code and line 270
/* replace special blocks by "{php}" */
$source_content = preg_replace($search.'e', "'"
. $this->_quote_replace($this->left_delimiter) . 'php'
. "' . str_repeat(\"\n\", substr_count('\\0', \"\n\")) .'"
. $this->_quote_replace($this->right_delimiter)
. "'"
line 270 , $source_content);
Fatal error: SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/jascul/public_html/includes/classes/smarty/Smarty_Compiler.class.php(270) : regexp code on line 270
Edit:
Here is the code and line 270
/* replace special blocks by "{php}" */
$source_content = preg_replace($search.'e', "'"
. $this->_quote_replace($this->left_delimiter) . 'php'
. "' . str_repeat(\"\n\", substr_count('\\0', \"\n\")) .'"
. $this->_quote_replace($this->right_delimiter)
. "'"
line 270 , $source_content);
Last edited: