I just upgraded to the latest release of FCKeditor 2.0RC2. The Insert/Edit Link button tool for internal files works great, except for one minor error.
When uploading a new file using the "Upload a new file in this folder" browse feature, the file only uploads 1KB of data.
When a user hits "Upload" to upload the file, the Internet Explorer progress meter flashes for about a second meaning that the upload completed in IE, but then the page never refreshes (same thing happens in Firefox). When I refresh the Resources Browser page manually, the file appears in the folder that I chose to upload to (either file, image, flash or media), however, the file only has 1KB of data.
The file is there and I can link to the file, which is nice. Of course, then I have to manually FTP the full version of the file to the folder to get it to work properly.
Any ideas? I have set permissions to the folder to read/write. The file is appearing in the folder, just a 1KB version and not the complete file. I am using a Windows 2003 Server with IIS 6.0.
Thanks. Pete
When uploading a new file using the "Upload a new file in this folder" browse feature, the file only uploads 1KB of data.
When a user hits "Upload" to upload the file, the Internet Explorer progress meter flashes for about a second meaning that the upload completed in IE, but then the page never refreshes (same thing happens in Firefox). When I refresh the Resources Browser page manually, the file appears in the folder that I chose to upload to (either file, image, flash or media), however, the file only has 1KB of data.
The file is there and I can link to the file, which is nice. Of course, then I have to manually FTP the full version of the file to the folder to get it to work properly.
Any ideas? I have set permissions to the folder to read/write. The file is appearing in the folder, just a 1KB version and not the complete file. I am using a Windows 2003 Server with IIS 6.0.
Thanks. Pete
RE: File Upload - Upload in Progress Error
BTW, the ColdFusion connectors aren't commented out. I had to insert my own Link and Image browsing variables like so:
// Link Browsing
FCKConfig.LinkBrowser = true ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/cfm/connector.cfm" ;
// Image Browsing
FCKConfig.ImageBrowser = true ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/cfm/connector.cfm" ;
I hope that helps,
Chris
RE: File Upload - Upload in Progress Error
RE: File Upload - Upload in Progress Error
When releasing the upload button in "Upload a new file in this folder", the upload button stays disabled, and the upload page won't refresh. When refreshing manually, I see a 1 kb corrupted version of the image that I tried to upload.
I am also using Windows Server 2003 with IIS 6
RE: File Upload - Upload in Progress Error
I guess unfortunately I have to cue myself in here.
What might be news to some of you is that even though binary data uploads (images, zip files etc) fails, you CAN upload ASCII data without any problems.
I just tested that and was able to upload any text file I tried, 1Kb - 250Kb .. and all of those go up fine.
It really IS a pitty that the upload is faulty, cause it is such an awesome feature of FCKEditor, but without it in my case it's almost no use
Regardless I would like to thank Frederico for supplying such an awesome tool to the rest of the world.
Hopefully someone will be able to pinpoint the problem. I strongly suspect that the upload class/function is not working correctly and send the wrong file content types, or just doesn't send any at all.
RE: File Upload - Upload in Progress Error
Oke I found a solution.
The connector.asp starts with <%@ CodePage=65001 ...
This should become
<%@ CodePage=1252
Problem 1 solved
New problem is that firefox does not return to the brower page
RE: File Upload - Upload in Progress Error
RE: File Upload - Upload in Progress Error
Thanks!