Jump to content

header errors on linux but not on windows still


louis_coetzee

Recommended Posts

hi, I get header already send on .... errors, on my linux server at www.hetzner.co.za but not on my wamp testing server. I had posted before and was given advice to enable output buffering on linux server since it is enabled on wamp by default. Requested this from hetzner but still have the same problem, can anyone help me please for my PHP INFO visit: http://www.cofin.co.za/phpinfo.php

 

Please I need to get this resolved very soon.

 

Thanks,

Louis

enabled on wamp by default

i dont see how that would be possible

it might be that your wamp testing server has error display turned off so you dont get the errors without seeing your code it is very hard but i guess you have a header() after a echo or html outside <?php tags

 

Scott.

I did not suggest to enable output buffering on your linux machine. I only explained why you didn't get those errors on WampServer.

If you want to fix the errors, disable output buffering in Wamp, and read the sticky in this forum that deals with header errors.

Okay, what I did now was to put ob_start() in the top of my index file which requires the other pages inside of it...this solves the problem, but why is this not a good idea?

 

If someone can explain this to me I would appreciate it.

 

I am new to all this so please be nice.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.