1 頁 (共 1 頁)

ajaxplorer

發表於 : 2013-05-26 19:02:07
yehlu
/etc/apt/source.list

代碼: 選擇全部

deb http://dl.ajaxplorer.info/repos/apt stable main
deb-src http://dl.ajaxplorer.info/repos/apt stable main
get apt key

代碼: 選擇全部

wget -O - http://dl.ajaxplorer.info/repos/charles@ajaxplorer.info.gpg.key | sudo apt-key add -
install

代碼: 選擇全部

sudo apt-get update
sudo apt-get install ajaxplorer
apache setup

代碼: 選擇全部

cp /usr/share/doc/ajaxplorer/apache2.sample.conf /etc/apache2/sites-enabled/ajaxplorer.conf

ajaxplorer

發表於 : 2013-05-26 19:02:55
yehlu

代碼: 選擇全部

Server charset encodingWARNING
You must set a correct charset encoding in your locale definition in the form: en_us.UTF-8. Please refer to setlocale man page. If your detected locale is C, please check the F.A.Q.. Detected locale: C (using UTF-8)
Suggestion : Set the AJXP_LOCALE parameter to the correct value in the conf/bootstrap_conf.php file
8.7 I have a warning concerning the character encoding when I first start AjaXplorer. What should I do?

Most distribution don’t set the locale used by the server filesystem in webserver startup script or php.ini configuration file. While it’s ok for most php application, AjaXplorer must know what character encoding the filename use in order to display them correctly.

A usual safe value is UTF-8, as most Posix system use UTF-8 internally because it’s language independant.

If you don’t know what to put there, you should try this:

Put UTF-8 and check that files named with your language special character (like é for French) are displayed correctly. If it’s working, don’t change this anymore.
Else, if you have shell access to your server, type:
export | grep « LANG »
The output usually says « lang_Country.encoding » (for example en_US.UTF8)
The encoding part is what your should put (UTF-8).
If you don’t have a shell access, please check Wikipedia for your language most used character encoding (for example, in France it’s ISO8859-1), and try with this encoding.
If you are uploading your file by FTP, chance are high that the encoding you need is ISO8859-1 (as most FTP server use this encoding)
If none of the above works for you, please ask on AjaXplorer forum, and blame your distribution vendor.