Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Cannot send session cookie - headers already sent

    Looks like opening whatever file it says the problem is in, and doing nothing to the code, is enough to make the problem jump to another file. It has just told me it is in 3 other locations.
    Always line 2.

    I can't win.

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

    Default Re: Cannot send session cookie - headers already sent

    It sounds like you're altering those files when you touch them, and your editor is inserting extra lines in those files. That's a very common bad side-effect of using browser-based editors such as those offered by the FileManager in cPanel, or with incompatible editors like those written by Microsoft.

    And, if you're not actually editing those files, then something bad is happening between your computer and the files on your website. Since that's something outside the control of Zen Cart, you'll need to interact with the people at your hosting company to figure out what's damaging the files on your server.
    .

    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
    Jun 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Cannot send session cookie - headers already sent

    But the problem is reported in the file before i open the file. Thus how can my opening the file cause the problem?

    And how do i know where the problem really is?

  4. #4
    Join Date
    Jun 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Cannot send session cookie - headers already sent

    Opening the files in ultra edit is showing black lines on line one... but where are these blanks coming from?

    They are all files i have never opened before. I have had to remove the line from 6 different files this morning. None have I ever opened before. And it seems like it is going to keep naming new files with the same problem. how many hundreds of files will I have to do this to if File Manager has added it to every file? Are they going to come back again if i upload via file manager? I have no other option because I am using campus internet.

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

    Default Re: Cannot send session cookie - headers already sent

    Sounds like the tools you're using are damaging the files, and are thus unsuitable.
    Uploading and editing via the cPanel FileManager is strongly discouraged because of these sort of problems it causes.
    Using a regular FTP program such as FileZilla is a far more reliable method.
    .

    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.

  6. #6
    Join Date
    Jun 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Cannot send session cookie - headers already sent

    I guess I am just deleting my zencart then

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

    Default Re: Cannot send session cookie - headers already sent

    Sorry that the tools you're using on your computer and hosting account are causing you problems with using PHP-driven websites.
    If you use compatible tools, you'll have fewer problems, and thus more success.
    .

    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 / Cannot modify header information
    By witch-of-germany in forum General Questions
    Replies: 9
    Last Post: 10 Apr 2011, 01:00 AM
  2. cannot modifyheader headers already sent
    By Maria Claudia in forum Addon Payment Modules
    Replies: 4
    Last Post: 4 Feb 2010, 04:42 PM
  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