Is there a way to run a cgi-bin app in some sort of debug mode that will dump more information that it normally outputs?
reasoning:
I am running into an error 500 and I get only 1 line in access_log and 1 line in error_log for the app. the error_log aborts the app with an error code 500 premature ending of script (doing the message from memory so bare with me). the access_log line is the URL that called the cgi-bin app.
I can run the *.cgi and it tells me that I dont have a valid browser.
I can run the app but it immediately exits (aborts?).
I have put in lines all over the place to write to a logfile. The only lines that get executed is the app.open() ones. the app.close() doesnt write out. session.open() doesnt. nothing does (except app.open() ). And since I am a WE n00b, I am trying to brute force my way through this but I keep tripping over my own feet. so bare with me.
For what it’s worth, 99% of the time when you get an error about a premature ending of script (or something similar), the problem is that the app is crashing either due to missing libraries or because of something in App.Open.
OK… I am a complete complete idiot… like in a new level of idiot. I was calling the app itself in the iframe URL instead of the .cgi file. I like a complete n00b.