Jump to content

Warning: Cannot modify header information - headers already sent by (output star


Recommended Posts

I uploaded the my site but the header already sent problem occured:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/jobspkr/public_html/login.php:9) in /home/jobspkr/public_html/login.php on line 130

 

We had the mechanism to solve that problem locally but in the web space how to solve the problem?

And actually why such problem arises?

The name of the site is mentioned in the image below.Any kind of help is appreciated!

 

[attachment deleted by admin]

If possible, you can also turn buffering on, but this shall work only if the output is being sent from a single page.

 

If you are trying to output from one file and that file is including some other file, check with the second file, it may be containg some space before output is sent, which is sent prior to header. And results in the error you are getting.

 

Hope this helps

Yes it does contain the file that calls several other files. The buffer_on doing was easier on the local machine but as I have uploaded the site,I didnt find how to do that.In coding also, we have the header after the html tag.

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.