Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.