PHP Classes

Headers already sent error

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement a PH...  >  All threads  >  Headers already sent error  >  (Un) Subscribe thread alerts  
Subject:Headers already sent error
Summary:I'm getting a headers already sent error
Messages:3
Author:Matt Berry
Date:2016-07-19 23:53:55
 

  1. Headers already sent error   Reply   Report abuse  
Picture of Matt Berry Matt Berry - 2016-07-19 23:53:55
When trying to authenticate to Yahoo I am getting the following errors:


Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/berrye5/public_html/longballs/oauth-api/http.php:2132) in /home/berrye5/public_html/longballs/oauth-api/oauth_client.php on line 1423

Warning: Cannot modify header information - headers already sent by (output started at /home/berrye5/public_html/longballs/oauth-api/http.php:2132) in /home/berrye5/public_html/longballs/oauth-api/oauth_client.php on line 1310

Warning: Cannot modify header information - headers already sent by (output started at /home/berrye5/public_html/longballs/oauth-api/http.php:2132) in /home/berrye5/public_html/longballs/oauth-api/oauth_client.php on line 1311

  2. Re: Headers already sent error   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2016-07-20 00:08:16 - In reply to message 1 from Matt Berry
It seems the http.php class is issuing probably an error that display some output on the page.

I checked line 2132 of the current version and there is no code there.

Can you download the latest version of the http.php class version and let me know if the message changes to some other line?

  3. Re: Headers already sent error   Reply   Report abuse  
Picture of Matt Berry Matt Berry - 2016-07-20 01:28:00 - In reply to message 2 from Manuel Lemos
I re-downloaded the http.php file and everything is working now. Thanks for the quick response!