Jump to content

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


rameshfaj

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.

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.