Closed (duplicate)
Project:
Wysiwyg
Version:
5.x-0.4
Component:
Editor - TinyMCE
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2009 at 11:21 UTC
Updated:
19 Jan 2009 at 14:19 UTC
Actually, that version is just a guess: the module doesn't provide any version information. Anyway, when choosing the TinyMCE Editor at http://www.lambertsimon.nl/admin/settings/wysiwyg/profile/edit/Editor in the Basic Setup section, I get the following warning:
warning: Invalid argument supplied for foreach() in /var/www/vhosts/lambertsimon.nl/httpdocs/sites/all/modules/drupal_contrib/wysiwyg/wysiwyg.admin.inc on line 361.
warning: array_filter() [function.array-filter]: The first argument should be an array in /var/www/vhosts/lambertsimon.nl/httpdocs/sites/all/modules/drupal_contrib/wysiwyg/wysiwyg.admin.inc on line 366.
When activating the FCKEditor, this doesn't happen.
Comments
Comment #1
EliseVanLooij commentedI forgot to report that TinyMCE does not appear on any of the content types.
Comment #2
scor commentedyou seem to be using an old version (5.x-0.4) of the wysiwyg module. could you update wysiwyg to the latest 5.x-1.x-dev and try again?
Comment #3
sunYes, this was a known issue in 0.4. Please update.
Comment #4
EliseVanLooij commentedWell, that did get rid of the error but unfortunately, neither FCDeditor nor TinyMCE shows up. Also, I'm a bit unhappy about using a development snaphost (which is marked in red on the module page) instead of the official release (marked in green). I update my sites via CVS and I guess that means that I'm now at risk of ending up with an untested editor everytime I do a cvs update.
What steps should I take now to actually be able to use the editor? I activated Filtered HTML on the profile page (guess somebody should look at those terms) and checked Basic Setup >> Enabled by default