Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Posts
    69
    Plugin Contributions
    0

    red flag big trouble! Warning: session_start():

    I am getting this error in my header:

    HTML Code:
    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/b/e/g/beggarsbones/html/store/includes/classes/class.smtp.php:2115) in /home/content/b/e/g/beggarsbones/html/store/includes/functions/sessions.php on line 215
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/e/g/beggarsbones/html/store/includes/classes/class.smtp.php:2115) in /home/content/b/e/g/beggarsbones/html/store/includes/init_includes/init_templates.php on line 155
    a timeline: last full backup 9/30. 10/1 or 10/2 i installed a mod or two that didnt really work, and so i decided to go and replace the files (includes) and set it to do so when i was leaving for work. i forgot that the program gets hung up on configure.php and cancels the download halfway though. i get to work and check on the site and get these errors. i dont have access to the 9/30 backup, but have a clean version of 1.3.7 and replaced some of the error files to get it to work. (was also getting these errors at admin, i couldnt log in)

    i come home today, and begin to resume the 9/30 backup. do it all, and the error is still there. same with my 9/19 backup. i dont understand what it is getting hung up on, i've replaced files like this many times.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: big trouble! Warning: session_start():

    Have you looked at the Similar Threads at the bottom of your post?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: big trouble! Warning: session_start():

    Quote Originally Posted by beggarsbones View Post
    I am getting this error in my header:


    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/b/e/g/beggarsbones/html/store/includes/classes/class.smtp.php:2115) in
    A search of the FAQ system for your error message 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.

  4. #4
    Join Date
    Dec 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: big trouble! Warning: session_start():

    thanks, dr byte! there was certainly a bit of panic there..

    for anybody else that gets this error - i'm not sure how, it must have been when i did my 9/30 backup or something with my server, but on many of my php files (20+) 2 blank lines of code were added at the very end after the ?>. i've been following the errors on the website to catch the common files affected, and now will go through files 1 by 1. a pain, but i'm glad it wasnt something harder to fix.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: big trouble! Warning: session_start():

    Sounds like your FTP program (or your text editor, if you've been editing those files before then) has converted the line-endings on your files, thus resulting in double-spacing everything.
    .

    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. v139h Warning: session_start(): Trying to destroy uninitialized session
    By batteryman in forum General Questions
    Replies: 13
    Last Post: 21 Apr 2016, 07:31 PM
  2. Error : Warning session_start()
    By fbzencart in forum General Questions
    Replies: 1
    Last Post: 15 Apr 2008, 09:23 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