Entry

tip: force php error display

Alot of web host turn off error reporting. and you’ll beat your head turning to turn them back on.
here’s what worked for me - from the comments @ the php manual online
< ?ini_set('display_errors','1');
ini_set('display_startup_errors','1');
error_reporting (E_ALL);?>
then include what file you want to test.

Share and Enjoy:

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

Alot of web host turn off error reporting. and you’ll beat your head turning to turn them back on.

here’s what worked for me - from the comments @ the php manual online

< ?ini_set('display_errors','1');
ini_set('display_startup_errors','1');
error_reporting (E_ALL);?>

then include what file you want to test.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google
  • Technorati
  • Slashdot
  • LinkedIn
  • E-mail this story to a friend!

One Comment

  1. November 17, 2008 at 6:16 am | Permalink

    I always forget how to do this. Many thanks.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*