Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    10
    Plugin Contributions
    0

    red flag Cannot send session cookie / Cannot modify header information

    Urgent help needed!

    I was testing a new customer site (to be found at www.nicholasdesign.biz/NicholasDesign) yesterday. After adding a new customer, I received the message that the table ndzen_customers does not exist. That is true, because the database tables are ALL all called zen_ (ndzen_ was an earlier version). Searching for ndzen_ using the Developer Toolkit, I found it in ONLY TWO files: includes/classes/shopping-cart.php and functions/function-prices.php.

    Thinking this was an easy thing to sort out, I changed the occurences of ndzen_ to zen_ . But the SH... started happening. On the shop site, I now have the messages:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/htdocs/w0088607/NicholasDesign/includes/classes/shopping_cart.php:2) in /www/htdocs/w0088607/NicholasDesign/includes/functions/sessions.php on line 108

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /www/htdocs/w0088607/NicholasDesign/includes/classes/shopping_cart.php:2) in /www/htdocs/w0088607/NicholasDesign/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w0088607/NicholasDesign/includes/classes/shopping_cart.php:2) in /www/htdocs/w0088607/NicholasDesign/includes/init_includes/init_templates.php on line 78

    In addition, I cannot access http://www.nicholasdesign.biz/NicholasDesign/admin anymore, either because of similar problems. What should I do???

  2. #2
    Join Date
    Jan 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Cannot send session cookie / Cannot modify header information

    Done! The reason was an extra line in the file ...

  3. #3
    Join Date
    Mar 2007
    Location
    Pepperell, Massachusetts
    Posts
    232
    Plugin Contributions
    1

    Default Re: Cannot send session cookie / Cannot modify header information

    I just transferred my site to a new hosting company and get these warnings now. Extra line where? Beginning or end? How could that happen? Did perhaps my hosting company screw up the edit when they changed configure.php? Any ideas?

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\vhosts\sacredfiremag.com\httpdocs\shop\includes\configure.php:69) in C:\Inetpub\vhosts\sacredfiremag.com\httpdocs\shop\includes\functions\sessions.ph p on line 102

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\sacredfiremag.com\httpdocs\shop\includes\configure.php:69) in C:\Inetpub\vhosts\sacredfiremag.com\httpdocs\shop\includes\functions\sessions.ph p on line 102

    Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\sacredfiremag.com\httpdocs\shop\includes\configure.php:69) in C:\Inetpub\vhosts\sacredfiremag.com\httpdocs\shop\includes\init_includes\init_te mplates.php on line 78


  4. #4
    Join Date
    Mar 2007
    Location
    Pepperell, Massachusetts
    Posts
    232
    Plugin Contributions
    1

    Default Re: Cannot send session cookie / Cannot modify header information

    Ah! It was a single blank line at the end of configure.php they edited.
    Fixed.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Cannot send session cookie / Cannot modify header information

    Hate when that happens ... thanks for the update as that will surely be of help to others!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Feb 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Cannot send session cookie / Cannot modify header information

    HELP.
    I'm having the same issues but I have no spaces or blank lines in my files. Here are my error messages:

    
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/muscleup/public_html/store/includes/configure.php:1) in /home/muscleup/public_html/store/includes/functions/sessions.php on line 108

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/muscleup/public_html/store/includes/configure.php:1) in /home/muscleup/public_html/store/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/muscleup/public_html/store/includes/configure.php:1) in /home/muscleup/public_html/store/includes/init_includes/init_templates.php on line 78


    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/muscleup/public_html/store/admin/includes/configure.php:1) in /home/muscleup/public_html/store/includes/functions/sessions.php on line 108

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/muscleup/public_html/store/admin/includes/configure.php:1) in /home/muscleup/public_html/store/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/muscleup/public_html/store/admin/includes/configure.php:1) in /home/muscleup/public_html/store/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/muscleup/public_html/store/admin/includes/configure.php:1) in /home/muscleup/public_html/store/admin/includes/functions/general.php on line 34

    It all began when I turned ssl enabled to "true" - I saw the errors right away and switched them back to false...but the errors are still there! I'm completely lost as line 1 is perfect for both configure.php files.

    SOMEBODY PLEASE HELP!

 

 

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. Cannot send session cookie - admin broken
    By FrankDeRosa in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 May 2009, 07:33 AM
  3. Replies: 4
    Last Post: 12 Dec 2008, 04:52 AM

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