Hi,
This module was working beautifully until I added an SSL certificate to the site. Now that the edit pages have HTTPS URLs the module returns the following error in Firebug console:
Permission denied for #unprotected URL# to get property Window.Drupal from #protected URL#.
I would be glad for any help on how to fix this!
Comments
Comment #1
rpk commentedAfter configuring Secure Pages so that edit pages are no longer secured, it seems there is an additional problem: Whenever I click into the FCKeditor window Firebug reports a "node is null" error.
When trying to insert an image the wysiwyg image upload module seems to work fine and the image is placed inside the text edit window. However, after saving the node the image does not show up and no image code has been added to the node.
It seems this may now be more FCKeditor related rather than have to do with wysiwyg image upload, but since I'm not sure I would appreciate any insight you may have about this!
Comment #2
eugenmayer commentedDo you have activated an image API. Do you have any presets?
Iam using wysiwyG_imageupload with https and it works. In you case it seems like there seems to be a access from http -> https or https->http so mixing it up or something.
Comment #3
rpk commentedAfter further testing, it is clear that FCKeditor doesn't allow to make ANY changes to a node anymore, even simple text changes. So this is no longer related to wysiwyg image upload!
Thanks!
Comment #4
eugenmayer commentedthanks for reporting back
Comment #5
rpk commentedHi Eugen,
On even further further testing, it turns out that the information IE8 gives about the error is:
Message: '$' is null or not an object
Line: 19
Char: 7
Code: 0
URI: http://www.MYSITE.org/sites/all/modules/wysiwyg_imageupload/plugins/imgu...
Lines 19 - 23 in imgupload.js are:
if(node.$) {
// This case is for the CKeditor, where
// $(node) != $(node.$)
return $(node.$);
}
I'm not exactly sure what this means and would be glad for help!
Comment #6
rpk commentedReplacing imgupload.js with an older version of the script (imgupload.js,v 1.1.2.13 2010/02/02 22:08:44 eugenmayer) fixed the "Node is null" problem. Editing text and inserting images now works again in Firefox.
However, in IE8 inserted images show with a broken image icon. Only after clicking the "source" code button in FCKeditor and clicking it again to go back to the standard view the image, processed through imagecache, appears. Saving the node works fine afterwards and the image shows. Without switching to source view once the image will not get inserted and saved.
Comment #7
rpk commentedComment #8
eugenmayer commentedComment #9
eugenmayer commentedComment #10
eugenmayer commentedfixed in 2.0-beta4
Comment #11
eugenmayer commented