Thanks for all the suggestions.  I was able to figure out the solution because 
of it.
It turns out I was running updhtmlvar before reading the html file.  Thus, even
though the cgidebug log showed the correct substitutions in the right places, 
the
data stream being sent to the browser was not identical.


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On 
Behalf Of
Chuck Wannall
Sent: Tuesday, November 29, 2005 3:44 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] CGIDEV2 help needed


I have a program that seems to react differently than others for some reason 
that I
cannot discern.

I am using CGIDEV2.  This is a fairly simple program that reads a cookie, 
processes
some data, and displays a table of results.

What I get from the browser (both firefox and IE) is the dreaded '500 Internal 
Server
Error'

I turned on the debug mode for CGIDEV2 and stuck a few calls to wrtdebug in the
program.

It appears that the debug file shows everything working the same as the other 
pages I
am already using... E.g., it shows that the WrtSection calls are running and the
various wrtdebug notes are being output and I seem to see a normal page created 
as
far as the notes in the debug file are concerned.

The cookie is being read okay, with correct data.  The program builds the page 
as it
is supposed to be displayed.  The last thing in the debug file is a note on xxx 
bytes
sent to the browser.


Any suggestions as to what to try next?


Chuck Wannall
CalArts



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.