Hello,

I've recently setup Drupal 4.7 on a redhat 4.0 server. I'm trying to get the TinyMCE module setup, but am running into a few snags.

When I go into Administer>>Settings>>TinyMCE and click the link to create a new profile, I get a blank page. I looked at my site's error log, and it had this:
[client 172.30.2.145] PHP Notice: Undefined index: pass in /var/www/html/drupal/includes/database.mysql.inc on line 37, referer: http://www.wals.lib.wi.us/drupal/admin/settings/tinymce
[client 172.30.2.145] PHP Fatal error: Unknown function: _tinymce_plugins() in /var/www/html/drupal/modules/tinymce/tinymce.module on line 376, referer: http://www.wals.lib.wi.us/drupal/admin/settings/tinymce

Also, if I click on the browser's back button, I get this error on the page:
* warning: _tinymce_get_buttons(modules/tinymceplugin_reg.php): failed to open stream: No such file or directory in /var/www/html/drupal/modules/tinymce/tinymce.module on line 375.
* warning: _tinymce_get_buttons(): Failed opening 'modules/tinymceplugin_reg.php' for inclusion (include_path='/usr/share/pear') in /var/www/html/drupal/modules/tinymce/tinymce.module on line 375.

Any ideas what may be wrong?

- jody

Comments

georgedamonkey’s picture

The problem seemed to always stem from line 375. So, in looking there, I see this:

include_once(drupal_get_path('module', 'tinymce'). '/plugin_reg.php');

Well, just for grins, I decided to put in the full path to plugin_reg.php. It worked!! Not sure why it's an issue, but it fixed my problem. Oh, here's what I changed it to:

include_once('/var/www/html/drupal/modules/tinymce/plugin_reg.php');

uknewperson’s picture

Hi,

I've just posted an issue in the forum but I believe my problem is very similar to the one you had.

Here's the address of my post. I'd greatly appreciate any help. Thanks

http://drupal.org/node/73693