Php 5.3 Issue

Hi I read somewhere someone has tried 5.3 PHP and worked for 1.3.5 with no issues and I tried it but now I get









Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/ysite/public_html/prepare.php on line 52



Warning: Cannot modify header information - headers already sent by (output started at /home/drywallz/public_html/prepare.php:52) in /home/myste/public_html/core/sessions.php on line 40



Warning: Cannot modify header information - headers already sent by (output started at /home/drywallz/public_html/prepare.php:52) in /home/mysite/public_html/core/sessions.php on line 41



Warning: Cannot modify header information - headers already sent by (output started at /home/drywallz/public_html/prepare.php:52) in /home/mysite/public_html/core/sessions.php on line 44



Warning: Cannot modify header information - headers already sent by (output started at /home/drywallz/public_html/prepare.php:52) in /home/mysite/public_html/core/fn_common.php on line 2059



Warning: Cannot modify header information - headers already sent by (output started at /home/drywallz/public_html/prepare.php:52) in /home/mysite/public_html/core/fn_common.php on line 2059



Warning: Cannot modify header information - headers already sent by (output started at /home/drywallz/public_html/prepare.php:52) in /home/mysite/public_html/core/fn_common.php on line 2059

Turn off your PHP 'display_errors' setting. I.e.

ini_set('display_errors', false);



This wil log the errors in your php error_log file but not display them to your customers and/or give you the header errors above. But if the error is of the Fatal variety then all you'll see is a blank screen.

Resolved-What I did was put @ in front of magic_quote on line 52 and solved it instantly so any future upgraders for 1.3.5 can update to php 5.3 and if there is a problem like mine use @ in front

But that only solves that one place. The recommendation to use 'display_errors' = false still holds. It should be the default. There will be other areas where 5.3 generates deprecation or notice messages.

Yes I can not remember if I did that as well I think that was first then nothing that I knew of then I tried the @ in front of magic_quotes and bingo site runs fine and no other issues at all that I can see I have been using it for a day so far and nothing comes up like before

PHP.ini display was already off

should be “display_errors” and 3rd party addons could turn it on. If it was 'off' (false) at runtime then you would never have seen the header errors in your original post. In fact, some of our older addons inadvertently turned it on in the admin area when logging was in diagnostic mode…