The IMCE image browser is not displaying an "add image" link, only a "delete" link is displayed

izaiah - November 30, 2007 - 21:41
Project:IMCE
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When trying to get images inserted into content with IMCE and TinyMCE, there are no add image links for the uploaded images for the user.

I am getting these Javascript errors when the IMCE windows are opening.

[Exception... "'Permission denied to get property Window.ImceFinish' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]

[Exception... "ServiceManager::GetService returned failure code:" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://browser/content/utilityOverlay.js :: getShellService :: line 294" data: no]

#1

ufku - December 5, 2007 - 03:06

disable javascript debugging tools if you use any. they may change window names which causes IMCE work improperly.

#2

trenchard - December 19, 2007 - 17:11

I am getting the same problem without any visible areas. I have reinstalled the module. PHP was upgraded recently on my server.

I am now seeing an error.

I have full 777 permissions on imce and files/upload directories.

I've attached a screen shot of what I see in imce and the error.

AttachmentSize
screen.png 11.14 KB
error.png 16.15 KB

#3

trenchard - December 19, 2007 - 17:37

I may have tracked this down to the Secure Pages module. I was forcing SSL on node add and edit pages. I turned this off and the select and add functionality started working. I would like to keep the SSL on these pages. Can you look into this?

The page settings that seemed to be the problem are:

node/add*
node/edit/*

#4

ufku - December 28, 2007 - 12:56

please have a look at http://drupal.org/node/116270

#5

engineering@net... - April 22, 2009 - 14:38

I had exactly the same problem, with my installation and turning off secure pages sorted the problem for me

Luke Tarplin

 
 

Drupal is a registered trademark of Dries Buytaert.