Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 11th, 2003, 06:40 PM
olliemaitland olliemaitland is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 3 olliemaitland User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Excellent!

Just a quick note to say what a brilliant article this is; light to read, full of information and well structured. The Error reporting article doesn't just serve as a good script but as an excellent tutorial for classes!

Reply With Quote
  #2  
Old March 19th, 2003, 07:09 AM
mickro's Avatar
mickro mickro is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Birmingham, UK
Posts: 56 mickro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 36 m 5 sec
Reputation Power: 8
Send a message via AIM to mickro
Note for PHP < 4.2.0

Just a quick note to point out that if you are using PHP < 4.2 you will need to replace:

'ob_clean();' // lines 112 & 127

with

'ob_end_clean();'
'ob_start();'

to make this work.

Otherwise very good article has helped me a lot

Mike
__________________
Mike
Digital Egg Limited

Reply With Quote
  #3  
Old May 27th, 2003, 11:54 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Building A Generic Error Reporting Class In PHP

Building A Generic Error Reporting Class In PHP

December 11, 2002 - The traditional method of building dynamic, PHP-based Web sites - mixing HTML elements with PHP code - can result in mangled Web pages (and much user angst) if errors take place during script execution. But yes, you can avoid the ugliness - plug in our handy error reporting class, which provides a simple way of trapping script errors and generating consistent, user-friendly error screens.

Please discuss this article in this thread. You can read the article here .

Reply With Quote
  #4  
Old May 28th, 2003, 10:35 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
If you would like to see an article covering a particular topic, please post your request here.

Reply With Quote
  #5  
Old June 8th, 2003, 04:20 PM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Name: olliemaitland
Subject: Excellent!
Date: 01-11-2003 16:40:27 MST
Just a quick note to say what a brilliant article this is; light to read, full of information and well structured. The Error reporting article doesn't just serve as a good script but as an excellent tutorial for classes!

Reply With Quote
  #6  
Old June 8th, 2003, 04:20 PM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Name: mickro
Subject: Note for PHP < 4.2.0
Date: 03-19-2003 05:09:00 MST
Just a quick note to point out that if you are using PHP < 4.2 you will need to replace:

ob_clean(); // lines 112 & 127

with

ob_end_clean(); ob_start();

to make this work.

Otherwise very good article has helped me a lot

Mike

Reply With Quote
  #7  
Old August 21st, 2003, 08:55 PM
monk-i's Avatar
monk-i monk-i is offline
Genetically Engineered
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Long Haired Lover From Newcastle
Posts: 123 monk-i User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 8 m 17 sec
Reputation Power: 6
Fatal error: Call to undefined function: numerrors() in g:\www\beta\error_form_tester_temp.php on line 54


I keep getting this error on the non fatal errors template when I use the form tester page provided. I cant see where numErrors() refers to in the script as there doesnt seem to be a function defined for numErrors in the error reporter class. Any help please?
__________________
---- Evolutionary ----

Give me a brush and i'll paint you a painting...

Give me photoshop and now we're talking!!!

Reply With Quote
  #8  
Old July 11th, 2004, 11:23 AM
Bacteria Man Bacteria Man is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 2 Bacteria Man User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 47 sec
Reputation Power: 0
Great article, but what about the source file?

The source file "errorReporter.zip" mentioned in the article can be found on the author's web site (URL) in the "Community" section.

Reply With Quote
  #9  
Old September 12th, 2004, 11:04 AM
jajonestyler jajonestyler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 2 jajonestyler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Kudos

This is a great article, explaining many of the basic 'error reporting' aspects as the class is built (which is refreshing compared to how many authors write tutorials).

This got me off to a great start for constructing my own class.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Building A Generic Error Reporting Class In PHP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT