Uncaught Exception
Shane Birley - September 18, 2009 - 22:35
| Project: | Image Assist |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Unable to insert images. This error appears in Firebug:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www.example.com/sites/all/modules/img_assist/img_assist_textarea.... :: insertToEditor :: line 90" data: no]
#1
You do not mention your editor or how the editor is plugged in. I get the error with Wysiwyg 6.x-2.0 and TinyMCE. Read http://drupal.org/node/417166#img_assist-insert-exception. The recommendations worked for the combination I use. Similar to http://drupal.org/node/478284 in FCKeditor.
#2
FCKEditor and using the Wysiwyg 6.x-2.0 - that page you reference may be the solution. I will need to check it out and report back here.
#3
I'm getting the same error as above. Not using WYSIWYG, just straight fckeditor and image assist. All work fine until I actually insert image, then I get the following error.
All links above lead to solution for WYSIWYG not straight FCK
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:8888/htdocs/*****/modules/img_assist/img_assist_textare... :: insertToEditor :: line 90" data: no]
Any help much appreciated..
#4
Found that I can insert images if I switch to plain text editor, insert image, then switch back.. will do for now.