Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Location
    Dubai
    Posts
    192

    Unhappy Help - CGI Script Installation Problem.

    Im tring to install a link directory script on one of my sites and its cgi (Hot Links SQL) . I having a problem with the cgi path and I get this message:
    .................................................. ...
    Can't locate /path/to/cgi-bin/directory/lang/english.pl in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at ./lang/langset.pl line 5.
    .................................................. .

    This should be modified in config file which contain:

    $baseurl = 'http://www.sitename.com/cgi-bin/directory';
    $htmlurl = 'http://www.sitename.com/directory';
    $imageurl = 'http://www.sitename.com/images';
    $pathtocgi = '/your/path/to/cgi-bin/directory';
    $htmlpath = '/your/path/to/public_html/directory';

    I know I should change SiteName which is no problem but what modifications should I do in the PATHS !!

    Any help would be appreciated. Thanx

  2. #2
    Join Date
    May 2005
    Location
    Scranton, PA
    Posts
    21
    You probably have "use '/path/to/cgi-bin/directory/lang/english.pl';" instead of "require '/path/to-cgi-bin/directory/lang/english.pl';" somewhere in your code.

    Change the variables it tells you to change, and then change the perl file to use a 'require' instead of 'use'.

    That is probably the problem.
    Senior Software Developer
    BurstNET® - The Speed the Internet Travels™
    BurstNET® - an INC500™ Company
    http://www.burst.net - http://www.nocster.net

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •