[wp-trac] [WordPress Trac] #11151: Common White Screen of Death in wpdb
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 12 12:52:35 UTC 2010
#11151: Common White Screen of Death in wpdb
--------------------------+-------------------------------------------------
Reporter: nutsmuggler | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.1
Component: Database | Version: 2.8.5
Severity: major | Resolution:
Keywords: needs-patch |
--------------------------+-------------------------------------------------
Comment(by miqrogroove):
XMB had this same problem a couple years ago. The authors had error-
controlled all of the MySQL function calls because they didn't know how to
make them behave in a useful manner in debug mode. It had to be PHP 4
compatible, so all I did was wrap each function with a custom error
handler. In this case it only writes to the system log and throws a
generic 500 message, but that part is easily customized.
http://svn.xmbforum.com/wsvn/XMB/xmb19x/trunk/source/db/mysql.php
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11151#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list