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
Posted by: pmppk | October 30, 2005 1:07 AM
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.
Posted by: pmppk | November 2, 2005 5:07 AM
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.
Posted by: mollycase | November 24, 2005 1:45 PM
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.
Posted by: mollycase | November 25, 2005 8:41 AM