El Forum
10-11-2011, 07:25 PM
[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.
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.