In both FF and IE, I cannot navigate directories. IE gives this error: "imce.tree[...]li' is null or not an object" (see attached screenshot)

If I refresh the file browser window, the error goes away & I'm able to browse directories.

Can anybody help with this?

CommentFileSizeAuthor
IMCE js error.jpg28.49 KBlwiegand

Comments

hrpr.com’s picture

I had same problem and found that, in my case, a small change in the ../modules/imce/imce-content.css file cleared the problem. The css for my theme and/or one of my modules was overriding the css in the body statement and causing the contents of the directory frame on the IMCE page to display as centered rather than left-justified.

I changed the body statement css to include text-align:left and problem disappeared. Don't have any clue as to why this worked, but might be a good idea to include this in future release.

body.imce, body.imce #imce-content {
  color: #333;
  background-color: #ffffe0;
/* added to fix directory listing and top menu formatting*/
/* and imce.tree[dir] is undefined js error */
text-align: left; 
}
hrpr.com’s picture

More about this issue...

It appears that directory names using numeric characters ( i.e., 01, 02, 03, ... ) causes some confusion in IMCE. Again haven't quite figured out why yet, but may be good practice to make sure directory names start with alphas (i.e., a, b, c, ...) when working with IMCE.

ufku’s picture

Status: Active » Postponed (maintainer needs more info)

not enough data provided to reproduce the bug!

ufku’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)