最近从服务器日志中经常发现MT的错误日志:
Name "Locale::Maketext::Lexicon" used only once: possible typo at
.../extlib/Locale/Maketext.pm line 653.,....
解决方法:
删除 mt/extlib/目录下的I18N/ 和 Locale/ 目录即可;
原因:
服务器上已经升级到Perl 5.10.x了: 很多国际化字符集方面的支持直接使用Perl内置的支持包即可。
[chedong@titans ~/logs/chedong.com/http]$ perl -v
This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multiCopyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
本文介绍了如何解决服务器日志中出现的MT错误,通过删除特定目录下的文件夹可以有效解决该问题。错误提示可能源于Perl版本升级后,一些功能可以直接使用内置支持包导致。
4517

被折叠的 条评论
为什么被折叠?



