MT上“Name "Locale::Maketext::Lexicon" used only once:” 问题的解决: 改用Perl内置函数库
最近从服务器日志中经常发现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.
建议继续学习:
- perl更新/修改/删除文本文件内容 (阅读:10182)
- perl大牛flw传说 (阅读:7153)
- perl模块Getopt::Std用法及实例-从命令行读取参数模块 (阅读:6568)
- [Perl] Template::Toolkit 模板技术. (阅读:5909)
- 在perl中连接和使用sqlite做数据存储 (阅读:5476)
- Perl命令行常见用法及技巧 (阅读:5482)
- ORACEL RAC 字符集 (阅读:5110)
- perl的expect使用方法,实现非交互式登录。 (阅读:5132)
- Perl 倒行分析文件方法。perl读文本文件,从末尾往前读. (阅读:5172)
- perl模块之MIME::Lite发送有附件的邮件 (阅读:4975)
扫一扫订阅我的微信号:IT技术博客大学习
- 作者:车东[Blog^2] 来源: 车东[Blog^2]
- 标签: Perl 字符集
- 发布时间:2010-08-01 19:56:30
-
[895] WordPress插件开发 -- 在插件使用 -
[136] 解决 nginx 反向代理网页首尾出现神秘字 -
[56] 整理了一份招PHP高级工程师的面试题 -
[54] Innodb分表太多或者表分区太多,会导致内 -
[53] 如何保证一个程序在单台服务器上只有唯一实例( -
[53] 用 Jquery 模拟 select -
[52] 海量小文件存储 -
[52] CloudSMS:免费匿名的云短信 -
[52] 全站换域名时利用nginx和javascri -
[52] 分享一个JQUERY颜色选择插件
