Solved

Fatal errors not showing to screen

Posted on 2006-11-29
2
218 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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.

912 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now