What should I do if I get an error when installing LDAP on Linux under Linux?

  

TWiki is a versatile wiki program that needs to run in a Perl environment. On Linux systems, TWiki prompts an error when installing LDAP. How do I resolve this situation? The following small series will introduce you to the Linux TWiki installation LDAP prompt error solution.

TWiki LDAP installed appears given as follows:

[Mon Dec 15 09:40:17 2014] [error] [client 172.17.60.125] [Mon Dec 15 09: 40:17 2014] view: defined(%hash) is deprecated at /var/www/twiki/lib/CPAN/lib//Locale/Maketext/Lexicon.pm line 286., referer: http://172.17.200.51/Twiki/bin/configure? t=1418607599

[Mon Dec 15 09:40:17 2014] [error] [client 172.17.60.125] [Mon Dec 15 09:40:17 2014] view: \\t(Maybe you should just omit The defined()?), referer: http://172.17.200.51/twiki/bin/configure? t=1418607599

[Mon Dec 15 09:40:18 2014] [error] [client 172.17.60.125] [Mon Dec 15 09:40:18 2014] view: Use of uninitialized value $tag in lc At /var/www/twiki/lib/TWiki/I18N.pm line 64., referer: http://172.17.200.51/twiki/bin/configure? t=1418607599

Solution:

1. Delete the defined 286 lines of /var/www/twiki/lib/CPAN/lib//Locale/Maketext/Lexicon.pm

2, in the /var/www/twiki/lib/TWiki/I18N.pm file

First:

my $tag = shift;

if ( not $tag ) { return ‘’ } # fix

Second:

my $tag = shift;

$tag = lc($tag | |  ‘’ ); # fix

The above is the introduction of the solution to the error when installing Telnet in TWiki in Linux. This article introduces two solutions, first delete the definition in the file, then I18N. The pm file is processed.

Copyright © Windows knowledge All Rights Reserved