If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Language Packs / Warning: Cannot modify header information

Warning: Cannot modify header information

Locked

Started by nnitin on 21 Oct 2008, 3:33 AM · Views: 3,814

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
21 Oct 2008, 3:33 AM
#1
nnitin avatar

nnitin

New Zenner

Join Date:
Oct 2008
Posts:
31
Plugin Contributions:
0

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

21 Oct 2008, 4:05 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!

21 Oct 2008, 9:23 AM
#3
nnitin avatar

nnitin

New Zenner

Join Date:
Oct 2008
Posts:
31
Plugin Contributions:
0

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

21 Oct 2008, 3:43 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ... :smile:

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!