高手看看UT论坛的MD5问题,,,

goao 2003-01-08 08:18:17
高手看看UT论坛的MD5问题,,,
由于主机没有md5,我用ut带的md5放到了cgi-bin目录下面,但是没有用,报错:
我在其他没有md5的服务器上用同样的方法成功过,为什么这个不性.

未加如UT带的md5前的错误信息:
Software error:
Can't locate MD5.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at UTMain.pm line 42.
BEGIN failed--compilation aborted at UTMain.pm line 42.
Compilation failed in require at forum_show.cgi line 16.
BEGIN failed--compilation aborted at forum_show.cgi line 16.

For help, please send mail to the webmaster (support@gr-studio.com), giving this error message and the time and date of the error.
########################
加入MD5.PM后报错:
Software error:
Can't locate loadable object for module MD5 in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at UTMain.pm line 42
Compilation failed in require at UTMain.pm line 42.
BEGIN failed--compilation aborted at UTMain.pm line 42.
Compilation failed in require at forum_show.cgi line 16.
BEGIN failed--compilation aborted at forum_show.cgi line 16.

For help, please send mail to the webmaster (support@gr-studio.com), giving this error message and the time and date of the error.

熟手指导.......

...全文
122 点赞 收藏 1
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
tsingson 2003-01-15
第一,请找到 ut 可用的 md5 版本一致的那个 pm
第二,请查看 utmain.pm 是如何调用 md5
是 use MD5; 还是用 use XXXXX::MD5;

如果是用 use MD5;

请改为 use lib "路径可访问到md5.pm的完全目录";
use MD5;

例: use lib "c:/apache2/htdots/cgi-bin/ut/lib";
use MD5;
其中 md5.pm 是在 c:/apache2/htdots/cgi-bin/ut/lib/MD5.pm

这样改之后,一般情况下就可以啦
回复
相关推荐
发帖
CGI
创建于2007-09-28

2183

社区成员

Web 开发 CGI
申请成为版主
帖子事件
创建了帖子
2003-01-08 08:18
社区公告
暂无公告