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

  • Home
  • SEARCH
  • 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 7011331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:06:48+00:00 2026-05-27T22:06:48+00:00

Error : Unable to add cookies, header already sent. I would like to know

  • 0

Error : Unable to add cookies, header already sent.

I would like to know if there is any way I can diagnose above error efficiently.
I understand the cause of this error – when cookies are being sent after something else has been sent to the browser such as headers, html etc.

There are hundreds of files with thousands of lines of codes. If anyone knows a method (even if 3rd party, it doesn’t matter) that will help me to find which contents are sent to the browser before cookies so I can manipulate that part of code easily. I’m having trouble locating actual place or code patch causing this error.

Generally this happens to many vBulletin users out there and vB staff tells you to disable mods/plugins etc. But i would like to know any efficient way to find problem location. There is no problem with <?php etc. etc.

  • 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-05-27T22:06:49+00:00Added an answer on May 27, 2026 at 10:06 pm

    Refer to header_sent() function at point of cookie setting. php function header_sent() can help you.

    bool headers_sent ([ string &$file [, int &$line ]] )
    
    If the optional file and line parameters are set, headers_sent() will put the PHP source file name and line number where output started in the file and line variables.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are a bunch of posts referring to the error android Unable to add
Any ideas why does the entity framework in LINQ gives following strange error: Unable
I want to dynamically add triggers to a job, but can't find any helpful
Error: Unable to read data from the transport connection: A blocking operation was interrupted
How to solved error Unable to cast object of type 'System.Int32' to type 'Microsoft.DirectX.Direct3D.VertexShader'
How do I solve the error: Unable to read WSDL from URL: https://workflowtest.site.edu/_vti_bin/Lists.asmx?WSDL .
Why do I get the error: Unable to create a constant value of type
When running wsdl.exe on a WSDL I created, I get this error: Error: Unable
What is the cause of following error: QSqlDatabasePrivate::database: unable to open database: unable to
Trying to install the RMagick gem is failing with an error about being unable

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.