osCmax v2.5 User Manual
Results 1 to 2 of 2

What is this error meaning?! [Cannot send session cookie]

This is a discussion on What is this error meaning?! [Cannot send session cookie] within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Warning: Cannot send session cookie - headers already sent by (output started at /home/hkishop/catalog/index.php:11) in /home/hkishop/catalog/includes/functions/sessions.php on line 67 Warning: ...

      
  1. #1
    Lurker
    Join Date
    May 2004
    Posts
    3
    Rep Power
    0


    Default What is this error meaning?! [Cannot send session cookie]

    Warning: Cannot send session cookie - headers already sent by (output started at /home/hkishop/catalog/index.php:11) in /home/hkishop/catalog/includes/functions/sessions.php on line 67

    Warning: Cannot send session cache limiter - headers already sent (output started at /home/hkishop/catalog/index.php:11) in /home/hkishop/catalog/includes/functions/sessions.php on line 67

  2. #2
    Lurker
    Join Date
    Aug 2003
    Location
    Texas
    Posts
    4
    Rep Power
    0


    Default

    Somebody addressed the "headers already sent by..." error in another thread. It seems to occur because PHP parser encounters a space or extra line after the files last closing of the php code. That puts the parser into an output mode which produces the "header already sent by..." error.

    The simplest answer is that you probably have a renegade space or extra line after the last "?>" in the php file. Download and open your file in Notepad (or any pure text editor program) and check for spaces after the last ?>

    The right tool for editing php is a Text Editor application...even the website FIle Manager and HTML editors tend to add hidden things.

    Some recommended Text Editor applications are:As neil said in another thread...
    The problem is at the end or beginning of your php file there are not allowed to be any blank spaces or lines.
    Download one of the above or use Notepad (not rec by me)
    Open the file - Go to the end and see if there is any blank characters after the ?>

Similar Threads

  1. Warning: session_start(): Cannot send session cache limiter
    By developer_x in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 01-23-2005, 07:13 AM
  2. Warning! Session cannot send seession code;cache limited!
    By sangdao in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 09-23-2004, 10:49 AM
  3. Cookie Usage Error???
    By RichRodgers.net in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 04-02-2004, 07:27 AM
  4. session_start(): Cannot send session cookie
    By minimum in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 02-14-2004, 10:06 AM
  5. SSL Errors, Session Cookie, Session Cache, NOVICE Problems?
    By hanool in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-07-2003, 11:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •