When you run the scripts from the cli, what do you get on your screen?
What about Apache configuration is cgi script executable.
What permission do you have on your script?
Hope those questions can give you a guide.
Regards
On Jun 17, 2014 3:00 PM, "Jim Gibson" wrote:
>
> On Jun 17, 2014,
On Tue, Jun 17, 2014 at 3:27 PM, Jim Gibson wrote:
> my $upload = $main::global->{'form'}->{'image_upload'} || '';
> if ($main::global->{'admin'} && $upload ne '' ) {
> $data->{'image'} = CopyTempFile('image');
> }
>
>
> I find that much more readable and will not generate any undefined
On Jun 17, 2014, at 1:02 PM, SSC_perl wrote:
> What's the best way to stop undefined warnings for code like this:
>
> $data->{'image'} = CopyTempFile('image') if ($main::global->{'admin'} &&
> $main::global->{'form'}->{'image_upload'} ne '');
>
> CGI::Carp gives the following:
>
>
What's the best way to stop undefined warnings for code like this:
$data->{'image'} = CopyTempFile('image') if ($main::global->{'admin'} &&
$main::global->{'form'}->{'image_upload'} ne '');
CGI::Carp gives the following:
[Tue Jun 17 14:54:36 2014] admin.cgi: Use of uninitialized
On Jun 17, 2014, at 1:10 AM, Philippe Rousselot wrote:
> Hi,
>
> I know nothing about perl and I have a problem with a cgi script for a
> website called geneweb (genealogy stuff).
>
> I moved from one web site to another and now the site does not work and give
> me a 500 error message.
D
Hi,
I know nothing about perl and I have a problem with a cgi script for a
website called geneweb (genealogy stuff).
I moved from one web site to another and now the site does not work and
give me a 500 error message.
cgi-bin and a perl script work fine. Here is the script I used to test :