Header error in Evernote SDK

#1
Hello,
I've installed Evernote SDK but Litespeed seems have some problems with sent headers.

When this page is surfed , this CMS try to sent a request to another server, but Litespeed fails in compression page headers and nothing works.

If you want i can paste you the url of the site.
 

NiteWave

Administrator
#3
please check error.log. for log like:
PHP Warning: session_start() [<a href='function.session-start'> function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /usr/local/lsws6/DEFAULT/html/evernote-evernote-sdk-php-2644e7f/sample/oauth/functions.php:268) in /usr/local/lsws6/DEFAULT/html/evernote-evernote-sdk-php-2644e7f/sample/oauth/index.php on line 35
change code of /oauth/index.php
// Include our OAuth functions
require_once('functions.php');

// Use a session to keep track of temporary credentials, etc
session_start(); //--->this is 35th line
to
// Use a session to keep track of temporary credentials, etc
session_start();

// Include our OAuth functions
require_once('functions.php');
will fix above error.
 
#4
Hello,
I modify my code (in the link who i've sent in PM) with your instructions but i receive again the error.

Can you check please?
 
Last edited:
#6
Hello,
Thanks for your investigation.

I've modified also /test/sample/oauth/sampleApp.php but i've again the error.

How i search which files need this modify?
 
Top