Skip to content

Instantly share code, notes, and snippets.

@reactormade
Created March 18, 2013 11:53
Show Gist options
  • Save reactormade/5186678 to your computer and use it in GitHub Desktop.
Save reactormade/5186678 to your computer and use it in GitHub Desktop.
<?php
//If you just see a blank page instead of an error reporting and you have no server access so you can't edit php configuration files like php.ini try this:
// create a new file in which you include the faulty script:
error_reporting(E_ALL);
ini_set("display_errors", 1);
include("file_with_errors.php");
// execute this file instead of the faulty script file
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment