PHP 5 upgrade brings down website - any ideas?

Associate
Joined
20 Oct 2002
Posts
680
Hi All. A friend of mine has a fairly simple PHP driven website. His host has just updated his server to PHP5 and the site has fallen over. It has no error messages just loads a blank white page with just the html head tags showing at the top of the page and ‘Done’ in the status bar.

I know nothing about PHP but have done some web stuff so had a look at his code and a bit of a Google around. From my findings online I have discovered if I remove the @ sign from these lines of code...

<?php @require_once "inc/header.inc";?>

…the site works fine (although it does have an ‘errors on page’ in the status bar?). From my reading I think the @ acts as something to do with suppressing error messages?

So my question is, if I get him to remove all the @ signs from those lines of code where require once is used and get the site back up, am I causing problems elsewhere?

If anyone has any ideas that would be great. Many thanks :)
 
Back
Top Bottom