Most useful comment ever: getting Media Manager to work on IIS

A big shout out to "pmppk" for one of the most useful comments on the Media Manager blog thus far. He (or she) may very well have solved one of the big problems Media Manager users have on Microsoft's IIS web server...

IIS on Windows does not support STDERR, so when the plugin tries to output debug messages to the error log windows outputs them to STDOUT instead. These messgaes precede the HTTP headers generated by the plugins, causing IIS to think the CGI did not provide any headers at all.

The way to fix this problem is to edit ALL of the .pm files in ./plugins/MediaManager/lib/MediaManager and make sure to set $DEBUG = 0;

Thank you!

Comments

No problem Byrne... thanks for the great plugin and the shoutout. Pete

Oh, and on a related note... MTAmazon32 has the same quirk, generating 'mt.cgi produced no output' errors when attempting to rebuild a page with MTAmazon tags or view the blog plugin settings under IIS.

The same fix as above applies here as well.

This was helpful. I was running into this error: "CGI application misbehaved by not returning a complete set of HTTP headers." The above solved that issue.

However, I know receive the following error:

"An error occurred: Can't open schema file '\schemas\mysql.dump': No such file or directory at E:\Webspace\resadmin\literaturealiveonlin\literaturealiveonline.com\www\cgi-bin\mt3\plugins\MediaManager\lib/MediaManager/Install.pm line 101."

I double checked, and the "schemas" directory does exist in the MediaManager directory.

Please help.

Thanks Byrne for getting back to me. I'm just not sure how to manually edit the Install.pm to my own path where schema is. Is it possible to direct me to comment with instructions or give me the instructions here?

Thanks again.

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