Closed (fixed)
Project:
Wysiwyg
Version:
6.x-0.4
Component:
Editor - TinyMCE
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2008 at 01:14 UTC
Updated:
11 Dec 2008 at 14:51 UTC
Hi,
I have just installed Wysiwyg with TinyMCE 3.2.1. When I try to create a profile (after setting permissions for authenticated users to access wysiwyg editor and disable html filter and line break converter at the input format settings page) I get the following message and no buttons show up in my editor.
warning: Invalid argument supplied for foreach() in /sites/all/modules/wysiwyg/wysiwyg.admin.inc on line 363.
warning: array_filter() [function.array-filter]: The first argument should be an array in /sites/all/modules/wysiwyg/wysiwyg.admin.inc on line 368.
I got the same message when trying to use Wysiwyg + FCKeditor. Then all buttons showed up and most of them seemed to work fine, but I had another problem – the link button tried opening fckeditor/fckdialog.html when the actual file is in fckeditor/editor/fckdialog.html.
Does anybody know what causes the warnings? Does anybody know how to fix the link problem with FCKeditor?
Thanks, Sofia
Comments
Comment #1
aaron commentedConfirming this happens for me with TinyMCE as well. Using wysiwyg 6.x-0.4 and drupal 6.6.
Comment #2
aaron commentedHowever, it seems to have been fixed in the dev version.
Comment #3
sunCorrect.