Post by georgekrastev » Mon Jun 15, 2009 9:12 pm

Hi,

I have short question. Since I uploaded the open cart to the remote server I am getting the following warnings:

Warning: Cannot modify header information - headers already sent by (output started at /homepages/31/d232853729/htdocs/oniarteu/catalog/language/german/german.php:1) in /homepages/31/d232853729/htdocs/oniarteu/system/library/currency.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /homepages/31/d232853729/htdocs/oniarteu/catalog/language/german/german.php:1) in /homepages/31/d232853729/htdocs/oniarteu/system/library/response.php on line 65

Unfortunately I do not know where they are comming from, but when I am working with my localhost everithing works fine!
I have added German lenguage as default and removed English.

Many thanks in advance for your support.

Regards,
George

Newbie

Posts

Joined
Wed May 06, 2009 3:43 am

Post by georgekrastev » Mon Jun 15, 2009 9:17 pm

Sorry. I have forgot to mention that I am using opencart v1.2.8.
Thanks

Newbie

Posts

Joined
Wed May 06, 2009 3:43 am

Post by Daniel » Tue Jun 16, 2009 12:48 am

goto your german.php file and check for any extra spaces at the bottom of the file.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by georgekrastev » Sat Jun 20, 2009 8:46 pm

Hi Daniel,

Thanks for your advice. Actually this is the first thing I did, but does not help. In fact the german.php is original english.php I copy-pasted with one modification. The solution I have found I explained under:
http://forum.opencart.com/viewtopic.php ... 671#p21671

Best regards,
George

Newbie

Posts

Joined
Wed May 06, 2009 3:43 am

Post by bLIGU » Wed Aug 24, 2011 10:18 pm

georgekrastev wrote:Hi Daniel,

Thanks for your advice. Actually this is the first thing I did, but does not help. In fact the german.php is original english.php I copy-pasted with one modification. The solution I have found I explained under:
http://forum.opencart.com/viewtopic.php ... 671#p21671

Best regards,
George
Thx George!! I copy the solution here. Use the UltraEdit or other to change the format of header.php file.

Re: array_combine() and Cannot modify header information warning
by AndreasT » Mon Nov 16, 2009 6:55 pm
Hello.
Saving the files as UTF-8 without BOM works for me. Seems the byte order markers are interpreted as content and thus the error.
Cheers,
Andreas

SeedsShop


User avatar
New member

Posts

Joined
Tue Aug 23, 2011 9:08 am

Post by ab330ci » Wed Jan 11, 2012 4:07 am

hello every body, i had the same problem with

the Cannot modify header information - headers already sent by (output started at.............

and i found the problem, when you edit a *.php file using txt editor you have to check under what format ur saving the file after editing , i used to change the footer.php in catalog/language/bulgarian/common/footer.php with a text editor so i received this problem , i just used the orginal file and made my correction under dreamweaver and the error message did'nt appear anymore

Newbie

Posts

Joined
Wed Jan 11, 2012 4:01 am

Post by Daniel » Wed Jan 11, 2012 8:41 pm

make sure the files are saved in utf-8

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 16 guests