Tags:
create new tag
view all tags

SID-00918: TinyMCEPlugin Problems

Status: Unanswered Unanswered TWiki version: 4.1.2 Perl version: 5.10.0
Category: TinyMCEPlugin Server OS: Ubuntu Server 2.6.31-20 Last update: 15 years ago

Good evening,

I've been trying to get away from the default kupu wysiwig plugin on our internal wiki system. Namely due to it being rather basic.

I installed the TinyMCEPlugin via configure, the plugin wasn't detected on the InstalledPlugins article, so I went about searching.

Firstly, I manually edited the LocalSite.cfg file to have this line:

$TWiki::cfg{Plugins}{TinyMCEPlugin}{Enabled} = 1;

The InstalledPlugins article noted to me that the TinyMCEPlugin could not be located, so then I realised that I had to edit the LocalLib.cfg due to funky paths:

# LocalLib.cfg: local path settings for TWiki

use vars qw( $twikiLibPath $CPANBASE );

# -------------- Path to lib directory containing TWiki.pm. 
# 
# REQUIRED 
# The absolute path to the 'lib' directory in your installation..

$twikiLibPath = "/etc/twiki";

# -------------- Extra path components to include in @INC 
# OPTIONAL 
# If you need to use perl modules that are not installed in the standard 
# directories (e.g. you have downloaded extra modules for use with plugins) 
# then you can add the absolute paths to those modules below. You can list 
# as many directories as you want, separated by commas.

@localPerlLibPath = ( '/usr/lib/cgi-bin/lib' );

# http://www.perl.com/pub/a/2002/04/10/mod_perl.html?page=3 has good advice 
# on installing CPAN modules without superuser privileges.

1; # Required for successful module loading

After making the change in the localPerlLibPath, the plugin is detected, and reports no errors, however, when I now go to edit I see this:

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

Undefined subroutine &TWiki::Plugins::WysiwygPlugin::notWysiwygEditable called

Does anyone know why I might be experiencing this behaviour?

-- RichardHFrost - 2010-07-30

Discussion and Answer

You need the latest WysiwygPlugin and TinyMCEPlugin. You need also install all dependencies. May be easier to upgrade TWiki to the latest release?

-- PeterThoeny - 2010-07-30

Thanks for your quick response Peter, I will try upgrading WysiwygPlugin and see what behaviour I get.

I'm not too sure how the upgrade process would go, the twiki system was installed via apt-get along with the twiki-ldapcontrib package.

-- RichardHFrost - 2010-08-02

Right, I've upgraded the WysiwygPlugin to the latest revision, now when I choose to edit by clicking Edit it takes me to the plain text editor, or the WYSIWYG button it takes me to the Kupu editor.

Hmmm.

-- RichardHFrost - 2010-08-02

frown

-- RichardHFrost - 2010-08-11

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2010-10-06

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title TinyMCEPlugin Problems
SupportCategory TinyMCEPlugin
TWiki version 4.1.2
Server OS Ubuntu Server 2.6.31-20
Web server Apache 2.2.12
Perl version 5.10.0
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2010-10-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.