Howdy Sam!

I'm sorry I should have thought of these steps first.  CGI::Carp
qw(fatalsToBrowser) does not show anything anyway.  I also added the debug
method to the template object.  I have added the logs below and the script
exits with the 200 status.  This same script runs just fine on NT 4.0 with
IIS 4.0.  I should also mention that this script runs fine in Komodo 2.0 and
does not report any errors, but it doesn't work on any of the browsers.

Here's the error report:

#Fields: time c-ip cs-username s-sitename s-computername s-ip s-port
cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes
cs-bytes time-taken cs-version cs-host cs(User-Agent) cs(Cookie) cs(Referer)

15:10:12 192.68.200.99 - W3SVC1 perlrox 192.68.200.99 80 GET
/cgi-bin/env_tmpl_with_expr.pl - 200 0 0 348 407 HTTP/1.1 perlrox
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0) - -
15:10:16 192.68.200.99 - W3SVC1 perlrox 192.68.200.99 80 GET
/cgi-bin/env_tmpl_with_expr.pl - 200 0 0 348 406 HTTP/1.1 perlrox
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0) - -
15:17:36 192.68.200.99 - W3SVC1 perlrox 192.68.200.99 80 GET
/cgi-bin/env_tmpl_with_expr.pl - 200 0 0 484 422 HTTP/1.1 perlrox
Mozilla/5.0+(Windows;+U;+Windows+NT+5.0;+en-US;+rv:0.9.4.1)+Gecko/20020314+N
etscape6/6.2.2 - -

I tried to copy the output of $tmpl from the call stack in Komodo (I am
fairly new to this product and don't know all the bells and whistles yet.)
and was unable to capture it.  If there is any param that you want the
output from and I will type it in a reply and ship it off.  I'd be happy to
check or try anything else out that might get to the bottom of this problem.


Thanx for your help -- Jeff.

-----Original Message-----
From: Sam Tregar [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 10:29 PM
To: Jeff Pelkey
Cc: html-template-users
Subject: Re: [htmltmpl] Running into problems IIS 5.0 (Win2K) and H:T:Expr

On Tue, 21 Jan 2003, Jeff Pelkey wrote:

> I just moved up to IIS 5.0 on a Win2K machine and I am having problems
> running using H:T:Expr.  I am currently running H:T v2.6 and H:T:E v.04.
> The code is the same except for adding "::Expr" then the code gives a
> "Cannot find server or DNS Error" message.

You need to look in your server error logs and find out what the real Perl
error is. Or you could use CGI::Carp to show Perl error messages in the
browser:

  use CGI::Carp qw(fatalsToBrowser);

My guess is that  HTML::Template::Expr is failing to load for some reason,
but without seeing the error message itself it's impossible to know.

-sam



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to