Welcome Guest, Not a member yet? Register   Sign In
problem with lang file
#1

[eluser]Unknown[/eluser]
hello everybody,

i've a problem with language file.
i've a form and when i submit it, it goes to a script to store the form data into a session.
The problem :
If my language file is encoded in 8 bits -> no problem, if it's encoded in utf-8 -> php fire an error :
Code:
"Message: Cannot modify header information - headers already sent by (output started at /homez.31/extratha/carte/system/application/language/en/etape_lang.php:1)
Filename: libraries/Session.php
Line Number: 662"

With my local server (wamp) i have no problem, the distant server is ovh and fires the error.

What happen ?
Thank you
#2

[eluser]GSV Sleeper Service[/eluser]
this is probably due to whitespace at the end of your language file. the easiest way to avoid this is to remove the closing php tag.




Theme © iAndrew 2016 - Forum software by © MyBB