deltakid
Member
Posted 16 years ago #
I understand the changes to wordpress and that it suppresses Mysql errors now. But I develop some plugins and this is annoying.
As written here http://codex.wordpress.org/Editing_wp-config.php#Debug setting define('WP_DEBUG', true); in the wp-config.php does not work.
Can anyone tell me how I can see mysql errors in the latest wpmu version?
wouldn't these show up in the server logs deltakid?
deltakid
Member
Posted 16 years ago #
Good idea Suleiman, never messed with server logs so far. But isn't there a way to enable it for wpmu? This can really slow down the work on custom plugins and such.
I came across this here and it works:
<?php $wpdb->show_errors(); ?>
<?php $wpdb->hide_errors(); ?>
I mean no offense but this is discussed at some length in the readme file under the heading of Error Logging.