Hello all. I've been using for the last couple of months, an automatic
error reporting feature. Basically, when the onerror method is raised in
application cfc, I cfdump all the variables to cfcontent, check to see if
the same error has previously been generated, and if not, insert it into a
database as a new trouble ticket. It's been working great to help me
identify bugs in the application, so I decided to add a function where the
user would be presented with a form and they could tell me what they were
doing when the error was raised.
Of course its the simple things that kill you.
Here's the relevant code:
<!--- Error is captured and trouble ticket created --->
blah blah a bunch of code here. This part works just fine.
<!--- Present the user with the form --->
<h3>Oops!</h3>
<p>Your last request generated an error. Our system administrators have
been notified and we'll work to correct the problem as soon as
possible.</p>
<p>You can help us by telling us exactly what you were doing when the error
appeared:</p>
<form method="post"
action="/index.cfm?page=submiterror&ticketid=#getticket.ticketid#"
id="frmSubmitError" name="frmSubmitError">
<textarea name="description" cols="80" rows="8"></textarea>
<input type="submit" name="Submit" value="Submit">
</form>
For whatever reason, the form is not actually posting anything. When you
hit submit, a cfdump of the form scope shows nothing at all. What am I
doing wrong?
I'm sure its something very simple, but I'm at a loss.
Charles Sheehan-Miles
Associate Director
Veterans for America
http://www.veteransforamerica.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259401
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4