Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Verification Problem

Quote Reply
Verification Problem
I'm running Links 2.0 on Linux.

"Verifying Links" (both Quick Check and Detailed) produces the following error message:


Fatal error: Can't locate object method "netloc" via package "URI::http" (perhaps you forgot to load "URI::http"?) at /www/cgi-bin/fiberlinkmanager/admin/LWP/Parallel/UserAgent.pm line 443, line 1.


That line in UserAgent.pm is

my $netloc = $request->url->netloc;

Server is running Perl version 5.006001

Have seen other problems with Verifiying Links discussed here, but have not seen any solutions for this particular one.

Help!!
Quote Reply
Re: [fibergypsy] Verification Problem In reply to
Hi,

This is caused by the missing URI.pm and URI::http.pm modules in your system. Should you do:

1) Install these modules?

or

2)

use Socket instead of UserAgent

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] Verification Problem In reply to
Quote:
This is caused by the missing URI.pm and URI::http.pm modules in your system. Should you do:

1) Install these modules?

I am having the same problem using Links version 2.0 and my server has URI.pm and URI::http.pm installed. It worked fine the last time I verified the links a month or 2 ago.

Can anyone suggest what the cause may be or better yet, a solution? PLZ!

TIA

Dan O.

Last edited by:

DanO: May 25, 2002, 4:47 PM
Quote Reply
Re: [DanO] Verification Problem In reply to
Having same problem, need to bump this topic.
Quote Reply
Re: [DanW] Verification Problem In reply to
Tan Dat from Gossamer just fixed mine for me (although the verify timed out prematurely).

I will suggest he post the fix here as others seem to be experiencing the same problem as well. If not, contact GT directly requesting support.

Dan O.
Quote Reply
Re: [fibergypsy] Verification Problem In reply to
Yup! I'm having the same problem. Used to work, now it doesn't. Same error message, too.Crazy

Tandat, your solution makes no sense to me. Can you be more specfic in your instructions? Not all of us are software developers.

Last edited by:

webgoddess: Aug 10, 2002, 12:58 PM
Quote Reply
Re: [webgoddess] Verification Problem In reply to
Was there ever any solution to this? It used to work, but I've suddenly started having the same problem.
Michael Coyne
seaturtle.org
Quote Reply
Re: [mcoyne] Verification Problem In reply to
seems to be a problem in Validator.pm or one of the subroutines it calls. Perhaps one of the packages it uses has been updated and is no longer compatible. If I rename Validator.pm it switches to the IO::Socket method and works fine.
Michael Coyne
seaturtle.org
Quote Reply
Re: [mcoyne] Verification Problem In reply to
Hi!
Did you rename it to something in particular? Or was simply renaming it the way you disabled it?

I tried renaming the file so it couldn't be accessed, but it didn't solve the problem for me.

Is there anything else I should change or try?

Thanks!
Becky's Wildlife and Fantasy Art
http://www.wildlife-fantasy.com/
Quote Reply
Re: [beckyg] Verification Problem In reply to
I just renamed it to Validator.pm.off so that the verify.cgi can't find it. Then when you run verify.cgi it should say something like:

Can't locate Validator.pm in @INC at ./verify.cgi line 72.
Using IO::Socket method instead.
Michael Coyne
seaturtle.org