MT上“Name "Locale::Maketext::Lexicon" used only once:” 问题的解决: 改用Perl内置函数库
2010-08-02 00:22
453 查看
最近从服务器日志中经常发现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-multi
Copyright 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.
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-multi
Copyright 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.
相关文章推荐
- Linux解决perl: warning: Falling back to a fallback locale ("en_US.utf8").问题
- hadoop "File /user/<user>/input/conf/slaves could only be replicated to 0 nodes, instead of 1"问题及解决办
- "ScrollView can host only one direct child"问题解决了
- "make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38" 问题解决
- "ScrollView can host only one direct child"问题解决
- 解决android studio创建新项目时一直卡在Building "project name" Gradle info的问题
- Fixing "perl: warning: Setting locale failed."解决
- Attribute value is quoted with " which must be escaped when used within the value 问题解决
- "make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38" 问题解决
- Attribute value is quoted with " which must be escaped when used within the value 问题解决
- "make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38" 问题解决
- 问题解决: Attribute value request.getParameter("id") is quoted with " which must be escaped when used within the value
- nginx升级到 0.8.53 之后,使用老的配置出现duplicate MIME type "text/html"问题的解决办法
- Android "Read -Only System"问题解决方法
- 问题解决: Attribute value request.getParameter("id") is quoted with " which must be escaped when used wi
- Unity关于 "Move" can only be called on an active agent that has been placed on a NavMesh.问题的解决办法
- 解决svn "cannot set LC_CTYPE locale"的问题
- eclipese连接MySQL出错“Class.forName("com.mysql.jdbc.Driver")”问题解决
- struts2标签s:text name=""/问题小结
- "Invalid file name: must contain only [a-z0-9_.]"android项目中R.java文件丢失原因及解决方法.