Results 1 to 10 of 10

Hybrid View

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

    Default Re: Session_start() Cannot send session cache

    So, are you reporting that you're seeing session_start errors when running techsupp.php ?
    Or are you reporting that you're having a problem installing Zen Cart?
    Or are you reporting that your installed Zen Cart site suddenly stopped working ?

    You said you were having the "exact same error" as the original poster...but ... without more information, it appears that you may have a different problem.

    What is the URL to the page where you're having a problem ? (besides techsupp.php)
    .

    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.

  2. #2
    Join Date
    Dec 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Session_start() Cannot send session cache

    Doc,

    Well I had zen cart up and running 100%. I later tried to start securing it, right now its completely in progress. I went to the tutorials and read the one about zen cart security https://www.zen-cart.com/tutorials/index.php?article=73 and I changed the admin folder name. At that point I could still log in (under the new admin folder name) but all the pages under Configuration inside the admin tool were blank. The view source showed blank too. So I read on the forums a lot of people had extra spaces and/or carriage returns after the ?> I checked and I did too, so I removed them in wordpad and sent them back up. Since that didnt seem to work, I changed the admin folder back to "admin" and the same problem, Configuration is hosed. The site itself doesn't seem to have any problems at all, its the admin tool that's causing grief. Even that works great except for any submenu under Configuration.

    In the techsupp.php I just noticed the warning about the "Cannot send session cache limiter - headers already sent" and the "Cannot modify header information". That's when I found this post.

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

    Default Re: Session_start() Cannot send session cache

    If you edited the /admin/configuration.php file, please re-upload the original from the Zen Cart zip. There is no need to touch that file. Don't confuse it with the one that *does* need to be edited:

    /admin/includes/configure.php


    What are you using to edit the file? Some editors add extra line-endings to the files, which will end up causing you grief.
    A good reliable and simple editor is Crimson Editor (www.crimsoneditor.com)

    When you are uploading files via FTP, be sure that your PHP files are uploaded in ASCII mode, *not* in binary mode ... because binary mode will often contaminate your line-endings as well.
    A good reliable FTP program is filezilla

    DO NOT use a file-editor that's browser-based, such as is found in cPanel. This will also mess with your file line-endings and cause you headaches.
    .

    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 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Session_start() Cannot send session cache

    Doc, you rock!! That was it, somehow I must have messed with the configuration file in the admin folder. Replaced it from the original zen cart and everything's back. Also, I have been guilty of committing all the "no's" you've listed in the past but that was when I first downloaded zen cart.

    I've used cPanel to edit files, dreamweaver, wordpad, notepad, homesite.....the list goes on. I'll be sure to use the one's you listed instead. Now in theory, if I change the name of the admin folder and follow the steps in the tutorial I should be ok.......must have just inadvertently overwritten the admin/configuration file last time I guess. Thanks again for your help Doc!
    Flexinator
    :: Everything Zen ::
    Lynchburg, VA

 

 

Similar Threads

  1. 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
  2. Cannot send session error
    By rxalex in forum General Questions
    Replies: 0
    Last Post: 15 Feb 2010, 09:24 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