Hi

I have download the current version of Drupal tinyMCE and tinyMCE 3.1.1. I have installed Drupal tinyMCE to modules/tinymce and tinyMCE to modules/tinymce/tinymce. When I tinyMce administration and try to create a new profile I get this warning:

"warning: Invalid argument supplied for foreach() in C:\Program Files\Apache Group\Apache2\htdocs\Drupal\includes\form.inc on line 1189."

It allows me to create a new profile, but I can't see the editor when I try to create new content. Is it to do with the warning message or am I missing a step?

Thanks
Tony

Comments

Ray Seaman’s picture

fyi

baranoid’s picture

first message is sent 2 days ago and there is nobody answering the question?

heeyyyyyy!!!!!is there anybody out there cuse its getting harder and harder to breathe

geraldito’s picture

I got the same warning accessing tinyMCE administration the first time but after defining a profile it disapeared and tinyMCE works fine on Drupal 6.4 and tinyMCE 3.1.1

skyredwang’s picture

Same problem here

mkeith’s picture

has anyone had a luck with this one since last week? i'm getting the same warning message...

alternativecatII’s picture

I did mess up and install the TinyMCE module then enabling it, without realizing I had to install the TinyMCE engine.

I disabled the TinyMCE module, uninstaller it from the uninstall tab, added the engine, and then re-enabled it again.

I tried creating a profile as listed above. It got rid of the error, but the WYSIWYG editor would not show up.

Next out of desperation I disabled TinyMCE again, uninstaller it from the Uninstall tab again, and then deleted tinymce out of the modules folder. I then uploaded it again, with the TinyMCE engine in the correct folder in advance so it was modules\tinymce\tinymce (drupal module then tinymce engine).

After the files where once again uploaded, I re-enabled the module.

I then went to Administer > Site Configuration > TinyMCE to attempt to create a Profile once again, but got the same error message

warning: Invalid argument supplied for foreach() in /home/utaheats/public_html/drupal/includes/form.inc on line 1189.

I was able to get TinyMCE to work finally, although I'm still getting the error message.

I'm logged in as the admin so I thought by default TinyMCE would show up on my account. I then noticed when I went into my account and clicked on Edit, I'm listed as an authenticated user.

    Roles:
    authenticated user

Once I added authenticated users to a profile for TynyMCE (as listed on http://drupal.org/handbook/modules/tinymce ) and assigned permissions for the profile I, I was able to see and use TinyMCE.

kotoponus’s picture

I just came across this - I am about to try now.

http://drupal.org/node/280817