Administration > Documentation/FAQ
Can't locate URI/Escape.pm
(1/1)
BUZN_WILDLY:
I'v search the forum for this error...and couldn't find the fix for it... Hmmmm.... this is the error I got
--- Quote ---
Can't locate URI/Escape.pm in @INC (@INC contains: [path to UBB cgi-bin]/Modules/ /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at /usr/lib/cgi-bin/album.pl line 9663.
BEGIN failed--compilation aborted at /usr/lib/cgi-bin/album.pl line 9663.
--- End quote ---
Would You Know how to fix this problem....
Thanking you in advance...
BUZN_WILDLY
Mike Bobbitt:
Hi buzn,
Your best bet is to get your ISP to install the URI::Escape Perl package.
Barring that, you can find and delete the following lines in album.pl:
--- Code: ---use URI::Escape;
# Replace any unsafe chars with their web versions
$input=uri_escape($input);
--- End code ---
That'll mean that album names with characters like & in them won't work for you, unfortunately, but normal album names will be fine.
Cheers
BUZN_WILDLY:
Thank you a ton for that quick reply...
I'm running Linux Debian.
when installed Debian, Default is Perl Installed...
Thinking that URI::Escape Perl package was installed.
I thought I installed the right package, but I don't quite think so. That URI::Escape Perl package is a hard one to track down.
here is the link:
http://24.150.151.27/cgi-bin/album.pl
This is after I deleted the lines you told me from Album.pl
--- Quote ---
use URI::Escape;
# Replace any unsafe chars with their web versions
$input=uri_escape($input);
--- End quote ---
You wouldn't have that link to that perl package ? ;D
Thanks for the fantastic help!!!
BUZN_WILDLY
Mike Bobbitt:
You should be able to run this at the command line:
--- Code: ---perl -MCPAN -e shell
install URI::Escape
--- End code ---
However you may need to be root for it to work.
The current error you're seeing indicates that album.pl can't find album.cfg. Make sure they're in the same directory...
P.S. I'll probably clean up this thread after a while, since it's in the FAQ section. Don't be alarmed if it changes once your album problems are fixed. :)
BUZN_WILDLY:
;D
Thank you very much!!!
You are very dedicated to your Album.pl
And you sure do know what your talking about!
All my problems are solved, thanks to you... ;D
Two Thumbs Way Up High ;)
Navigation
[0] Message Index
Go to full version