Elxis CMS Forum
Support => Language => Topic started by: mmarch on December 10, 2007, 11:25:00
-
Today finished translation of admin for Elxis 2006, installed on local host for test purposes and get following error messages :
PHP: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\webroot\xampp\htdocs\skangali\administrator\language\latvian\latvian.php:1)
uri: index2.php?mylang=latvian&option=com_languages&task=viewalangs
path:
version: Elxis 2006.4 Stable rev1080 [ Nestor ] 04-December-2006 23:08 GMT+2
WARNING(2): C:\webroot\xampp\htdocs\skangali\administrator\index2.php, line 34
and also in from
...\administrator\index2.php, line 101
to line 106
this is a code
initGzip();
header( 'Content-type: text/html; charset=utf-8' );
header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
what i should change???
-
with which editor you translated texts? your file should be in UTF-8 encoding and in Unix format , open your files in notepad++ and from Format Menu click on Encode in UTF-8 and also UTF-8 without BOM , after it save your files and check it again
you can attach you files here , i'll check them ...
-
For translation i`m using Notepad ++
I checked all files and everyone was in UTF8.
-
which one file i should attach?
-
did you check UTF-8 without BOM ?
attach your language files that you translated them
-
Just attach everything you have translated in a .zip file. We'll check it out. Looks to me that you have BOM headers, even your files are utf-8 encoded.
EDIT: Hi farhad, we posted again at the same time!!! This time almost the same post :D :D
-
Here is my translation.
[old attachment deleted by admin]
-
Just as we thought... there are BOM headers at the begining of your files. It will take some time to resave all files without BOM, but it will be OK. Stay tuned ;)
-
Let me know what i should do and i will try. Next translation shouls be for elxis 2008 and if i will miss something than i be unable translate in next time. What is a BOM header???
-
Here, try this... and thank you ;)
[old attachment deleted by admin]
-
thank's for what???
It's i should say you thanks and send for you a virtual Martini ::)
-
Yes now everything is a perfect. Many Many thank's for fast help. ;)
-
Thank you for the effort. Believe me, I know what it takes to translate everything!
-
No not jet, i moved from country to another country, and long time was unable to do anything, now3 i am back and first thing was translate old version, for some customers. Soon i will start translate for 2008, admin files today downloaded, but can't find a front end files :D
What i did wrong in this translation???
Thank's a lot.
-
Here is some info for you on BOM: http://en.wikipedia.org/wiki/Byte_Order_Mark
As 2008 frontend files for translation: https://forum.elxis.org/index.php?topic=1488.0
-
OK, thank's for info, now i have all files, just last question how and with whichone soft you fix BOM issue??? and this problem was in all files or in few???
-
I can tell you what I do, because I don't use notepad++, but PSPad. In PSPad you just go to Settings->Program Settings->Program - Behaviour and UNCHECK the option Ident. bytes in UTF-8 coding. One more thing about PSPad: you can open your files in HEX view and check if they have BOM or not. I know Notepad++ can be set to save files without BOM, but don't have the time to install it and find where and what to set. Please, try to find it yourself, or start using PSPad. :)
-
yeee, i downloaded and will try learn this soft.
Thank's