ISPmanager and Charecter encodeing
While working with the File Manager in ISPmanager I ran across an error when I went to edit a file.
Error: Unsupported encoding The default coding was ANSI_X3.110 which gives a blank text field (at least for html files). CAUTION... do not hit the OK button, it'll wipe out the file. You can use the drop down to select a different character set and the ISO flavors seem to work fine. On further exploration of the interface I noticed that the Domains > WWWdomains > WWW Parameters allows you to enter a Coding (character set) as the default for the domain. Which charecter set would be best to use for this (English/American site)? Will this affect the File Manager default? If not is there a place that this can be set. Checking the online documentation gives no real guidelines for this. |
Please check file with encoding sets - /usr/local/ispmgr/etc/filemgr.enc
If file does not exist - you need create file by command Code:
iconv -l |cut -d" " -f1|sed "s|//||g" > /usr/local/ispmgr/etc/filemgr.enc Code:
# cat /usr/local/ispmgr/etc/filemgr.enc |
Thanks! I am still a bit concerned that if the correct encodeing is not selected that the text field is blank. If the OK button is hit then the file is wiped clean. I am afraid that clients might make this mistake on files.
|
Quote:
still on every new debian installation, i must use this bugfix manually |
We'll check it out.
|
I've just cheked it. filemgr.enc is created automatically in the script: /usr/local/ispmgr/sbin/ISPmanager-install.sh. Perhaps, the problem is in your method of installation. There are to ways to install ISPmanager. The first one is to download and run install.sh (the best way). The second one is to download install.tgz and run /usr/local/ispmgr/sbin/ispinstall (In this case the problem can appear).
|
Quote:
the debian-506-i386-netinst.iso without any additional packets, then "aptitude install ssh" and install ispmgr over ssh. now i logon to ispmgr go to file-manager open a file and become the "cannot encode file" error |
Could you run the command before ISPmanager installation and provide the result:
Code:
iconv -l |cut -d" " -f1|sed "s|//||g" > /tmp/filemgr.enc |
1 Attachment(s)
now, i´ve test with debian 6.0, the same probleme
see results from your command attachet file |
Quote:
|
All times are GMT +2. The time now is 06:27 AM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.