Missing argument 2 message

splashworx - December 13, 2008 - 05:44
Project:Tiny Tiny MCE
Version:6.x-1.10
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have installed correctly. Double checked and checked again. I am able to switch the tinytinymce module on within admin>modules but after I do, I receive the following warning on every page viewed (the actual editor does not appear as intended):

warning: Missing argument 2 for tinytinymce_help() in /home/spl14302/public_html/ebook/sites/all/modules/tinytinymce/tinytinymce.module on line 61.

Please help!

#1

Steve Lockwood - December 13, 2008 - 10:25

I think you can fix this by making a tiny change to the code in tinytinymce.module (on or near line 61)

/**
* Implementation of hook_help
*/
function tinytinymce_help($path = '', $arg = '') {
...

This should provide a default value for the missing argument.

Let me know if this works foryou - I will put the change into a future release.

#2

splashworx - December 27, 2008 - 01:48

Hi, Steve.

Thank you. This successfully removed removed the warning but the actual editor does not appear. I tried using default themes but this did not make any difference.

Any thoughts?

Tim

 
 

Drupal is a registered trademark of Dries Buytaert.