Houston, we have a p....

Found a bug? Tell us!!
Post Reply
vlag
Posts: 3
Joined: Wed Jun 20, 2007 1:48 pm
Location: France
Contact:

Houston, we have a p....

Post by vlag »

Hello all,

First, thank you for this great blog's CMS and this forum!

I'm a french user of s9y since a few months.

Yesterday, i decided to upgrade my version 1.1.2 to 1.1.3 and ....

Some error messages come:

on my admin page:
Warning: Cannot modify header information - headers already sent by (output started at /XXX/blog/lang/UTF-8/serendipity_lang_fr.inc.php:1) in /XXX/blog/serendipity_admin.php on line 11

Warning: Cannot modify header information - headers already sent by (output started at /XXX/blog/lang/UTF-8/serendipity_lang_fr.inc.php:1) in /XXX/blog/include/functions_config.inc.php on line 584


and when i click on a link in one of my post:
Warning: Cannot modify header information - headers already sent by (output started at :/XXX/blog/lang/UTF-8/serendipity_lang_fr.inc.php:1) in /XXX/blog/exit.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /XXX/blog/lang/UTF-8/serendipity_lang_fr.inc.php:1) in /XXX/blog/exit.php on line 30


Voilà!

Is anyone has a suggestion....
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Houston, we have a p....

Post by garvinhicking »

Hi!

This messages tells that in your serendipity_lang_fr.inc.php file you have extra output before the first <?php. It seems you have edited the language file? Make sure you save it without extra linebreaks and WITHOUT UTF-8 BOM at the beginning.

You can try to restor the file from the original 1.1.3 release and see if that works?

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
vlag
Posts: 3
Joined: Wed Jun 20, 2007 1:48 pm
Location: France
Contact:

re

Post by vlag »

Hello Garvin!

i re-upload the lang file and all is working fine now.

You are right: I've been changing one word in my language file because the word "Homepage" for my homepage is traduced by "Site". I would like to change it by the french word "Accueil" which is much better.
But after the change the error come back....


You are talking about "extra linebreaks and WITHOUT UTF-8 BOM at the beginning" but i don't see that sort of thing in the file when i change the file lang....

It work fine now, i will let the language file like it is now...

Thank you very much for your help!

Danke
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: re

Post by garvinhicking »

Hi!

You must instruct your Editor to not put UTF-8 BOM marks into the start of the file. In my ultra-edit for example I must save the file as format "UTF-8 (NO BOM)".

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
vlag
Posts: 3
Joined: Wed Jun 20, 2007 1:48 pm
Location: France
Contact:

RE

Post by vlag »

I will try this week,

thank you again for your help

have a good day!
Post Reply