-
The Previous Posting
« We Hate Spam, So Here’s... -
The Next Posting
PNRPsvc Failed To Start,... »
Having Strange Errors Utilizing Gzip in Wordpress 2.9 and 2.9.1?
Fortunately your not alone. A recent bug fix was just released which addresses an error which is received while updating the Wordpress core, as well as Wordpress plugins. This error typically effects http.php, located at wp-includes/http.php, and looks similar to the code listed below.
1
PHP Warning: gzuncompress() [<a href='function.gzuncompress'>function.gzuncompress</a>]: data error in /home/domain/public_html/blog/wp-includes/http.php on line 1824
We haven’t actually run into the issue on our servers after enabling Gzip in Wordpress. But a few of our users have. As of 1/10/2010 the bug fix is as follows. Simply save the attached file, open it using you’re favorite text editor, then copy and paste it to your http.php file. Always remember to save Wordpress files in a UTF-8 format, and set your FTP program of choice to Binary mode. These simple steps will ensure your servers file integrity.
We’ve tested this patch using 3 different themes, as well as two different hosting providers. Replacing the file prior to an update from 2.9 to 2.9.1, with Gzip already enabled, you should receive no errors. This bug fix will be included in upcoming releases of Wordpress, ie. 2.9.2 and on. So please keep this in mind.
Additionally, the original code can be found from Wordpress Trac here.
Tell us if this article was helpful, let us know what you think by leaving a comment below. Happy computing.
You my friend are a life saver. I kept getting these funny pink error messages on my posts when I left them open. Then when I updated I saw that same message. I already had 2.9.1 so I reinstalled with the updated script and BO YAAA. No Errors!!!!!!!!!! Thanks bro...