<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bennylee</author_name>
  <author_url>https://blog.hatena.ne.jp/bennylee/</author_url>
  <blog_title>benny毎日ラボ</blog_title>
  <blog_url>https://bennylee.hatenadiary.org/</blog_url>
  <categories>
    <anon>cakephp</anon>
  </categories>
  <description>Configure::write('debug', 0);に設定すると、エラーとかが全く出力しなくなるので、ちょっと困った場合があります。 本番にファイルをアップしたら、いざ画面が真っ白になったり、原因不明で設定したシステムエラーページに飛んだりすると、本当にドキドキします。しかも、意図的に投げたエラーだったら、まだカスタマログから調べられますが、普通のwaningとかphpエラーだったら、サーバー上PHPが吐き出したエラーログしか調べられません。 そこで、debug=0の際にカスタマエラーハンドリングを設定してみました。 Step1 /app/custom_error_handler.php…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbennylee.hatenadiary.org%2Fentry%2F20100427%2F1272368893&quot; title=&quot;CakePHPでdebug=0の際にset_error_handler - benny毎日ラボ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-04-27 20:48:13</published>
  <title>CakePHPでdebug=0の際にset_error_handler</title>
  <type>rich</type>
  <url>https://bennylee.hatenadiary.org/entry/20100427/1272368893</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
