Tips on how to debug Media Manager

Media Manager is a very complicated plugin. I say that not to pat myself on the back, but to acknowledge the difficulty of troubleshooting people's problems, and the ability for people to diagnose their own problem. To help me in my development efforts I create a "debug mode" for Media Manager that can turned on by editing MT_HOME/plugins/MediaManager/lib/MT/Plugins/MediaManager/App.pm. If you look for a line that looks like:

$DEBUG = 0;

And change it to:

$DEBUG = 1;

Then next you make a request to Media Manager, a ton of status and debugging information will be output to STDERR, which in most cases means your web server's error log. It is very handy and may often point you in the right direction if things are not working for you.

Obviously, you should never have to resort to this, but just in case, it is there.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About Majordojo

"Majordojo" is the name under which Byrne Reese releases the software he writes. Byrne Reese is a father, a product engineer, an open source hacker and an employee of Six Apart.

 Subscribe to this site's feed

View Byrne Reese's profile on LinkedIn

Recent Comments