Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2008
    Posts
    31
    Plugin Contributions
    0

    Default Warning: Cannot modify header information

    Hi All,

    I am testing to translate ZenCart to Hindi.

    I have translated language files using UTF8. Now I am getting this problem as follows when I enter Admin:

    Warning: Cannot modify header information - headers already sent by (/admin/includes/init_includes/init_templates.php:1) in /admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (/admin/includes/init_includes/init_templates.php:1) in /admin/includes/functions/general.php on line 21

    Is it due to change in encoding of some files...or anything else..

    I saw at line 36 it is refering to CHARSET.

    What could be the problem? I will appreciate any help..

    Regards,

    nnitin

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Warning: Cannot modify header information

    Check your files, sounds like a space(s) or blank line(s) at the top of a file ...

    php does not like space(s) or blank line(s) before the opening php tag <?php or after the closing php tag ?> of a file ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2008
    Posts
    31
    Plugin Contributions
    0

    Default Re: Warning: Cannot modify header information

    Thanks Linda McGrath,

    Yes !! there was some garbled charecter before <?PHP. I corrected it and now it works.

    Thanks again

    Regards,
    nnitin

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Warning: Cannot modify header information

    Thanks for the update and for posting the solution to finding the bad characters in the file causing this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Warning: Cannot modify header information
    By Microdot in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 26 Jul 2009, 12:56 AM
  2. Replies: 1
    Last Post: 12 Dec 2008, 07:00 AM
  3. Warning: Cannot modify header information
    By dbessinger in forum General Questions
    Replies: 3
    Last Post: 1 Jun 2007, 06: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