Ask a Question related to PERL Miscellaneous, Design and Development.
-
chad phillips #1
Can't call method "uri" on an undefined value
I am trying to get Auth::Cookie to work and keep getting this error?
Can't call method "uri" on an undefined value at /path/login.pl line
6.
This is on a solaris box, with Apache 1.3.28.
The code is pretty straight forward:
#!/usr/bin/perl
use CGI qw(:standard :html3);
my $r = Apache->request;
$r->status(200);
my $uri = $r->prev->uri;
print redirect("http://mydomain.org/cgi-bin/askforsurvey.pl?uri=$uri");
This same script works just fine on my test machine, but not on my
production box. My guess is that something in the environment/apache
compile is different. Does anyone have any pointers as to where I
should look to fix this problem?
thanks
chad
chad phillips Guest
-
"Can't call method "disconnect" on an undefined value..."
Hey there anyone, I am new at this and I am trying to figure this out and I don't know too much, but I keep getting this error when trying to run... -
Crypt::CBC Can't call method "blocksize" on unblessed reference
I have a problem with the Crypt:CBC Module. When I'm running my little sample script I allway get the following error: Can't call method... -
SOLVED: Can't call method "FETCH" on an undefined value at /path/to/my/Cookie.pm
Pete Harlan posted a problem and workaround for a problem in a moderated Debian newsgroup (though this issue is not really related to Debian... -
Spreadsheet::ParseExcel Can't call method "sheets"
The code below fails on some excel files with the error message: Can't call method "sheets" on an undefined value at script.pl line 6. The problem... -
#26194 [Ver]: Call to iconv() gives "undefined function" error, php -i says iconv functional
ID: 26194 Updated by: sfox@php.net Reported By: bjorn dot wiberg at home dot se Status: Verified Bug Type: ...



Reply With Quote

