Topic: set_magic_quotes_runtime() and "Cannot modify header information"

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampp\htdocs\include\base.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\include\base.php:23) in C:\xampp\htdocs\header.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\include\base.php:23) in C:\xampp\htdocs\header.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\include\base.php:23) in C:\xampp\htdocs\header.php on line 33

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\include\base.php:23) in C:\xampp\htdocs\header.php on line 34

I just downloaded XAMPP and installed it, but it uses PHP 5.3 and set_magic_quotes_runtime() was taken out of that version, so how can I fix this? Is there a way to put XAMPP back to PHP 4?

I put ob_start() at the top of header.php but that didn't fix the header problem.

Please help, it's messing up my forum. sad

Re: set_magic_quotes_runtime() and "Cannot modify header information"

Comment the line with function set_magic_quotes_runtime() in the "<FORUM_ROOT>/include/common.php".

Last edited by Slavok (2009-09-28 07:40:25)