Got a "System error" when trying to open file folder in CKFinder for PHP with IE6 and IE7.
Same folder opened in Chrome and Firefox without problems. Since other folders opened nicely with IE figured out that it had to have something to do either with the folder or the files, and finally traced the error to file names containing extended ascii characters (ä,ö etc..).
Any fix to add extended ascii support to CKFinder in Internet Explorer?
btw. setting error_reporting etc. doesn't help the cryptic error messages in CKFinder. Only popup window with "System error" doesn't help much in finding the actual problem
Thu, 09/01/2011 - 10:08
#1
Re: IE and extended ascii filenames
Could you check the following version: viewtopic.php?f=10&t=23438 ?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: IE and extended ascii filenames
Tried the dev snapshot and it didn't crash anymore on IE 6.
It still displays characters as ? in the ckfinder window and generates the links wrong.
It should encode for example ä to %E4 It now turns up %3F.
I wonder if this could be fixed with iconv and filesystemencoding config setting? gonna play around with it tomorrow...
Re: IE and extended ascii filenames
I CKFinder 2.1 we have displayed such strange characters as question marks. It is obviously not a perfect solution, but at least it allows you to see all other files even if just one is broken.
This error happens mainly when using windows system that is using different encoding than utf8, in the following situations:
- the web server is installed on windows, but $config['FilesystemEncoding'] is set to an invalid value.
- the web server is running on linux, but the user sends a file using a FTP client directly on the server from windows system (the file is not uploaded via CKFinder). As the file is encoded using different charset than utf8 used by linux, it is causing the described problem.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+