Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Couple of possible solutions, answering because the comments section was getting angry at me.</p> <p>Edit #3 with solution:</p> <p><strong>Apparently E_ERROR and display_errors don't play nicely together</strong></p> <p>You could set error_reporting to E_ALL &amp; ~E_ERROR, and just let your shutdown handler handle the fatal (since it is the last thing that should be called anyhow). </p> <p>Additionally, <code>E_ALL</code> does not encompass <code>E_DEPRECATED</code> prior to PHP 5.4.0, so if you want to catch that too - use <code>~0 &amp; ~E_ERROR</code></p> <hr> <p><strong>display_errors may be bugged</strong></p> <p>Here's a gist on how you can get it to spit out errors even though you told it not to: <a href="https://gist.github.com/1483028" rel="nofollow">https://gist.github.com/1483028</a></p> <p><strong>If you set display_errors to 0 via ini_set() it will still display Fatal Errors</strong></p> <blockquote> <p>Although display_errors may be set at runtime (with ini_set()), it won't have any affect if the script has fatal errors. This is because the desired runtime action does not get executed. </p> </blockquote> <p>Additionally you can send it to stderr as well, so that's awesome.</p> <p><a href="http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors" rel="nofollow">http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors</a></p> <p>Edit 2: <strong>Make sure you've changed the proper php.ini</strong></p> <p>Just thought of this, and commented as such, but there is more than one php.ini file. If you're doing this on the command line, you'll need to edit the cli one (/etc/php5/cli/php.ini on Ubuntu), and not the web one (/etc/php5/apache2/php.ini)</p> <p>I'd guess you just need to set php.ini to have display_errors 0.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload