SID-00629: Wysiwyg configuration didn't work
| Status: |
Unanswered |
TWiki version: |
4.1.1 |
Perl version: |
5.8.5 |
| Category: |
WysiwygPlugin |
Server OS: |
Red Hat Enterprise Linux AS release 4 (Nahant) |
Last update: |
16 years ago |
Hi, I am new to Twiki (our company already had TWiki installed) and today I installed the
WysiwygPlugin over the TWiki himself. Download and installation work find just it told me there was no
WysiwygPlugin _installer.pl found in the archive. Then I did the configure and enabled the new Plugin. That also worked.
But when I go to the list
InstalledPlugin there
WysiwygPlugin is disabled and here is the error message that I get: TWiki::Plugins::WysiwygPlugin could not be loaded. Errors were: Can't locate TWiki/Plugins/WysiwygPlugin.pm in
@INC
(
@INC
contains: /var/www/html/twiki/lib/CPAN/lib//arch /var/www/html/twiki/lib/CPAN/lib//5.8.5/i386-linux-thread-multi /var/www/html/twiki/lib/CPAN/lib//5.8.5 /var/www/html/twiki/lib/CPAN/lib/ /var/www/html/twiki/lib . /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at (eval 66) line 1. BEGIN failed--compilation aborted at (eval 66) line 1.
Thanks in advance for your help. Best regards, Dany
--
DanyGILGOMES - 2009-11-18
Discussion and Answer
Do you have
twiki/lib/TWiki/Plugins/WysiwygPlugin.pm in your TWiki installation? Are the permissions OK, e.g. file readable by the webserver user?
--
PeterThoeny - 2009-11-18
Hi Peter,
I did a listing of the directory:
<code>[root@mars Plugins]# pwd
/var/www/html/twiki/lib/TWiki/Plugins
[root@mars Plugins]# ll
total 352
drwxrwxrwx 2 apache apache 4096 Mar 2 2007
ActionTrackerPlugin-rwxrwxrwx 1 apache apache 19104 Feb 22 2007
ActionTrackerPlugin.pm
-rwxrwxrwx 1 apache apache 42821 Mar 6 2006
CalendarPlugin.pm
drwxrwxrwx 2 apache apache 4096 Feb 5 2007
CommentPlugin-rwxrwxrwx 1 apache apache 3162 Feb 5 2007
CommentPlugin.pm
drwxrwxrwx 2 apache apache 4096 Feb 5 2007
EditTablePlugin-rwxrwxrwx 1 apache apache 3382 Feb 5 2007
EditTablePlugin.pm
-rwxrwxrwx 1 apache apache 25517 Feb 5 2007
EmptyPlugin.pm
-rwxrwxrwx 1 apache apache 4903 Feb 5 2007
InterwikiPlugin.pm
-rwxrwxrwx 1 apache apache 7026 Feb 5 2007
PreferencesPlugin.pm
-rwxrwxrwx 1 apache apache 10198 Feb 5 2007
RenderListPlugin.pm
drwxrwxrwx 2 apache apache 4096 Feb 5 2007
SlideShowPlugin-rwxrwxrwx 1 apache apache 2062 Feb 5 2007
SlideShowPlugin.pm
-rwxrwxrwx 1 apache apache 3748 Feb 5 2007
SmiliesPlugin.pm
drwxrwxrwx 2 apache apache 4096 Feb 5 2007
SpreadSheetPlugin-rwxrwxrwx 1 apache apache 2897 Feb 5 2007
SpreadSheetPlugin.pm
drwxrwxrwx 2 apache apache 4096 Feb 5 2007
TablePlugin-rwxrwxrwx 1 apache apache 2364 Feb 5 2007
TablePlugin.pm
-rwxrwxrwx 1 apache apache 6102 Dec 12 2008
TinyMCEPlugin.pm
-rwxrwxrwx 1 apache apache 6102 Dec 12 2008
TinyMCEPlugin.pm.bak
-rwxrwxrwx 1 apache apache 10424 Feb 5 2007
TwistyPlugin.pm
drwxrwxrwx 3 apache apache 4096 Nov 18 14:43
WysiwygPlugin-rwxrwxrwx 1 apache apache 27115 Apr 19 2009
WysiwygPlugin.pm
-rwxrwxrwx 1 apache apache 27115 Apr 19 2009
WysiwygPlugin.pm.bak
[root@mars Plugins]#
</code>
--
DanyGILGOMES - 2009-11-19
The TWiki lib is missing in your INC path. Fix it in
twiki/bin/LocalLib.cfg
--
PeterThoeny - 2009-11-20
Hi Peter,
Here is what is written in
LocalLib.cfg:
<code>
use vars qw( $twikiLibPath $CPANBASE );
#
$twikiLibPath = "/var/www/html/twiki/lib/";
#
#@localPerlLibPath = ( '/my/path/to/dir' )
#
1; # Required for successful module loading
</code
I didn't change anything there!
But
LocalLib is located in <code>twiki/LocalLib.cfg</code>
--
DanyGILGOMES - 2009-11-20
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-01-03
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.