Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Fatal errors not showing to screen

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
bakum
Asked:
bakum
1 Solution
 
snoyes_jwCommented:
ini_set('show_errors', true);
0
 
bakumAuthor Commented:
Not quite, but you put me on the right path so full credit:

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

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now