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 April 10th, 2002, 10:22 AM
peterg's Avatar
peterg peterg is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Alton,Hampshire,UK
Posts: 40 peterg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
I wish I'd known that earlier

>sigh<

I'm sure it's all in the PHP manual somewhere, and I do RTFM on a regular basis, but now I understand properly how error logging works :-) Thanks !

Reply With Quote
  #2  
Old June 28th, 2002, 03:02 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
This is pretty cool, but...

The fact that you cannot use a custom error handler for fatal errors is a serious drawback. I would be far more interested in catching errors and generating visitor-friendly error pages *if* it worked for fatal errors. But alas, I might as well just turn error displaying off and error logging on (in php.ini), and leave my visitors with a blank page. The whole idea of using a custom error handler for non-fatal errors is cool, but not very useful for most web apps.

Reply With Quote
  #3  
Old August 24th, 2002, 09:16 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
It IS possible to catch even Fatal Errors

look here:
http://www.webkreator.com/cms/view.php/1692.html

Reply With Quote
  #4  
Old May 7th, 2003, 10:53 PM
nhyde nhyde is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 2 nhyde User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
An Alternative to ErrorHandler

There's also a bit more "friendly" error handler (based on ErrorHandler) from http://mojavelinux.com. Find it in the Cooker section of their site.

I was unable to get ErrorHandler to run the way I wanted but found something pretty close in MojaveLinux's handler.

nhyde

Reply With Quote
  #5  
Old May 27th, 2003, 11:40 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Error Handling In PHP (part 2)

Error Handling In PHP \(part 2\)

The first part of this article demonstrated basic error handling in PHP, explaining the various error types and illustrating the process of building a custom error handler. But that's just the tip of the iceberg - this concluding part goes a step further, showing you to trigger your own errors, and log error messages to a file, database or email address. Read the full article .

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

Reply With Quote
  #6  
Old May 28th, 2003, 09:27 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
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Error Handling In PHP (part 2)


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway