Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-20-2002, 05:20 PM   #1
Rip
Confirmed User
 
Join Date: Jan 2001
Location: somewheres wet
Posts: 1,456
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?
__________________
...
Rip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-20-2002, 05:26 PM   #2
benthompson
Confirmed User
 
Join Date: Mar 2002
Posts: 553
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
__________________
No signature.. I am bored of the signatures aswell..
benthompson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-20-2002, 05:28 PM   #3
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
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.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-20-2002, 05:29 PM   #4
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
Two suggestions:
1) Look in the error log(s)
2) Verify that the modules are really there
__________________
Does anyone look down here?
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-20-2002, 05:35 PM   #5
Amputate Your Head
There can be only one
 
Amputate Your Head's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
just check your httpd.conf to see what is loading and what is not. If you're missing something,... load it.
Amputate Your Head is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.