<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p24.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-24T21:39:13</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#50266" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#39931" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#36127" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#35698" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#34364" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#25941" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23878" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23720" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23549" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23548" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#22061" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#21198" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#15403" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#11865" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#50266">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#50266</link>
		<description>An additional note on CFError. Despite information above to the contrary, the cferror tag does not catch all CF errors, regardless of the TYPE attribute that you specify. For example, if you leave off the closing parenthesis in the following tag: #left(sometext, 20#, the CFError will NOT trigger. However, if you properly form the tag but pass an invalid variable (for example passing a misspelling of #left(smoetext, 20)#, the error template will trigger fine. For CFError to process, there can not be any malformed CF, just malformed variables, truncation, etc.</description>
		<dc:creator>thekat</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-06-29T23:32:34</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#39931">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#39931</link>
		<description>&quot;To ensure that error pages display successfully, avoid using the cfencode tag to encode pages that include the cferror tag.&quot;&lt;br /&gt;&lt;br /&gt;cfencode is not a tag, it is an application used to encode a cfml file</description>
		<dc:creator>gyzer</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-09-26T00:37:40</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#36127">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#36127</link>
		<description>If you're asking how to display an error template on a 404, then I think that either the Site-wide error handler or errorurl property in the web server connector are what you need. For more information on the site-wide error handler, see the CF Administrator online help; for more information on the Web server connector, see: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/websera8.htm.</description>
		<dc:creator>jrunrandy</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2005-06-29T12:35:19</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#35698">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#35698</link>
		<description>It's unclear whether using CFERROR is the same as setting a site-wide error template in the CF administrator, if it is different, or just when/why you'd use one over the other.</description>
		<dc:creator>csteinola</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-06-17T12:28:09</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#34364">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#34364</link>
		<description>What about page not found error?&lt;br /&gt;&lt;br /&gt;Error Occurred While Processing Request  &lt;br /&gt;File not found: /property/system/123.cfm</description>
		<dc:creator>walkman</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-06-02T16:07:35</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#25941">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#25941</link>
		<description>Has anyone encounter a problem of filtering custom exception types in cferror pages?  When I use any unrecognized or custom exception types to filter, cferror tag lets them IN instead of OUT of my error handling page.   Can anyone tell me a solutiont to this??  Thanks!</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-12-29T09:27:48</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23878">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23878</link>
		<description>You can use &lt;cfdump var=#error#&gt; to get all the information you want to get. And you will find out the structure of variable Error.</description>
		<dc:creator>Dogfish88</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-12T17:57:14</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23720">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23720</link>
		<description>jdugandzic: I would like to know how did you do it.  I have the same issue and for some reason cannot access Error.sql when i use my own error handling page specified by &lt;cferror type=&quot;exception&quot; ...&gt;&lt;br /&gt;&lt;br /&gt;The strange thing is that when one uses default Site-wide error handling page (i.e. without specifying &lt;cferror&gt;) error.sql data is available.  I've investigated this and have discovered when a database exception is handled by the default error handler (located for me in C:\CFusionMX\wwwroot\WEB-INF\exception\coldfusion\runtime\ DatabaseException.cfm) the Error object has the following keys:&lt;br /&gt;&lt;br /&gt;Sql,SQLState,queryError,RootCause,where,StackTrace,Detail,NativeErrorCode,Message,DataSource,ErrorCode,Type,TagContext&lt;br /&gt;However, that exact same exception when i use my own error page -- as specified by cferror - the error object is missing sql data and has only the following keys:&lt;br /&gt;&lt;br /&gt;GeneratedContent,Mailto,RootCause,RemoteAddress,StackTrace,QueryString,HTTPReferer,Template,Message,Diagnostics,DateTime,Browser,Type,TagContext&lt;br /&gt;&lt;br /&gt;This is quite an unexpected behavior and it should at least be documented if not fixed.&lt;br /&gt;&lt;br /&gt;If someone figures out how to get Error.sql  please let me know [dupublic(no/spam)@twcny.rr.com]</description>
		<dc:creator>dorange</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-09T18:02:30</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23549">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23549</link>
		<description>Nevermind, I found that this information is partially correct.  The cfcatch variables are not available, but the sql stuff is available buried deep in the cferror structure.  thanks for lots of documentation on this macromedia!!!!! :(</description>
		<dc:creator>jdugandzic</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-05T14:46:10</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23548">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#23548</link>
		<description>I am trying to add some additional debugging info to my cferror pages.  I need to see the sql statement that caused an error.  Macromedia's docs say that 'In exception error handling pages, you can access the error variables that are also available to the cfcatch tag. See cfcatch for a description of these variables. To use these variables, prefix them with &quot;cferror.&quot; '&lt;br /&gt;&lt;br /&gt;This works in theory, but not for real.  If I use #cferror.sql# , the error-handling page bombs out and reverts back to the original sql error and doesn't actually process my error handling.  Has anyone had experience with this?  Has anyone ever been able to have their error handling page show the sql statement that caused the error?  This would help me greatly.  I have just about every other piece of information to help me debug except this one, and it's a big one!&lt;br /&gt;&lt;br /&gt;Thanks</description>
		<dc:creator>jdugandzic</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-11-05T14:24:11</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#22061">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#22061</link>
		<description>Use the error.template variable.</description>
		<dc:creator>murat</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-10-07T02:41:13</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#21198">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#21198</link>
		<description>Typo: &quot;sever-side type validation&quot; should be server...</description>
		<dc:creator>parrot person</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-09-10T08:03:56</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#15403">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#15403</link>
		<description>Typo?:  error.messge</description>
		<dc:creator>profit11</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-05-25T16:21:20</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#11865">
		<title>coldfusion/6.1/htmldocs/tags-p24.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-p24.htm#11865</link>
		<description>We are working to improve the examples in the ColdFusion reference pages. We propose to replace the current example on this page with the the following example. If you have any comments on this example, add them to this page.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;cferror Example&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;cferror lets you display custom HTML pages when errors occur. This lets youmaintain a consistent look and feel within the application even whenerrors occur. No CFML can be displayed in the pages, except specializederror variables.&lt;br /&gt;&lt;p&gt;cftry/cfcatch is a more interactive way to handle CF errors within a CF pagethan cferror, but cferror is a good safeguard against general errors.&lt;br /&gt;&lt;p&gt;You can also use cferror within Application.cfm to specify error handling responsibilities for an entire application.&lt;br /&gt;&lt;!--- Example of cferror call within a page ---&gt;&lt;br /&gt;&lt;cferror type = &quot;REQUEST&quot;&lt;br /&gt;    template = &quot;request_err.cfm&quot;&lt;br /&gt;    mailTo = &quot;admin@mywebsite.com&quot;&gt;&lt;br /&gt;&lt;!--- This query calls a non-existant datasource, triggering an error to be handled---&gt;&lt;br /&gt;&lt;cfquery name=&quot;testQuery&quot; datasource=&quot;doesNotExist&quot;&gt;&lt;br /&gt;	select * from nothing&lt;br /&gt;&lt;/cfquery&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--- Example of the page to handle this error ---&gt;&lt;br /&gt;&lt;html&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;   &lt;title&gt;We're sorry -- An Error Occurred&lt;/title&gt;&lt;br /&gt;&lt;/head&gt;   &lt;br /&gt;&lt;body&gt;&lt;br /&gt;   &lt;h2&gt;We're sorry -- An Error Occurred&lt;/h2&gt;&lt;br /&gt;   &lt;p&gt;&lt;br /&gt;      If you continue to have this problem, please contact #error.mailTo#&lt;br /&gt;      with the following information:&lt;/p&gt;&lt;br /&gt;   &lt;p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;   &lt;li&gt;&lt;b&gt;Your Location:&lt;/b&gt; #error.remoteAddress#&lt;br /&gt;   &lt;li&gt;&lt;b&gt;Your Browser:&lt;/b&gt; #error.browser#&lt;br /&gt;   &lt;li&gt;&lt;b&gt;Date and Time the Error Occurred:&lt;/b&gt; #error.dateTime#&lt;br /&gt;   &lt;li&gt;&lt;b&gt;Page You Came From:&lt;/b&gt; #error.HTTPReferer#&lt;br /&gt;   &lt;li&gt;&lt;b&gt;Message Content&lt;/b&gt;:&lt;br /&gt;    &lt;p&gt;#error.diagnostics#&lt;/p&gt;&lt;br /&gt;&lt;/ul&gt;</description>
		<dc:creator>wlee</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-03-26T08:32:38</dc:date>
	</item>
	</rdf:RDF>

