﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
15044,apache_mod_loaded fails due to ob_get_clean behavior on some servers,hamfastgamgee,,"On some servers, including Wordpress installs hosted by Green Geeks (PHP 5.2.9: see http://www.greengeeks.com/phpinfo.php), apache_mod_loaded will actually fail in such a way that pages will cease to render, which affects both the Permalinks page and the Media uploader if running on a Mac.  (There are possibly other side effects that I am unaware of, but these are the two major side effects I've seen.)

The problem appears to be localized around the use of ob_get_clean in the definition of apache_mod_loaded in the branch that has to parse phpinfo.  Replacing ob_get_clean with ob_get_contents and ob_end_clean fixes the problem entirely on the site I'm currently working on.  I realize ob_get_clean is supposed to be equivalent to ob_get_contents + ob_end_clean, but in this case at least, it seems to be significant.  I don't know why this is the case, but since it seems to be fixed and I have seen a number of support forum topics regarding the Media upload form with a Mac that suggested just commenting out the code that uses apache_mod_loaded to test for Mac + mod_security, I strongly suggest making this minor edit for the good of all users.",defect (bug),closed,normal,,General,3.0.1,major,worksforme,,
