Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Script is not producing output.

by Falkkin (Chaplain)
on Mar 18, 2001 at 01:50 UTC ( #65205=note: print w/replies, xml ) Need Help??


in reply to Script is not producing output.

There are two possibilities here:

1. The server-side end of things is messed up, and the script can't even run. If this is the case, you need to make sure that all the files are mode 755 (chmod 0755 as an FTP command should work on prohosting, if i remember right); make sure the script is in the appropriate cgi-bin directory, and so on. You could try installing Apache on your own computer, and playing around with stuff there, to see how the server-configuration end of things works. (This assumes you're using a unix-ish OS that supports the idea of file permissions.)

2. Your script doesn't work well on their server. If this is the case, do the following:

use CGI::Carp qw(fatalsToBrowser);
Now any fatal errors (i.e. die()'s) will be sent to your browser, instead of causing an internal server error. I'm guessing this might be more reliable than your errorHTML function.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://65205]
help
Chatterbox?
Discipulus loose the tozzetto party!
[shmem]: .oO( addition of cookies for addiction to cookies )
[Lady_Aleena]: Other than my typos shmem. 8)
[shmem]: otherwise fine
[Discipulus]: tozzetti & vinsanto
[Lady_Aleena]: The whole line is push @line, ref($list_addition ) ? @$list_addition : $list_addition if $list_addition;
[Lady_Aleena]: And I forgot to do the array check, I'm such a doofus today.
[Lady_Aleena]: push @line, ref($list_addition ) eq 'ARRAY' ? @$list_addition : $list_addition if $list_addition; #trying again
[shmem]: Discipulus: yummy. I like those. Didn't have them for some time now, forgot the name. Should go get some...
[shmem]: Lasy_Aleena: correct, although for clarity I'd use an if() block, not a statement modifier

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-04-27 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (504 votes). Check out past polls.