Elxis CMS Forum

Support => Installation => Topic started by: herve34000 on January 11, 2011, 05:21:55

Title: Installation on Korea hosting ?
Post by: herve34000 on January 11, 2011, 05:21:55
Hi everyone,

I use Elxis since 7 month now and i need to install this software on my korean hosting, but when i try to install Elxis, the installation is fail... i'm sorry for my english, i'm french people. Somebody can help me or you need more information ? Thank's
Title: Re: Installation on Korea hosting ?
Post by: datahell on January 11, 2011, 08:48:48
Where exactly the installation fails? Can you show us an error message?
Title: Re: Installation on Korea hosting ?
Post by: herve34000 on January 18, 2011, 06:33:51
Hi, datahell

i think my problem is the configuration.php. i also try to get a korean language. can you just help me about this problem? i need just to install a korean language for Elxis. For the configuration.php, i will try some solution.

Thank's so much
Title: Re: Installation on Korea hosting ?
Post by: datahell on January 18, 2011, 12:50:28
Elxis is currently not translated into korean. Take the english language files from the folder "language/english/", make a copy to "language/korean/", open them with a text editor such as pspad and translate them to korean. Save the files as UTF-8 and send them to me to check them.
Title: Re: Installation on Korea hosting ?
Post by: herve34000 on January 20, 2011, 06:20:40
Hi, Thank's for you answer.

I solve the problem for my hosting. For this moment, i translate all text to the korean language. take me 2 or 3 day and later i try to do it for a test.
Title: Re: Installation on Korea hosting ?
Post by: herve34000 on January 20, 2011, 10:56:24
Yep, I finish to translate Elxis in Korean language : http://www.happytravelmaster.co.kr/index.php. Now i need to translate also IOS Reservation soon. Thank's
Title: Re: Installation on Korea hosting ?
Post by: herve34000 on January 20, 2011, 11:04:41
Hi,

just one more thing, when i use Internet Explorer 8, i have some error message with this url : http://www.happytravelmaster.co.kr/index.php

Some idea ?

Cordially Herve
Title: Re: Installation on Korea hosting ?
Post by: webgift on January 20, 2011, 12:20:12
Hi ,

On this file : /includes/Core/language.php you have edit the headers.
Cannot modify header information - headers already sent by this file /language/korean/korean.php

That's what this error says to us!
Title: Re: Installation on Korea hosting ?
Post by: herve34000 on January 24, 2011, 10:27:43
Hi,

Thank's for you help. Do you have some idea to solve this problem about 2 error ?

Error 1:

URI: index.php?option=com_reservations&task=hotel&lid=4&hid=3&Itemid=34
Path: /includes/Core/elxis.php
Line: 490
Cannot modify header information - headers already sent by (output started at /www/happytravelmaster_co_kr/language/korean/korean.php:1)

Error 2:

URI: index.php?option=com_reservations&task=hotel&lid=4&hid=3&Itemid=34
Path: /includes/Core/elxis.php
Line: 1031
Cannot modify header information - headers already sent by (output started at /www/happytravelmaster_co_kr/language/korean/korean.php:1)


what i do it...
Process to have this error :

1 - create the folder : language/korean
2- copy all file to english to korean folder

english.gemini.php
english.php
english.pref.php
english.xml
index.html

3 - translate all english file to korean language

4 - modify all name

korean.gemini.php
korean.php
korean.pref.php
korean.xml
index.html

and change also  for all files

/**
* @version: 2009.2
* @copyright: Copyright (C) 2006-2010 Elxis.org. All rights reserved.
* @package: Elxis
* @subpackage: Frontend Language
* @author: Herve Genna and Romeo Jung
* @translator: Romeo Jung
* @link: http://www.landstargroup.org
* @email: herve.genna@landstargroup.org
* @description: Korean front-end language for Elxis CMS
* @license: http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Elxis CMS is a Free Software
*
* ---- THIS FILE MUST BE ENCODED AS UTF-8! ----
*
*/

5 - go to the administration and choose a korean language

later on, go to http://www.happytravelmaster.co.kr to see this error.

Thank's very much



Title: Re: Installation on Korea hosting ?
Post by: CREATIVE Options on January 24, 2011, 11:35:06
I believe there are BOM characters in chinese_traditional.php file
Re-save the file as UTF-8 without BOM

Also check your FTP program is set to AUTO and the transfer mode is passive.

The premission on this two folders tmp & cache must be 755
Title: Re: Installation on Korea hosting ?
Post by: CREATIVE Options on January 24, 2011, 11:42:13
Also check the configuration.php, download it & save it in UTF8 without BOM and upload it again.
Title: Re: Installation on Korea hosting ?
Post by: webgift on January 24, 2011, 11:52:36
The permission on this two folders tmp & cache must be 755

