Opened 13 years ago

Closed 12 years ago

#1187 closed defect (fixed)

ExtendedFileManager "imgManager.changeDir is not a function" error

Reported by: guest Owned by:
Priority: normal Milestone: 0.96
Component: Plugins Version: trunk
Severity: major Keywords: ExtendedFileManager javascript
Cc: rimas.kudelis@…


The ExtendedFileManager? fails to load, showing the following error in FireBug?:

imgManager.changeDir is not a function
Line 309

Discussion and more information here:

Change History (5)

comment:1 Changed 13 years ago by ray

Sorry, I cannot reproduce and I'm tempted to say this cannot happen

comment:2 Changed 13 years ago by guest

It seems to be an issue related to vs I have Xinha configured for, and so the errors appeared on without the 'www'.

A .htaccess redirect to one or the other (whichever Xinha is configured for) solves the problem.

comment:3 Changed 12 years ago by guest

I can reproduce the error using Xinha 0.95.
Ray, can I help you track it down somehow?

Here's the array that's being passed to PHP backend:

  'images_dir' => '/path/to/site_images', 
  'images_url' => '/site_images',
  'files_dir'  => '/path/to/site_files',
  'files_url'  => '/site_files',
  'thumbnail_prefix' => 'thumb_',
  'thumbnail_dir' => '.thumbs',
  'images_enable_title' => true,
  'images_enable_align' => false,
  'images_enable_styling' => false,
  'link_enable_target' => false,
  'max_filesize_kb_image' => 2*1024,
  'max_filesize_kb_link' => 'max',
  'allowed_image_extensions' => array("jpg", "jpeg", "gif", "png"),
  'allowed_link_extensions' => array("doc", "dot", "eps", "gif", "html", "jpeg", "jpg", "pdf", "png", "pot", "rtf", "svg", "tiff", "tif", "txt", "xls")

Interestingly though, EFM works fine for images, but doesn't show directory contents when creating a file link. However, even in the latter case the directory tree in the Directory dropdown is being fully loaded.

The error I get when loading EFM is:

document.getElementById("f_target_label") is null
Line 136

Another error pops up when I choose a directory from the dropdown:

imgManager.changeDir is not a function
Line 305

comment:4 Changed 12 years ago by guest

  • Cc rimas.kudelis@… added

comment:5 Changed 12 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

rev [1054]: thanks for the information. It helped a lot to track this errow down

Note: See TracTickets for help on using tickets.