This was working fun but has now broken.

I can upload images without trouble and I see the file name in the browser.

I can delete files but I can't select them. They don't appear to be links.

What gives?

Help!

Thanks

Comments

uogecko’s picture

Priority: Normal » Critical

Bump - this issue is causing us some problems - anyone know what the problem might be?

Thanks

bdhoundus’s picture

I am seeing the same problem. Site is using Drupal v5.3 and the 5.x-1.0 version of IMCE. After uploading the image, the file list appears, but only the delete link shows. If I close out of the file list box, and then click in icon in the insert picture window (to open IMCE again), then the file list is fine and the add and delete links are shown.

I noticed an error note after uploading the image. Details are:
Line: 17
Char: 10
Error: Permission denied
Code: 0
URL: http://mysite.com/imce/browse

uogecko’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

It looks like this was a conflict with the secure pages module:

http://drupal.org/node/116270

I was able to resolve this isssue.

bdhoundus’s picture

Thanks for the reply (and link), however I don't have the secure pages module installed on my site, yet the same phenomenon exists.

lindsayo’s picture

I"m having the same problem. I don't have the secure pages module installed.
I have the most current versions of tinymce (drupal and moxiecode) and imce installed. when i click on the image button, i do get the insert image dialog from tinymce, but I had to make a patch to the tinymce.module to get the imce browse button to appear. Now I can click on it and the imce dialog comes up, but I can only choose delete. I can't click on a file to get it to display nor to pass to the tinymce insert image dialog.

Please help!

-L

Anonymous’s picture

Version: 5.x-1.0 » 6.x-1.2
Status: Closed (fixed) » Active

I have this problem, too. Using D6 with FCKeditor. File upload works fine for me, but I'm not able to select files. I do not have secure page module installed. Maybe, there is a problem with FCKeditor integration, as I do not see the links in the header for handing over the selected file (which I'm unable to select) do FCK.

ufku’s picture

No javascript error on the page?

Anonymous’s picture

Thanks for that hint, it seems to be a problem with the java script optimization. When it's activated, there are JavaScript errors. One of them indicates a missing } at the end of the optimized .js-file.

I'm not quite sure, if this is an IMCE bug or one in the drupal core. Pleas put it at the right place, if IMCE is not the right one.

ufku’s picture

No. It's not an issue with IMCE. No such bug report so far.
Feel free to close this issue when you're ok with it.

Anonymous’s picture

Status: Active » Closed (fixed)

I created a new bug für drupal core:

#402852: JavaScript optimization cuts parts of .js files

ufku’s picture

Before doing that you should check the javascript files loaded without compression. There could be another module adding a broken js.

And without writing the steps to reproduce the bug, your bug report will not be taken into consideration.

Anonymous’s picture

I checked the broken .js file again. The file 'imce_extras.js' is not completely included in the optimized .js file. The optimized file ends with
imce.resizeRows = function(start, end, Max)

what is the following in the original file:

imce.resizeRows = function(start, end, Max) {
  var el = $(imce.BW), h = el.height();
  var diff = end - start, r = h / start, d = Math.round(diff * r), h1 = Math.max(h + d, 50);
  el.height(h1);
  $(imce.LPW).height(end - h1 - $(imce.el('browse-resizer')).height() - 1);
  imce.resizeList(h, h1);
};