[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] cgi-wrapper error



----- Original Message -----
From: Alfredo <alfredo@xxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Friday, January 05, 2001 7:40 AM
Subject: Re: [cobalt-users] cgi-wrapper error


> >
> >Unfortunately this didnt help at all, cause after I removed the /, the
> >counter spit out an error to the browser (an error occured processing
this
> >directive)
>
>
> Well, at least we know that's not the problem. You have the script in
> your top site directory, right? Not in any sub-directory

Hi again

The counter and FormMail scripts are still not working properly but it might
have something to do with the way they are called, cause when I call them
directly from the shell I get no errors.

When I insert "use CGI::Carp qw(fatalsToBrowser)", it tells me nothing for
the counter and
nothing for FormMail.

Another output from the shell:
perl -w FormMail.pl
[Fri Jan  5 19:33:37 2001] FormMail.pl: Use of uninitialized value at
FormMail.pl line 119.
[Fri Jan  5 19:33:37 2001] FormMail.pl: Use of uninitialized value at
FormMail.pl line 123.

The same for the counter:
perl -w FormMail.pl
[Fri Jan  5 19:34:26 2001] counter.pl: Argument "" isn't numeric in ne at
counter.pl line 62.
[Fri Jan  5 19:34:26 2001] counter.pl: Use of uninitialized value at
counter.pl line 62.
[Fri Jan  5 19:34:26 2001] counter.pl: Use of uninitialized value at
counter.pl line 72.

Permissions:

FormMail.pl : -rwx --- ---

counter.pl     : -rwx r-x r-x
data dir        : drwx rwx rwx
data file       : -rw- --- r--

the counter doesn nothing but increment a number.

I hope this is enough info
TIA

Marc