Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2012
    Posts
    65
    Plugin Contributions
    0

    Default Cannot modify header information - headers already sent by hebrew.php:1

    Hello,

    I read a lot on the forums, while trying to solve my problem with the Hebrew language.

    I'm getting a blank page as soon as I switch to Hebrew from another language.

    Here is the debugger message:

    Code:
    [12-Feb-2012 14:41:53] PHP Warning:  Cannot modify header information - headers already sent by (output started at /public_html/includes/languages/hebrew.php:1) in /public_html/includes/init_includes/init_templates.php on line 78
    [12-Feb-2012 14:41:53] PHP Warning:  Cannot modify header information - headers already sent by (output started at /public_html/includes/languages/hebrew.php:1) in /public_html/includes/functions/functions_general.php on line 45
    I know I should look just in the Hebrew.php file.
    There are no syntax problems on the first line.

    From what I've read, it must be something about charset and encoding methods.

    I tried to play with it for a little while but nothing helped (encoding without BOM, tried to change the charset to "define('CHARSET', 'iso-8859-1');" and the @setlocale to 'en_US.ISO_8859-1' etc)


    I tried to read the following tutorial, but without success.
    https://www.zen-cart.com/tutorials/index.php?article=87



    Does anyone knows what to do?

    Thanks !!!

  2. #2
    Join Date
    Jan 2012
    Posts
    65
    Plugin Contributions
    0

    Default Re: Cannot modify header information - headers already sent by hebrew.php:1

    Sorry to bump the thread, but I know someone must have the answer! I really think it's something about encoding, just too bad I have know idea what to do...

    Thank you!!

  3. #3
    Join Date
    Jan 2012
    Posts
    65
    Plugin Contributions
    0

    Default Re: Cannot modify header information - headers already sent by hebrew.php:1

    please guys, last try, anyone knows a way to pass the blank page?
    thanks

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

    Default Re: Cannot modify header information - headers already sent by hebrew.php:1

    It does indeed sound like you've got hidden BOM characters at the beginning of the file.

    But, I've no experience with Hebrew and can't offer much help with that.
    .

    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.

  5. #5
    Join Date
    Jan 2012
    Posts
    65
    Plugin Contributions
    0

    Default Re: Cannot modify header information - headers already sent by hebrew.php:1

    Thank for your answer Dr,

    Well, from what I understand, the files which the debugger mention after the hebrew.php:1, is not actually part of the problem.

    I did converted with my Notepad++ the Hebrew.php file to remove the BOM, but not on the other files.

    So I guess it's not the BOM, but I really think there is somewhere a trick with the UTF-8 and Western characters I didn't find.

    Thanks

  6. #6
    Join Date
    Jan 2012
    Posts
    65
    Plugin Contributions
    0

    Default Re: Cannot modify header information - headers already sent by hebrew.php:1

    Should I change all the languages to western as well? maybe in the admin folders too? or it's not related?

 

 

Similar Threads

  1. v151 Cannot modify header information - headers already sent by ,,,
    By mespe in forum General Questions
    Replies: 9
    Last Post: 2 Oct 2015, 08:27 PM
  2. Cannot modify header information - headers already sent
    By billc108 in forum General Questions
    Replies: 3
    Last Post: 21 Oct 2009, 10:14 AM
  3. Cannot modify header information - headers already sent
    By Fred5550 in forum General Questions
    Replies: 2
    Last Post: 12 Feb 2009, 04:38 PM
  4. Cannot modify header information - headers already sent by
    By laserayaneh in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 6 Sep 2006, 12:14 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