GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Perl gurus Perl Modules question (https://gfy.com/showthread.php?t=54191)

Rip 03-20-2002 05:20 PM

Perl gurus Perl Modules question
 
I am making a script, and while everything works okay on my desktop system, when I install the working script to the server and chmod it, I get a 500 configuration error

I think it is the user call to the modules (causing the problem)

I am pretty sure that they (the modules) are on the server as other scripts on the webserver use them (I think)

anyway here they are;

[#!/usr/bin/perl
use LWP::UserAgent;
use HTML::LinkExtor;
use URI::URL;]

Maybe I am missing something?

benthompson 03-20-2002 05:26 PM

you think or you are sure?

even if one of the modules are not installed then it doesn't work...

run the script from the shell instead of the browser...


it will tell you what is missing

Babaganoosh 03-20-2002 05:28 PM

You sure it's those lines causing the problems?

I always use

use CGI::Carp qw(fatalsToBrowser);

That way, most errors will fatal to the browser window.

RK 03-20-2002 05:29 PM

Two suggestions:
1) Look in the error log(s)
2) Verify that the modules are really there

Amputate Your Head 03-20-2002 05:35 PM

just check your httpd.conf to see what is loading and what is not. If you're missing something,... load it.


All times are GMT -7. The time now is 02:41 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123