Hi,

When I am uploading file by clicking upload button,button is disabled and it shows loading image for long time.
It did not give any message, Whether the file is uploaded or not and also it did not upload anything.
Once i closed IMCE and reopened that IMCE, it shows the image in IMCE.
How can I fix it, Please need help.

With Regards,
B.Sakthi.

Comments

Kevin Danenberg’s picture

I am experiencing this issue as well when trying to insert an image from the CKEditor toolbar with IMCE set as the file browser. Click Image button -> Browse Server -> Upload -> Browse... (Select file) -> Upload. Result is endless spinning on Upload button.

Similar experience when trying to attach a file to a node with a custom field of type File. Edit Node -> Browse... (Select file) -> Upload. Result is a period of hourglass spinning, then "An AJAX HTTP request terminated abnormally." error.

In both cases, image formats failed (PNG, PDF, JPG)... but non-image formats (TXT, HTML) were successful.

I believe these cases are related. Perhaps something to do with image resizing or some other process unique to the image formats? Problem occurs with every combination of IE/Firefox/Safari + Windows/Mac/Linux I thorw at it.

Hope this helps!

Kevin Danenberg’s picture

I just realized while trying to switch to CKFinder that the File Attachment case I mentioned above does not seem to use IMCE. So if these issues are indeed related, perhaps they have nothing to do with IMCE?

I'll keep digging and let you know if I find anything.

Kevin Danenberg’s picture

Okay, here's the solution I found...

I realized that I was able to use IMCE to upload small images, ~100KB or less. I suspected this was a server config issue -- nothing to do with IMCE. Turned out to be a limit on file size with Ajax uploading.

As per this blog, http://montenasoft.com/en/blog/500-internal-server-error-while-uploading-files-bigger-then-100kb-modfcgid-problem, I added the following to my httpd.conf file:

# Work around annoying fcgid limitations
<IfModule mod_fcgid.c>
  # 20MB should be enough
  MaxRequestLen 20000000
</IfModule>

I'm using Apache2. I'm sure there are similar fixes if you have this issue on other web servers.

ufku’s picture

Category: bug » support
Priority: Critical » Normal
thalles’s picture

Issue summary: View changes

I think this was solved in later versions

thalles’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.