tmpr & cache folder must be 755 or 777?  :)
Title: Re: Installation on Korea hosting ?
Post by: CREATIVE Options on January 24, 2011, 12:04:09
It depense from the server & configuration.
More secure is 755 but if is not working then set 777.
Title: Re: Installation on Korea hosting ?
Post by: datahell on January 25, 2011, 09:15:14
remove the BOM characters from file korean.php
Title: Re: Installation on Korea hosting ?
Post by: herve34000 on January 27, 2011, 10:48:34
Hi datahell,

thank's for you help. I'm so sorry because i'm not professional programmeur. What is the BOM characters from file korean.php ?

i also translate IOS Reservation in Korean language, but when i upload my files, the page is blank ?
Title: Re: Installation on Korea hosting ?
Post by: CREATIVE Options on January 27, 2011, 11:45:36
    * there is not official difference between UTF-8 and BOM-ed UTF-8
    * a BOM-ed UTF-8 string will start with the three following bytes EF BB BF
    * Those bytes, if present, must be ignored when extracting the string from the file/stream

But, as additional information to this, the BOM for UTF-8 could be a good way to "smell" if a string was encoded in UTF-8... Or it could be a legitimate string in any other encoding...

For example, the following data: [EF BB BF 41 42 43] could either be:

    * the legitimate ISO-8859-1 string "ABC"
    * the legitimate UTF-8 string "ABC"

So while it can be cool to recognize the encoding of a file content by looking at the first bytes, you should not rely on this, as show by the example above.
Encodings should be known, not divined.

-------------------------------------------------------------------------------




[attachment deleted by admin]
Title: Re: Installation on Korea hosting ?
Post by: datahell on January 27, 2011, 13:43:13
When you make a translation send it first to me and I will return you the right file to use. So, send me the korean files you use for Elxis and IOSR and I will fix them. Only make sure they are encoded in utf-8.
Title: Re: Installation on Korea hosting ?
Post by: Ivan Trebješanin on January 27, 2011, 13:43:39
Here's some info about BOM: http://en.wikipedia.org/wiki/Byte_order_mark

Also, read here for practical stuff... https://forum.elxis.org/index.php?topic=2267.0
Title: Re: Installation on Korea hosting ?
Post by: suzee9 on February 05, 2011, 18:22:10
Get yourself a managed VPS with cpanel from Internet Brothers Korea and all is solved.
Title: Re: Installation on Korea hosting ?
Post by: herve34000 on March 01, 2011, 06:57:56
Hi,

i come back here about the korean translation. Somebody can tell me exactly what i need to do to translate Elxis in korean version.

We copy already the folder with all files in \language\English,

english.gemini.php
english.php
english.pref.php
english.xml
index.html

we translate in korean language and later we create a new folder
\language\korean

and change the files name to

korean.gemini.php
korean.php
korean.pref.php
korean.xml
index.html

but i think, we do something wrong because we modified the korean.xml files.

<?xml version="1.0" encoding="UTF-8"?>
<mosinstall type="language" version="2009">
   <name>Korean</name>
   <version>2009.2</version>
   <creationDate>2010-03-27 12:12:40</creationDate>
   <author>Elxis Team</author>
   <authorEmail>info@elxis.org</authorEmail>
   <authorUrl>https://www.elxis.org</authorUrl>
   <copyright>(C) 2006-2010 Elxis.org. All rights reserved.</copyright>
   <license>GNU/GPL</license>
   <description>Korean language for Elxis 2009.2 front-end.</description>
   <files>
      <filename>korean.gemini.php</filename>
      <filename>korean.gif</filename>
      <filename>korean.pref.php</filename>
      <filename>korean.php</filename>
      <filename>korean.xml</filename>
      <filename>index.html</filename>
   </files>
</mosinstall>


And Also all files to :

/**
* @version: 2009.0
* @copyright: Copyright (C) 2006-2009 Elxis.org. All rights reserved.
* @package: Elxis
* @subpackage: Language
* @author: Elxis Team
* @translator: Romeo Jung
* @link: our website
* @email: our email name
* @description: Korean front-end language for Elxis CMS
* @license: http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Elxis CMS is a Free Software
*
* ---- THIS FILE MUST BE ENCODED AS UTF-8! ----
*/


 we have this error:

On this file : /includes/Core/language.php you have edit the headers.
Cannot modify header information - headers already sent by this file /language/korean/korean.php.

we don't want to change the header information, we need just to translate Elxis in Korean version and later on, send to Elxis our translation.

Can you explain us about this ?

Cordially Landstar Team



 



Title: Re: Installation on Korea hosting ?
Post by: Ivan Trebješanin on March 01, 2011, 11:41:05
You must save all files as utf8 and without BOM header.

Check this https://forum.elxis.org/index.php?topic=2267.0
Title: Re: Installation on Korea hosting ?
Post by: herve34000 on March 02, 2011, 14:04:28
Thank's a lot Ivan. I try already some text lign and this ok. When i finish all, Elxis can recieve a Korean version.  ;)
Title: Re: Installation on Korea hosting ?
Post by: webgift on March 02, 2011, 14:08:43
That's good news, herve34000!!