Jump to content

Error reporting not workign


EchoFool

Recommended Posts

Okay - on my 8th line i have this:

 

<?php
require_once("connect.php");
require_once("functions.php");        
session_start();
ini_set('display_errors',0);
error_reporting(E_ALL);
//the rest  unrelated
?>

 

Yet when i make an error i still get blank white pages with nothing to help me know what the problem is. Did i put the error reporting incorrectly? I tried it on line 1 and 2 - still nothing changed.

Link to comment
https://forums.phpfreaks.com/topic/184122-error-reporting-not-workign/
Share on other sites

i did thats what gave me the white blank page in the first place xD

how are you sure?  when you remove that line, the page shows fine?

 

When i removed the line it was still blank - but having the line was meant to stop the blank from occuring by showing errors.  As you see in first post i had the lin which displays everything but it didn't :(

 

Works now though since i put 1 instead of 0

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.