I see this issue posted a lot with a number of different solutions. I've turned the code upside-down and diagonal and can't figure out what's wrong. After everything, I started from scratch and went through and made the most sensible changes to the code to make sure I hadn't messed something up along the way- to no avail.
Problem:
1. Click the "Insert/Edit Image" Button
2. Select the "Upload" tab
3. Browse to test image on my local (small file size)
4. Click "Send it to Server"
It hangs on that horizontal brown status bar forevvver.
Currently I'm working with the last stable release- 2.6.3 (I've tried the beta and the nightly).
Outside of that, the only thing that I've modified is:
\fckeditor\editor\filemanager\connectors\asp\config.asp
I created the folder structure so it fits the file path:
ConfigUserFilesPath = "/userfiles/"
I set ConfigIsEnabled = true
I read a post that made me question how these paths should be set: (this one doesn't work)
ConfigFileTypesPath.Add "Image", ConfigUserFilesPath & "image/" ConfigFileTypesAbsolutePath.Add "Image", "" ConfigQuickUploadPath.Add "Image", ConfigUserFilesPath ConfigQuickUploadAbsolutePath.Add "Image", ""
I changed the paths to this (which also doesn't work):
ConfigFileTypesPath.Add "Image", ConfigUserFilesPath & "image/" ConfigFileTypesAbsolutePath.Add "Image", ConfigUserFilesPath & "image/" ConfigQuickUploadPath.Add "Image", ConfigUserFilesPath & "image/" ConfigQuickUploadAbsolutePath.Add "Image", ConfigUserFilesPath & "image/"
My page that calls the editor looks like this:
<!-- #INCLUDE virtual="/fckeditor/fckeditor.asp" --> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <form action="sampleposteddata.asp" method="post" target="_blank" ID="Form1"> <% Dim oFCKeditor Set oFCKeditor = New FCKeditor oFCKeditor.BasePath = "/fckeditor/" oFCKeditor.Value = "<p>This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>." oFCKeditor.Create "FCKeditor1" %> <br /> <input type="submit" value="Submit" ID="Submit1" NAME="Submit1"/> </form> </body> </html>
Can anyone see what I might be doing wrong? I appreciate your help! And so does what's left of my hair
Re: ASP Upload Image Hangs (yes, I've scoured the forums)
I didn't realize there was also a setting in fckconfig.js that needed to change to "asp"
It was defaulted to php. YEEEE HAW!!
I believe this has resolved all of my issues and I can now definitely use it for my website, so I'm going to go donate now- GREAT TOOL!
If there is a large response on this, I will try to find time to create an FAQ on using image browser for asp.