Tags:
create new tag
, view all tags

Question

WSYWIG editor can't find Entities.pm when loading (and maybe when saving--didn't check since it doesn't even load right). This file doesn't seem to exist in the v4.0.1 installation package I downloaded and installed, but is apparently needed for the WSYWIG editor to work correctly?

Apache Log:

[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] Can't locate HTML/Entities.pm in @INC (@INC contains: /cygdrive/d/twiki/lib/CPAN/lib//arch/ /cygdrive/d/twiki/lib/CPAN/lib//5.8.7/cygwin-thread-multi-64int/ /cygdrive/d/twiki/lib/CPAN/lib//5.8.7/ /cygdrive/d/twiki/lib/CPAN/lib// /cygdrive/d/twiki/lib . /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8) at /cygdrive/d/twiki/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 44.\n

[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] at /cygdrive/d/twiki/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 44\n

[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t TWiki::Plugins::WysiwygPlugin::HTML2TML::Node::BEGIN() called at HTML/Entities.pm line 44\n

[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t eval {...} called at HTML/Entities.pm line 44\n

[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t require TWiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm called at /cygdrive/d/twiki/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML.pm line 44\n

[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t TWiki::Plugins::WysiwygPlugin::HTML2TML::BEGIN() called at HTML/Entities.pm line 44\n

[Sat Feb 11 17:36:54 2006] [error] [client 10.20.71.44] \t eval {...} called at HTML/Entities.pm line 44\n

... the errors continue but this seems to be the root of the problem: There is no Entities.pm file anywhere in my installation.

Environment

TWiki version: TWikiRelease04x00x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: WinXP? SP 1
Web server: Apache 1.3.34
Perl version: 5.8.7-5
Client OS: WinXP? , Win2k
Web Browser: Firefox
Categories: Installation

-- JoshuaJohnston - 11 Feb 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Check the pre-requisites for the WYSIWYG plugin, but looks like you need to install CPAN:HTML::Entities. See WindowsInstallCookbook for use of the cpan tool to install such CPAN modules.

-- RichardDonkin - 12 Feb 2006

Thanks for this info Richard... it worked.

I have tried to install every CPAN module I could find documented as one that I might potentially need, including everything on the Configure page and a few others I've found here and there on the TWiki documentation and support pages. There doesn't seem to be a definitive list floating around.

So installing HTML::Entities works correctly which lets the WSYWIG load. It still doesn't save correctly but I believe that is basically the problem outlined in the OopsHangs topic.

Thanks again...

-- JoshuaJohnston - 13 Feb 2006

 
Topic revision: r5 - 12 Mar 2006 - 09:50:43 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback