Author Topic: Can't locate URI/Escape.pm  (Read 18425 times)

0 Members and 1 Guest are viewing this topic.

Offline BUZN_WILDLY

  • album.pl User
  • *
  • Posts: 5
  • Karma: +0/-0
  • I forgot to change the default text.
Can't locate URI/Escape.pm
« on: August 25, 2003, 19:30:25 »
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.





Would You Know how to fix this problem....

Thanking you in advance...

BUZN_WILDLY

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:Can't locate URI/Escape.pm
« Reply #1 on: August 26, 2003, 09:32:55 »
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: [Select]
use URI::Escape;

   # Replace any unsafe chars with their web versions
   $input=uri_escape($input);

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

Offline BUZN_WILDLY

  • album.pl User
  • *
  • Posts: 5
  • Karma: +0/-0
  • I forgot to change the default text.
Re:Can't locate URI/Escape.pm
« Reply #2 on: August 26, 2003, 14:15:18 »
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);


You wouldn't have that link to that perl package ?  ;D

Thanks for the fantastic help!!!

BUZN_WILDLY


Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:Can't locate URI/Escape.pm
« Reply #3 on: August 27, 2003, 09:16:46 »
You should be able to run this at the command line:

Code: [Select]
perl -MCPAN -e shell
install URI::Escape

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. :)

Offline BUZN_WILDLY

  • album.pl User
  • *
  • Posts: 5
  • Karma: +0/-0
  • I forgot to change the default text.
Re:Can't locate URI/Escape.pm
« Reply #4 on: August 28, 2003, 08:09:01 »
 ;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    ;)