On Thu, 2010-01-07 at 16:50 +1030, James McLean wrote:

> On Thu, Jan 7, 2010 at 1:35 PM, Vernon Webb <ver...@comp-wiz.com> wrote:
> > I move a number of sites from one server to another and one the one server 
> > we had php4 and now we have php5 and since then my server seems to hang 
> > every time there is a header, location redirect. Anyone have any ideas on 
> > how to resolve this? Is there something I can easily change in the php.ini 
> > file that will resolve this issue?
> 
> Off the top of my head it sounds like something is being output before
> the header, which causes an error. If you also have error display
> turned off, you will likely just see a white screen with no useful
> information.
> 
> Make sure none of your includes have trailing whitespace or are trying
> to print out information before the header itself.
> 
> Best bet is to turn on errors and log them, then you will see where
> the output started if infact that is your issue.
> 
> Cheers
> 


Don't turn on errors if this machine is public, as it could potentially
give out more information to people than you want. First, look at the
error logs for PHP, which record all the errors you've had with the
site, whether you have them displayed or not.

Thanks,
Ash
http://www.ashleysheridan.co.uk


Reply via email to