Solved

Fatal errors not showing to screen

Posted on 2006-11-29
2
219 Views
Last Modified: 2013-12-13
Hi, I'm developing on a system that the engineer has set so that fatal errors cause a white screen instead of showing the error code.  To retrieve the error I have to FTP get the error.log file which, as I'm sure you understand, is a HUGE pain in the butt.  I've tried setting error_level(E_ALL) on my pages to over ride this setting locally but it's not working.  Does anyone know of a way to get around this on a page by page basis?  The engineer won't budge on the settings for the server.

Thanks!

-mb
0
Comment
Question by:bakum
2 Comments
 
LVL 33

Accepted Solution

by:
snoyes_jw earned 250 total points
ID: 18039581
ini_set('show_errors', true);
0
 

Author Comment

by:bakum
ID: 18040463
Not quite, but you put me on the right path so full credit:

ini_set("display_errors","On");
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question