Hi,
Has anybody had any luck with getting the TinyMCE plugin to work after encountering this problem?
warning: _tinymce_get_buttons(./modules/tinymce/plugin_reg.php): failed to open stream: No such file or directory in /export/archivist/modules/tinymce/tinymce.module on line 377. warning: _tinymce_get_buttons(): Failed opening './modules/tinymce/plugin_reg.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /export/archivist/modules/tinymce/tinymce.module on line 377. Browser shows this: Fatal error: Call to undefined function: _tinymce_plugins() in /export/archivist/modules/tinymce/tinymce.module on line 378
I've searched the message boards and it seems to be a fairly common issue, but the solutions offered, so far, have not worked.
I have altered the tinymce.module include statement in question to contain both the absolute path, and tried also changing it to this: include_once './'. drupal_get_path('module', 'tinymce') .'/plugin_reg.php';
The files live in the following directories:
modules/tinymce/tinymce.module modules/tinymce/tinymce/plugin_reg.php
Any further suggestions? Thanks in advance, shari
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> The information in this email and any attachments may contain confidential information that is intended solely for the attention and use of the named addressee(s). This message or any part thereof must not be disclosed, copied, distributed or retained by any person without authorization from the addressee. If you are not the intended addressee, please notify the sender immediately, and delete this message. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Hello,
Has anybody had any luck with getting the TinyMCE plugin to work after encountering this problem?
warning: _tinymce_get_buttons(./modules/tinymce/plugin_reg.php): failed to open stream: No such file or directory in /export/archivist/modules/tinymce/tinymce.module on line 377.
Yeah, I actually have this problem with most modules I install. What's always worked for me is to modify that include one line to include the full path.
You had this:
include_once './'. drupal_get_path('module', 'tinymce') .'/plugin_reg.php';
Try changing it to this: Include_once('/var/www/html/drupal/modules/tinymce/plugin_reg.php');
Of course, you'll need to make sure that points to where your file is. Ymmv, but it worked for me.
- jody
On Wednesday 27 September 2006 09:04, Jody Cleveland wrote:
You had this:
include_once './'. drupal_get_path('module', 'tinymce') .'/plugin_reg.php';
Try changing it to this: Include_once('/var/www/html/drupal/modules/tinymce/plugin_reg.php');
Of course, you'll need to make sure that points to where your file is. Ymmv, but it worked for me.
- jody
I'm comming at this totally blind, not having ever installed TinyMCE, nor actually having read this thread, but just looking at the code, I would be inclined to try this as a replacement:
include_once drupal_get_path('module', 'tinymce') . '/plugin_reg.php';
PLEASE REMOVE DAVID.NGUYEN@CINGULAR.COM FROM THIS MAILING LIST. THANK YOU
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Jason Flatt Sent: Wednesday, September 27, 2006 10:26 AM To: support@drupal.org Subject: Re: [support] TinyMCE install issue
On Wednesday 27 September 2006 09:04, Jody Cleveland wrote:
You had this:
include_once './'. drupal_get_path('module', 'tinymce') .'/plugin_reg.php';
Try changing it to this: Include_once('/var/www/html/drupal/modules/tinymce/plugin_reg.php');
Of course, you'll need to make sure that points to where your file is. Ymmv, but it worked for me.
- jody
I'm comming at this totally blind, not having ever installed TinyMCE, nor actually having read this thread, but just looking at the code, I would be inclined to try this as a replacement:
include_once drupal_get_path('module', 'tinymce') . '/plugin_reg.php';
On Wednesday 27 September 2006 10:27, Nguyen, David wrote:
PLEASE REMOVE DAVID.NGUYEN@CINGULAR.COM FROM THIS MAILING LIST. THANK YOU
It is done at the bottom of this page:
http://lists.drupal.org/listinfo/support
On Wednesday 27 September 2006 12:25, Jason Flatt wrote:
I'm comming at this totally blind, not having ever installed TinyMCE, nor actually having read this thread, but just looking at the code, I would be inclined to try this as a replacement:
include_once drupal_get_path('module', 'tinymce') . '/plugin_reg.php';
Using drupal_get_path() is indeed the correct way to reference a file for inclusion, as it is the most stable. If you come across a module that is not doing that, please file a bug against it as that it what it is. :-)