To me it seems that asp connector in the 2.6.3 is completly out of order.
After configuring as decribed from manual and lot of test with paths I started to analize the source code.
1) The file class_upload.asp is a unicode file and generate same problems in the ascii editors (and quite sure to vbscript)
2) The file basecml.asp, line 33, contain Response.CodePage=65001, but that generate error in VBscript, the same as writing response.inexistentAttribute or response.helloeverybodywhatareyoudoing?
I only use Php or Asp classic... but suppose that assign codepage that way is only working in aspx not asp where it should be used <%@ CodePage=65001 Language="VBScript"%> instead.
Trying to fix all, calling the connector manually (to understand what's going on), passing the same parameters I see on the "upload images - Browse serverr" I stopped here:
XML Parsing Error: not well-formed Location: http://192.168.0.3/beni/fckeditor/editor/filemanager/connectors/asp/connector.asp?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2F&uuid=1227200675432 Line Number 1, Column 1:/beni/public/userfiles/image/ /beni/public/userfiles/image/ ^
I tried without the first slash, then with the full url, then with mappath.... nothing to do... What's going on?
Re: asp upload images and browsing
What's your server?
Re: asp upload images and browsing
Server: Microsoft-IIS/5.0 on windows 2000
Re: asp upload images and browsing
On the server I also have Php as IIS cgi. Trying the php connector I circumvent the problem.
Still remain a little problem: the resource browser.
In the window for uploading images, the button "Browse server" open the window with a path like this:
while on the demo on this site, I see a simple
Why my connector parameter is full url and with encoding? Where I'm wrong?
My config.php
My custom my_config.js
my page
Re: asp upload images and browsing
A step back on ASP: the problem of the ASP connector is, at least the BOM of the asp unicode file.
That's why I got errors on various files, like the asp connector or asp examples.
Here the official articles.
IIS5: BOM of UTF-8 Encoded Files Is Treated as Data
Because of the BOM, the VB script engine is unable to parse the code.
http://support.microsoft.com/kb/301623
Microsoft has confirmed that this is a problem in Internet Information Services 5.0.
Those servers with IIS5 + .net don't have the problems.
Should anyway better removing BOM to expand compatibility.
Re: asp upload images and browsing
I've spent a lot of time with asp... Abandoned!
PHP connectors works great in all it's parts. I'll use it on the ASP server with PHP in CGI, and that's all.
Works both upload and browsing.
Re: asp upload images and browsing
It's exactly the other way: if you want your script to work universally then you should use UTF.
IIS5 is just Windows 2000, some places might be still using them, but meanwhile every new server (in MS world) is windows 2003 or 2008, the number of w2000 won't increase and usually they are left in "maintenance mode", removing UTF compatibility to cater those servers seems like a backwards move.
Re: asp upload images and browsing
I've updated a local server to avoid the problem of UTF but I still have other problems. Upload and browsing don't work anyway. Tracing the problem file by file I isolated the problem using the file browser directly, manually, without fckeditor calls. Looking around I saw the problem around xml response but at that point I stopped trying for lack of time: I'll use PHP and good bye problems.
PS: Are you sure 2.6.3 asp is really working? I hear some guys coming back to 2.5 to have upload working. Others abandoned for the same problems of mine. I've also tried asp connector on new servers with asp/asp.net but nothing better.
However every server of the world has PHP, even as CGI on IIS. So, since I have to use fckeditor only in administration section (no many people at a time, on the contrary only 1, once a month or more), there are no problem of performances or resources using asp and PHP together... and fckeditor with php is working great, upload and browsing.
The game is not worth the candle of making asp connector working.
Best regards, Rik.