IronGate : ColdFusion Error Handling Application

IronGate is a ColdFusion Exception Manager software that helps you to keep track of errors occurred in your applications and provide you with environment information you need to sort them out.

When an error occurs in your application anytime anywhere, IronGate logs the familiar ColdFusion error message for you, display a friendly error message to the user. Most importantly, it records all surrounding variables and server statues at the time of the exception helping you to understand the root cause of the error without any guesswork and also helping you to clean out any broken transactions in your application.  

IronGate installation:
Installation is extremely easy. Download and unzip IronGate into your web application and browse. It will take you to the installation wizard and once complete, you can include IronGate.cfm file into your Application.cfm/cfc or you can add that to the ColdFusion Administrator as the server wide exception handler.

Requirements:
- Tested with ColdFusion 7 and up and Railo
- MSSQL/MySQL/PostgresSQL
- CFFILE read and write access and necessary folder permissions

IronGate is the new version of Kakapo.

Download (irongate.zip)
22 Comments :
barbara oneal
Thursday 24 April 2014 12:28 PM
Hello, i have an error that seems to happen inside of irongate. I realize that the error is happening because someone is trying to do something bad and we stopping it however when i try to get to the error irongate throws an error.

Invalid SQL statement or JDBC escape, terminating ''' not found.

The error occurred in E:\Websites\mysite.com\www\irongate\administrator\bin\dsp_this.cfm: Line 193 Called from E:\Websites\mysite.com\www\irongate\administrator\bin\index.cfm: line 34
Called from E:\Websites\mysite.com\www\irongate\administrator\index.cfm: line 8

191 : <cfquery name="other" datasource="#irongate.datasource#" username="#irongate.username#" password="#irongate.password#">

192 : select max(bugid) as id, template, line, max(status) as status , errorid

193 : from #irongate.table# where message = '#thisE.message#' and errorid <> #val(thisE.errorid)#

194 : group by errorid, template, line

195 : order by id desc


VENDORERRORCODE
0
SQLSTATE
0
SQL
select max(bugid) as id, template, line, max(status) as status , errorid from irongate where message = 'invalid call of the function init (E:\Websites\mysite.com\www\cfcs\AuctionItem.cfc), first Argument (ItemNum) is of invalid type, can't cast String [11237') /* OR */AND 8=7-- OR 8] to a value of type [numeric]' and errorid <> 5469 group by errorid, template, line order by id desc

so why is irongate throwing an error?
Ivan
Wednesday 22 January 2014 12:42 PM
Hello,
on the login page, I get this error:
https://hostr.co/file/278gNgVgK4k8/err_line41.png
Thursday 23 January 2014 11:00 AM
Could you open up the irongate.cfm and look at the line 41 - looks like the word "Don't" changed into "Don't" inserted. This should not be.
Anthony L
Wednesday 25 December 2013 09:41 PM
Any ideas "irongate/irongate.cfm : line 557
Complex object types cannot be converted to simple values"

I'm getting this when I'm running my test error page.
Tuesday 14 January 2014 01:50 PM
Hello Anthony,

Sorry for the late reply. What ver of CF you are running? Looks it does not have isXML() function..
Dana K
Monday 15 July 2013 10:25 AM
The zip file download on this page does not hav an app .cfm/.cfc with the download. This causes a session error after installation.
PradeepVizz
Monday 15 July 2013 01:35 PM
That's right, however i think the readme says create a new app.cfm/cfc which just


cfapplication sessionmanagement="Yes"
Wednesday 17 July 2013 01:03 PM
If we add a fake Application file, users might overwrite their existing file with that by accident.

Dana K
Monday 15 July 2013 02:22 PM
Sorry my comment was cut off earlier. I was curious why it wasn't just packaged with a skeleton?

PradeepVizz
Sunday 19 May 2013 10:41 AM
Hey Sam, Great app! Just love it. Simple & Clean.

I thought i would report a bug that i noticed. When there are multiple incidents of the same error - i am not able to delete them. When i click on "Delete These Records", a JavaScript error occurs and page does not do anything.

The fix was pretty simple :)

Line 150 on administrator\bin\dsp_this.cfm to be changed as below - that's basically the JS call

This Error Occered <a href="index.cfm?action=incidence&errorid=#thisE.errorid#&id=#url.id#">#thisdetail.ecount# times</a> since #dateformat(thisdetail.etime,'ddd mm/dd/yy')# #timeformat(thisdetail.etime,'hh:mm tt')#. <img src="images/bin.png" border="0" align="absmiddle" /> Delete These Reccords.</a>
PradeepVizz
Sunday 19 May 2013 10:43 AM
My bad, the JS has been stripped out :) you know what it should be!
PradeepVizz
Monday 20 May 2013 12:18 PM
The blog seems to be protecting against script protection :)

Monday 20 May 2013 11:44 AM
Any reason why JS stripped ?

Felix
Friday 17 May 2013 07:32 PM
Really nice app. It would be great to have a column with only the domain name

count | domain |template

It would be nice if we can set multiple accounts to give a customer only access to selected domains.
Tuesday 14 May 2013 11:09 AM
I, too, would like to see centralized storage for multiple servers; even multiple applications. If these things were supported I might switch from BugLogHQ.

At any rate, I'll be speaking about Hoth & BugLogHQ at CFObjective (this Friday morning), and I'll mention IronGate in my presentation as something people should consider/check out.
Tuesday 14 May 2013 11:10 AM
Commenting failed when I tried to reply to James Moberg's comment.
Tuesday 14 May 2013 12:23 PM
screen shot of comment fail: https://www.evernote.com/shard/s240/sh/0ed5f7f5-0171-4eea-ba67-c588aa04c7d1/4ec628d9075607807bb844f540dab44c

Wednesday 15 May 2013 12:08 PM
Thanks Adam,That looks a bug in Railo cffom required=true attribute. It loose the hook on the form filed, if the element change its position – on Mac.IronGate can be used as the site-wide error handler – it works on multiple applications. This can be made to work across multiple servers with a WS call, but I was bit reluctant on that because that create two other failure points. I will play around it bit on my servers. Error handler has to be like a blackbox, it should not be in the way, collect as much information and failproof as much as possible. Have fun at CFObjective!
James Moberg
Wednesday 08 May 2013 09:35 PM
Are you able to add multi-server functionality so that more than 1 ColdFusion server can post errors to a centralized database tagged with a "server nickname" and have server filters in the administrator? (I'd like to use this, but would prefer to log into a single location to view all errors.) Thanks.
Wednesday 08 May 2013 07:01 PM
Installs but have to enter "login.cfm" to login to administrator and then errors with SESSION variable not found error.
Wednesday 08 May 2013 07:09 PM
Looks like you do not have the Application.cfc/cfm file or session is not enabled.