I have installed to languages. when i switching between them i have the folowing error
Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/opencart/catalog/language/greek/common/home.php:1) in /Applications/MAMP/htdocs/opencart/system/engine/controller.php on line 27
or when i switch currency i have this
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/opencart/catalog/language/greek/common/home.php:1) in /Applications/MAMP/htdocs/opencart/system/library/currency.php on line 45
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/opencart/catalog/language/greek/common/home.php:1) in /Applications/MAMP/htdocs/opencart/system/engine/controller.php on line 27
Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/opencart/catalog/language/greek/common/home.php:1) in /Applications/MAMP/htdocs/opencart/system/engine/controller.php on line 27
or when i switch currency i have this
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/opencart/catalog/language/greek/common/home.php:1) in /Applications/MAMP/htdocs/opencart/system/library/currency.php on line 45
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/opencart/catalog/language/greek/common/home.php:1) in /Applications/MAMP/htdocs/opencart/system/engine/controller.php on line 27
No that's not true i double checked and it gives me the same errorJAY6390 wrote:this isn't a bug. You've likely got a space or new line before the <?php at the start of that language file (/catalog/language/greek/common/home.php) so put your cursor to the left of the < and delete everything before it
Attachments
here is the file
This could be a BOM issue then, but it's DEFINITELY because of output on that line before the <?php
Some editors add the BOM automatically. What are you using to edit your file?
BOM reference: http://en.wikipedia.org/wiki/Byte_order_mark
Some editors add the BOM automatically. What are you using to edit your file?
BOM reference: http://en.wikipedia.org/wiki/Byte_order_mark
JAY6390 wrote:This could be a BOM issue then, but it's DEFINITELY because of output on that line before the <?php
Some editors add the BOM automatically. What are you using to edit your file?
BOM reference: http://en.wikipedia.org/wiki/Byte_order_mark
Ok you have absolutely right and i apologize. The problem is not only on "home.php" file but with all the greek language package which i download from the extensions http://www.opencart.com/index.php?route ... sion_id=86. All the files are saved either as UTF8 with BOM or with windows CRLF.
I will post a comment also on the specific extension.
Thank you for your time
Ok, i have the same error. Language and currency. I have installed Bulgarian.
So i did everything you guys said here - opened it with notpad++ and converted it and encoded it in Encode in UTF-8 without BOM.... but still the error comes up.
There is no space before the <?php
Whats next?
So i did everything you guys said here - opened it with notpad++ and converted it and encoded it in Encode in UTF-8 without BOM.... but still the error comes up.
There is no space before the <?php
Whats next?
Yes! I have the same problem!
It happens when someone try to change the currency or language.
If I press a back the currency or language has changed right.
If it would be a real header (language file related) error it may not allow to appear the page wherever you are!!!
It happens when someone try to change the currency or language.
If I press a back the currency or language has changed right.
If it would be a real header (language file related) error it may not allow to appear the page wherever you are!!!
Who is online
Users browsing this forum: No registered users and 3 guests