With Drupal 4.6/CVS and the latest CVS modules, I am experiencing an error when using the tinymce.module in combination with image_assist.
I've set the tinymce theme to "advanced," since this seems to integrate the two modules automatically (according to the "readme" in the tinymce durpalimage plugin directory). This plugin seems to be installed correctly, as Tinymce finds the plugin and tries to use it (initially the tinymce setup page gave me an error that the plugin was not accessible-- I hadn't loaded it to the right place-- now this seems to be right).
However, using imageassist (from the image button in tinymce) creates this error:
getimagesize(): Read error! in /home/WWW/drupal/modules/img_assist/img_assist.module on line 521.
The imageassist window opens, but several of the thumbnails are broken in this window. The above error message is generated within the same window. If I try to add images, the image mdoules browse window opens and I can browse and select an image. But when I "submit" a new image for upload, the browser informs me that
"the browser window has lost communication with the parent form, so images can no longer be inserted. This problem is usually solved by reopening this window from the originating link. Would you like to close this browser now?"
Despite all of this, the image module does upload the image. However, the image_assist.module is rendered mostly inoperable at this point. While I can preview a snippet, the insert image button does nothing. These problems only result when trying to run both modules together, as the image_assist module works perfectly on its own (I'll also submit this bug report to the image_assist project, as I'm not sure its a problem with the tinymce plugin or the way image_assist is interracting with it).
Thank you for your help in resolving these issues!
Comments
Comment #1
bomarmonk commentedA little more information (this is an error that results when running the advanced theme in tinymce-- image_assist enabled) I've reinstalled both image assist and the tinymce.module:
Line: 7
Char: 5
Error: "window.opener.document" is null or not an object
Code: 0
URL:http://www.mysite.com/drupal/modules/tinymce/tinymce/jscripts/tiny_mce/t...
With the other tinymce themes installed, I get different errors with the image_assist button (the tinymce image button now provides only a url for an image-- I haven't yet edited the options of the other themes-- after reading the "Readme" for the image plugin, I'm not sure where these options should be edited for these themes. I'll worry about getting the advanced theme to work first, as it already is supposed to work with image assist)
Comment #2
matt westgate commentedThis is fixed in CVS.
Comment #3
(not verified) commented