Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2008
    Posts
    3
    Plugin Contributions
    0

    database error Cannot send session cookie - headers already sent ... by ... /includes/configure.php

    Please help. I was configuring my SSL and something went very wrong. I tried reinstalling my back up files but I'm still getting these three errors that I do not know how to fix. Please someone help. Here is a link to see the site live
    richninfamous.com/shop

    And here are the 3 error message that I'm getting

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /nfs/c03/h03/mnt/54440/domains/richninfamous.com/html/shop/includes/configure.php:135) in /nfs/c03/h03/mnt/54440/domains/richninfamous.com/html/shop/includes/functions/sessions.php on line 215

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /nfs/c03/h03/mnt/54440/domains/richninfamous.com/html/shop/includes/configure.php:135) in /nfs/c03/h03/mnt/54440/domains/richninfamous.com/html/shop/includes/functions/sessions.php on line 215

    Warning: Cannot modify header information - headers already sent by (output started at /nfs/c03/h03/mnt/54440/domains/richninfamous.com/html/shop/includes/configure.php:135) in /nfs/c03/h03/mnt/54440/domains/richninfamous.com/html/shop/includes/init_includes/init_templates.php on line 155

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Cannot send session cookie - headers already sent ... by ... /includes/configure.

    Quote Originally Posted by liquid4006 View Post
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /nfs/c03/h03/mnt/54440/domains/richninfamous.com/html/shop/includes/configure.php:135) in ...
    Looking up your first error message in the FAQ area brings up this article: https://www.zen-cart.com/tutorials/index.php?article=87
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Cannot send session cookie - headers already sent ... by ... /includes/configure.

    First off... thanks for helping with the link. It helped me figure out what is going on. Unfortunately, I keep getting the same error but with different php files. They all have the same problem... 2 extra returns at the end of "?>". I fix one hit the refresh button and I'm getting the same 3 error messages but just with a different php file. I'm on the 5th one but it keeps on going. Any Ideas?

  4. #4
    Join Date
    Dec 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Cannot send session cookie - headers already sent ... by ... /includes/configure.

    Got it working

    I had 8 files two extra returns in them. Still wondering how that happened. Any ideas?

    Again... thanks for the help!!!!!!!!

    I'd buy you a drink if I could.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Cannot send session cookie - headers already sent ... by ... /includes/configure.

    Quote Originally Posted by liquid4006 View Post
    I had 8 files two extra returns in them. Still wondering how that happened. Any ideas?
    Some text editors and some FTP programs incorrectly convert line-endings (sometimes it's the software, sometimes just the software's settings), resulting in double-spaced files ... which causes unexpected blank-line whitespace at the ends of files.

    Recommended editor: Notepad++ http://notepad-plus.sf.net
    Recommended FTP: FileZilla http://filezilla.sf.net

    Quote Originally Posted by liquid4006 View Post
    Again... thanks for the help!!!!!!!!

    I'd buy you a drink if I could.
    You're welcome.
    And ... Virtual drinks are acceptable ... http://www.zen-cart.com/index.php?ma...es&pages_id=14
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Cannot send session cookie - headers already sent
    By styggie in forum General Questions
    Replies: 17
    Last Post: 10 Jan 2013, 01:08 AM
  2. Replies: 5
    Last Post: 18 Feb 2012, 10:20 PM
  3. Cannot send session cookie / Cannot modify header information
    By witch-of-germany in forum General Questions
    Replies: 9
    Last Post: 10 Apr 2011, 01:00 AM
  4. cannot modifyheader headers already sent
    By Maria Claudia in forum Addon Payment Modules
    Replies: 4
    Last Post: 4 Feb 2010, 04:42 PM

Posting Permissions

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