Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9145103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:25:51+00:00 2026-06-17T10:25:51+00:00

In my app, CURL was timing out and thus resulting the error: CurlException: 28:

  • 0

In my app, CURL was timing out and thus resulting the error:

CurlException: 28: Connection time-out

So, I increased the CURLOPT_CONNECTTIMEOUT value in base_facebook.php from 10 to 30. After that, the Connection time-out error just vanished but came the new one:

Cannot send session cache limiter - headers already sent

The line it indicates the error is at 49 in facebook.php file where the code session_start(); is there.

When I changed the CURL timeout value back to 10 or 15, this session cache error goes off. But the timeout error is back!

I am using the latest PHP SDK (which was last updated two days ago).

The following is the present CURL options in base_facebook.php:

CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT        => 60,
CURLOPT_USERAGENT      => 'facebook-php-3.2',

Any ideas/suggestions on how to clear this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:25:52+00:00Added an answer on June 17, 2026 at 10:25 am

    Make sure that your files are saved without the BOM encoding, especially the one which gives you the headers already sent error.

    I’ve had this problem before – even though I was not outputting anything, there were extra characters in the file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using cURL in my PHP app to connect to a RESTful API. However,
I'm working on a PHP web app that calls R through curl and RApache.
Possible Duplicate: Failing to upload file with curl in heroku php app After handling
can curl be used on google app engine ?
[Cross-posted from lib-curl mailing list] I have a single threaded app (MSVC C++ 2005)
I'd like to replace an app's current (badly busted and crufty) cURL-based (cURL command-line
app.get('/', function (req, res) { res.render('home.jade', { results: req.session.value }); }); What i would
I'm building a Curl web automation app and am having some issue with not
Possible Duplicate: How to make half curl animation in iPhone like the maps app
When I curl the following <?php $ch = curl_init(); curl_setopt ($ch, CURLOPT_PORT, 8081); curl_setopt

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.