Login   Register  
PHP Classes
elePHPant
Icontem

ErrorHandler: enhanced customizable error handler implementation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2002-09-28 (12 years ago) RSS 2.0 feedStarStarStarStar 64%Total: 13,554 All time: 67 This week: 829Down
Version License Categories  
errorhandler 1.0BSD LicenseDebug, Utilities and Tools
Description Author  

This class is a powerful wrapper for PHP error-reporting features. It helps when developing new scripts and monitoring sites in production state, too.

It has several enhancements (previously known as report layouts):

* SOURCE = prints the source code fragment where the error encountered,

* CONTEXT = prints variable context around error source,

* SILENT mode = suppresses error-messages

* REPLACE page = displays an arbitrary HTML or PHP page in case of error (useful in production state),

* LOGGING = log errormessages wherever you want (multiple destination also allowed),

* Autodetecting Target Logging = log target can vary from file to file automatically

* CONSOLE window = error messages will be displayed in a separate browser window not to break up your pretty page design

* Error TRAPPING = catching errors for runtime generated codes


Each report can be enabled, disabled or changed at run-time.

Picture of Gyozo Papp
Name: Gyozo Papp <contact>
Classes: 2 packages by
Country: Hungary Hungary
Age: 38
All time rank: 1132 in Hungary Hungary
Week rank: 1555 Down19 in Hungary Hungary Down

  Files folder image Files  
File Role Description
Plain text file ErrorHandler.inc Class class implementation
Plain text file ErrorHandler.ini Conf. the configuration .ini file
HTML file manual.html Doc. instructions how to use ErrorHandler (1.3 version - OUTDATED)
HTML file onerror.html Appl. example for REPLACE page (static HTML)
Plain text file onerror.inc Appl. example for REPLACE page (dynamic)
Accessible without login Plain text file readme.1st Lic. licence and changelog
Plain text file reference.txt Doc. description about method usage (2.0 version)
Plain text file try.php Example simple script to test and manifest ErrorHandler

 Version Control Unique User Downloads Download Rankings  
 0%Total:13,554All time:67
 This week:0This week:829Down
 User Ratings  
 
 All time
Utility:84%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:66%StarStarStarStar
Examples:72%StarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:553