eygle Eygle.
Web 2006-01-03

MT Scode 插件错误解决

自从安装了Scode插件以后,网站的error_log日志中就经常出现如下两段错误日志:

Useless use of private variable in void context at 
/opt/apache/www.eygle.com/cgi-bin/mt/plugins/SCode/SCode.pl line 57.,
referer: http://www.eygle.com/archives/2005/12/to_be_loved_by_jane.html
"my" variable $entry masks earlier declaration in same scope at 
/opt/apache/www.eygle.com/cgi-bin/mt/plugins/SCode/SCode.pl line 192.,
referer: http://www.eygle.com/archives/2005/12/to_be_loved_by_jane.html 

今天查询了一下,找到了一个暂时的解决方案:

1.57行的错误解决

将57行注视:

#    $staticwebpath;

2.第192行错误解决

my $entry 修改为 $entry

就此解决以上2个错误.

By eygle 2006-01-03 16:51 评论 (3)
eygle
eygle

前Oracle ACE Director,云和恩墨创始人。技术为骨,历史为脉,人文为魂。

返回首页

3 Comments

问题终于解决,呀!