Opened 13 years ago

Last modified 12 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 13 years ago by rjl

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.

comment:2 Changed 13 years ago by rjl

Er, make that 32, sorry :)

comment:3 Changed 12 years ago by dmorton

  • Milestone changed from 1.0.0 to 1.1.0
Note: See TracTickets for help on using tickets.