My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
PHPErrorReporting  
Avoiding blank PHP pages.
Phase-QA, Phase-Design
Updated Dec 14, 2009 by Mattmoon9@gmail.com

Introduction

The code below will help you avoid blank PHP pages if there is an error on your page. These lines are necessary to display errors on the OneEach server. If you are having problems with a query, see MySQLErrorReporting

Details

Insert the following code at the start of the PHP section.

<?php

error_reporting(E_ALL);

ini_set ('display_errors', '1');

{... code ...}

?>

We will probably want to remove these lines in the release version, but they can be very helpful during testing.

Powered by Google Project Hosting