PHP Classes

error: headers already sent

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  error: headers already sent  >  (Un) Subscribe thread alerts  
Subject:error: headers already sent
Summary:headers already sent
Messages:2
Author:Robert
Date:2015-11-16 05:17:05
 

  1. error: headers already sent   Reply   Report abuse  
Picture of Robert Robert - 2015-11-16 05:17:05
I keep getting:
headers already sent by (output started at /home/etsypro/public_html/http.php:2134) in /home/etsypro/public_html/oauth_client.php on line 1350

I used the templates from your files.

Can you please tell me what's causing.

Please help, thanks :)

  2. Re: error: headers already sent   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-11-16 18:47:26 - In reply to message 1 from Robert
It seems it is outputting an error when it tries to start a session.

You may be having problems with your PHP environment session setup.

I suggestion that you create a simple script like this:

<?php
session_start();
?>

Run this script and tell me what error it outputs.