Thien Bao Posted September 17, 2011 Posted September 17, 2011 Please, please help me! I almost succes with my site, but there are still some problem with the vietnamese language!!! Someone please help me to solve this. any suggestion is appreciate. Thank you in advanced, __()__ p.s. The message I got: Warning: Cannot modify header information - headers already sent by (output started at /home/my host/public_html/www.mahakaruna-shop.com/includes/languages/vietnamese.php:1) in /home/my host/public_html/www.mahakaruna-shop.com/includes/functions/general.php on line 45
germ Posted September 17, 2011 Posted September 17, 2011 Click the "Headers already sent" link in my signature, If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Thien Bao Posted September 17, 2011 Author Posted September 17, 2011 Dear Jim, thank you for your suggestion, I ran the headsent.php with this result: O/S = Linux. includes/languages/vietnamese.php has 338 lines. The PHP start tag is on line 1. The PHP end tag is on line 338. Contents from start of file to the PHP start tag: [EF][bB][bF]<?php[0A] ------------------------- Contents from PHP end tag to end of file: ?> Error Messages: The opening PHP tag is not at the start of the first line in the file. ------------------------- Extended contents of the requested line [1] are: [EF][bB][bF]<?php[0A] ------------------------- Raw contents of the requested line [1] are:  I guess, it is because of utf-8!!! But somehow I still can not fix it!!! Please give me further advice. Thank in advanced.
germ Posted September 17, 2011 Posted September 17, 2011 You need to use an editor that you can change it so it's not UTF-8 encoding or save as UTF-8 without the BOM. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Thien Bao Posted September 18, 2011 Author Posted September 18, 2011 Thank you sooo much, you are very much helpful, I hope the other would benefit from this as well
Recommended Posts
Archived
This topic is now archived and is closed to further replies.