Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2009
    Posts
    50
    Plugin Contributions
    0

    Default Headers already sent in Debug

    I have a lot of the following message in debug file
    PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0

    version 1.3.9h

    Why is not a file defined and i see "Unknown" ?

    PS.
    It is an admin related warning

  2. #2
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,674
    Plugin Contributions
    0

    Default Re: Headers already sent in Debug

    Did it show which file has been sent? Mostly its to do with the end of a file that ends with ?> with spaces after.

    here is an article to help you solve your problem.

    https://www.zen-cart.com/tutorials/index.php?article=87

  3. #3
    Join Date
    Aug 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: Headers already sent in Debug

    Thanks
    I've already read it.
    The problem is that there is no file, but "Unknown on line 0"

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

    Default Re: Headers already sent in Debug

    When did this suddenly start happening? How might that be significant?

    "Unknown on line 0" is used whenever the PHP engine is encountering a problem that's triggered by something for which it can't identify the filename. That might be a server configuration issue, or a compiled PHP library component. Those would be things your host would have to fix.
    It might be triggered by using encrypted or encoded PHP scripts / addons. So, if you've added one of those recently then you'll need to sort that problem out with the author you purchased the addon from.

    It might not (and quite likely does not) have nothing to with Zen Cart core code at all. If it's caused by files added to your Zen Cart files/folders, either by you or maliciously by an intruder, you can at least check to see whether something unexpected exists by doing a comparison: http://www.zen-cart.com/wiki/index.p...Obscure_Issues

    And if you do find stuff on your server that you didn't put there or don't expect to see there, then you should really inspect everything thoroughly: http://www.zen-cart.com/wiki/index.p...ing_From_Hacks

    You may find it necessary to engage your hosting company to determine the actual cause of the error.
    .

    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. Headers Already Sent
    By chadderuski in forum General Questions
    Replies: 13
    Last Post: 29 Apr 2011, 10:23 PM
  2. headers already sent ...
    By pursuitbaits in forum General Questions
    Replies: 7
    Last Post: 8 Nov 2009, 08:00 AM
  3. headers already sent
    By Zaphan58 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 19 Mar 2009, 12:15 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