Opened 18 years ago
Last modified 17 years ago
#72 new defect
return value/error check audit
Reported by: | dmorton | Owned by: | rjl |
---|---|---|---|
Priority: | high | Milestone: | 1.1.0 |
Component: | PHP scripts | Version: | |
Severity: | major | Keywords: | |
Cc: |
Description
We need to do an audit and check all mysql calls for return values and display an appropriate error page on error, and report the more usefull part of the error in log files or email.
Change History (3)
comment:1 Changed 18 years ago by rjl
comment:2 Changed 18 years ago by rjl
Er, make that 32, sorry :)
comment:3 Changed 17 years ago by dmorton
- Milestone changed from 1.0.0 to 1.1.0
Note: See
TracTickets for help on using
tickets.
Bear 17 in mind as well. Centralize query execution, e.g. with a maia_db_query() function rather than calling PEAR::DB methods directly. This provides a clean mechanism for logging taps as well as checks for connection failures and handling failover.