<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Writing a custom error handler</title>
	<atom:link href="http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Sat, 13 Mar 2010 15:19:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-119094</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Sat, 31 Jan 2009 15:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-119094</guid>
		<description>@Carlos: Thanks for the hint! I modified the article so it now works with CakePHP 1.2, too. With those changes, the error should disappear. Good luck!</description>
		<content:encoded><![CDATA[<p>@Carlos: Thanks for the hint! I modified the article so it now works with CakePHP 1.2, too. With those changes, the error should disappear. Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-119087</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Sat, 31 Jan 2009 12:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-119087</guid>
		<description>Does anyone has problems with the code? i&#039;m getting a error on:
            $this-&gt;__dispatch-&gt;start($this-&gt;controller);</description>
		<content:encoded><![CDATA[<p>Does anyone has problems with the code? i&#8217;m getting a error on:<br />
            $this-&gt;__dispatch-&gt;start($this-&gt;controller);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-105621</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Sat, 06 Sep 2008 15:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-105621</guid>
		<description>@handsofaten: What happens if you comment out those calls to the Html helper? My guess is that the Html helper doesn&#039;t get loaded and that this causes the blank page.

Btw: Which version of cake do you use?</description>
		<content:encoded><![CDATA[<p>@handsofaten: What happens if you comment out those calls to the Html helper? My guess is that the Html helper doesn&#8217;t get loaded and that this causes the blank page.</p>
<p>Btw: Which version of cake do you use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: handsofaten</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-105319</link>
		<dc:creator>handsofaten</dc:creator>
		<pubDate>Thu, 04 Sep 2008 17:56:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-105319</guid>
		<description>typical header stuff:

echo $html-&gt;charset();
echo $html-&gt;meta(&#039;icon&#039;);

echo $html-&gt;css(&#039;bluestar&#039;);
echo $html-&gt;css(&#039;lightbox&#039;);

echo $scripts_for_layout;</description>
		<content:encoded><![CDATA[<p>typical header stuff:</p>
<p>echo $html-&gt;charset();<br />
echo $html-&gt;meta(&#8216;icon&#8217;);</p>
<p>echo $html-&gt;css(&#8216;bluestar&#8217;);<br />
echo $html-&gt;css(&#8216;lightbox&#8217;);</p>
<p>echo $scripts_for_layout;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-105303</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Thu, 04 Sep 2008 16:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-105303</guid>
		<description>@handsofaten: What follows after the closed title tag in your layout?</description>
		<content:encoded><![CDATA[<p>@handsofaten: What follows after the closed title tag in your layout?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: handsofaten</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-105108</link>
		<dc:creator>handsofaten</dc:creator>
		<pubDate>Wed, 03 Sep 2008 02:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-105108</guid>
		<description>Thanks for the reply, baker. No, $content_for_layout is there. It prints $title_for_layout as &quot;Errors&quot;, closes the title tag, and then stops. All I really want is a simple 404 message.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply, baker. No, $content_for_layout is there. It prints $title_for_layout as &#8220;Errors&#8221;, closes the title tag, and then stops. All I really want is a simple 404 message.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-103524</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 18 Aug 2008 15:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-103524</guid>
		<description>@handsofaten: Hm, it is strange that you get blank pages. Theoretically, you should get a &quot;Not found&quot; error message. Did you remove $content_for_layout from the default layout?</description>
		<content:encoded><![CDATA[<p>@handsofaten: Hm, it is strange that you get blank pages. Theoretically, you should get a &#8220;Not found&#8221; error message. Did you remove $content_for_layout from the default layout?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: handsofaten</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-102998</link>
		<dc:creator>handsofaten</dc:creator>
		<pubDate>Sat, 16 Aug 2008 00:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-102998</guid>
		<description>Quick question related to this... when I set debug to 0 (in CakePHP 1.2 RC2), all malformed urls show up as blank pages with the title &quot;Errors&quot; -- how can I just get a 404 message to appear? I tried putting &quot;error404.thtml&quot; into the app/views/errors folder, but that didn&#039;t seem to do anything.

thanks.</description>
		<content:encoded><![CDATA[<p>Quick question related to this&#8230; when I set debug to 0 (in CakePHP 1.2 RC2), all malformed urls show up as blank pages with the title &#8220;Errors&#8221; &#8212; how can I just get a 404 message to appear? I tried putting &#8220;error404.thtml&#8221; into the app/views/errors folder, but that didn&#8217;t seem to do anything.</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-100413</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Fri, 25 Jul 2008 14:57:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-100413</guid>
		<description>@dezpo: No, the ErrorHandler resp. AppError class is only thought for handling cake-specific error situations like missing view, missing controller, etc. For handling PHP errors have a look at the &lt;a href=&quot;http://php.net/manual/en/ref.errorfunc.php&quot; rel=&quot;nofollow&quot;&gt;error handling functions&lt;/a&gt; of PHP.

Hope that helps!</description>
		<content:encoded><![CDATA[<p>@dezpo: No, the ErrorHandler resp. AppError class is only thought for handling cake-specific error situations like missing view, missing controller, etc. For handling PHP errors have a look at the <a href="http://php.net/manual/en/ref.errorfunc.php" rel="nofollow">error handling functions</a> of PHP.</p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dezpo</title>
		<link>http://cakebaker.42dh.com/2006/06/15/writing-a-custom-error-handler/comment-page-1/#comment-100394</link>
		<dc:creator>dezpo</dc:creator>
		<pubDate>Fri, 25 Jul 2008 11:29:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.cakebaker.42dh.com/?p=209#comment-100394</guid>
		<description>and is it possible to handle PHP errors and notices?</description>
		<content:encoded><![CDATA[<p>and is it possible to handle PHP errors and notices?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
