Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityEverything ElseGeneral Use (Moderators: scott, DanO, Marty)Perlis.dll problems: can't call method "get"
Pages: [1]   Go Down
Print
Author Topic: Perlis.dll problems: can't call method "get"  (Read 579 times)
0 Members and 1 Guest are viewing this topic.
stephenlac
New Member
*

Karma: 0
Offline Offline

Posts: 0

Graphics


« on: May 13, 2003, 01:54:00 PM »

I keep getting a server error on my windows 2000, SP3 server running calendar script 3.2. I have activestate perl 5.6 Build 631 installed. CGI extensions are mapped to perlis.dll. Debug.pl reports no problems.

This message shows up in my PerlIs-Err.log file:

Can't call method "get" on an undefined value at d:\inetpub\wwwroot\calendar\calendar.cgi line 469.

At the same time, this is placed in my Win2K event log:

Out of process application '/LM/W3SVC/7/Root/calendar' terminated unexpectedly.

And i get a screen error message:

'd:\inetpub\wwwroot\calendar\calendar.cgi' script produced no output

Line 469, which perlis is reporting is the error reads:

$localtime_offset = 3600*$Config->get("time_zone_offset");

I've tried temporarily hard coded my offset (0) as a workaround:

$localtime_offset = 0;

But that didn't seem to make a difference, except that then I seeemed to get an error in line 44 of html.pm:

Can't call method "get" on an undefined value at d:\inetpub\wwwroot\calendar\calendarscript\lib\HTML.pm line 44.

So I took out the hardcoded $localtime_offset.

Running from a command prompt using perl.exe, I see no errors and the appropriate header and HTML code being generated. So I've mapped .cgi to perl.exe for this folder, and set up application protection to High isolated in IIS for this folder. There are some performance issues with this approach, though.

I'm wondering if there are similar problems being seen by anyone. Searching the form didn't

Logged
stephenlac
New Member
*

Karma: 0
Offline Offline

Posts: 0

Graphics


« Reply #1 on: May 13, 2003, 04:47:00 PM »

Interestingly, now with the script mapped to perl.exe, it seems to work just fine in Internet Explorer, but in the Opera browser, I get a browser message:

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Can't call method "get" on an undefined value at d:\inetpub\wwwroot\calendar\calendar.cgi line 469.
Can't call method "get" on an undefined value at d:\inetpub\wwwroot\calendar\calendar.cgi line 469.
END failed--call queue aborted.

And still, it works just fine from a command prompt.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: