CodeIgniter Forums
another "headers already sent" error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: another "headers already sent" error (/thread-45934.html)



another "headers already sent" error - El Forum - 10-11-2011

[eluser]capypara[/eluser]
hi all, i am trying out the twitter code from here.
http://www.haughin.com/code/twitter/

i get no errors and everything runs smoothly when i run on my localhost xmapp, but when i try to run it on a server online i get 2 "headers already sent" error =(. theres no difference in my code that i use for loaclhost and the code that i uploaded to the server except for config.php where i changed my base url.

this is the error message.
Message: Cannot modify header information - headers already sent by (output started at /home/users/0/server/web/foldername/application/helpers/oauth_helper.php:179)

the 2 files where the errors occurred are system/libraries/session.php and the tweet.php library file taken from the site. i cant find any extra spaces in tweet.php and i have never edited session.php before. does anyone have any idea what may be the problem? thanks for reading this.