TWiki是一款多罪能的wiki步伐,须要运转于Perl环境,Linux体系外,TWiki正在装置LDAP时提示谬误,逢到那种状况该若何处理呢?上面小编便给各人引见高Linux TWiki装置LDAP提示谬误的处理要领。
TWiki外装置LDAP呈现报错,以下:
[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
处理:
一、增除了/var/www/twiki/lib/CPAN/lib//Locale/Maketext/Lexicon.pm 的286止外的defined
二、正在/var/www/twiki/lib/TWiki/I18N.pm文件
第一种:
my $tag = shift;
if ( not $tag ) { return ‘’ } # fix
第两种:
my $tag = shift;
$tag = lc($tag || ‘’ ); # fix
下面便是Linux外TWiki装置LDAP时报错的处理要领的引见了,原文一共引见了2种处理要领,先增除了文件外的defined,再对I18N.pm文件停止解决。
相关文章