Header Shadow Image


Empty pages after installing WP Super Cache and HTML Minifi

After enabling the wordpress WP Super Cache and the HTML Minifi plugin for the WP Super Cache plugin (That's right, a plugin for a plugin) I get empty pages on /localhost/wp/ (Or http://www.microdevsys.com/wp/) which obviously isn't so good for the readers.  So i download the plugin to my local server LAMP installation and test it there.  Thankfully I get the same results.  (Thankfully because otherwise I'd have a very difficult time debugging this thing through my web host who has limited access.)

/var/log/httpd/error_log
[Fri Nov 30 20:52:13 2012] [warn] Cannot get media type from 'x-mapp-php5'
[Fri Nov 30 20:52:13 2012] [error] [client ::1] PHP Warning:  require_once(/var/www/html/wp/wp-content/plugins/wp-super-cache/plugins/min/lib/Minify/HTML.php): failed to open stream: No such file or directory in /var/www/html/wp/wp-content/plugins/wp-super-cache/plugins/WPSCMin.php on line 125, referer: http://localhost/wp/wp-admin/options-general.php?page=wpsupercache&tab=plugins
[Fri Nov 30 20:52:13 2012] [error] [client ::1] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/wp/wp-content/plugins/wp-super-cache/plugins/min/lib/Minify/HTML.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/wp/wp-content/plugins/wp-super-cache/plugins/WPSCMin.php on line 125, referer: http://localhost/wp/wp-admin/options-general.php?page=wpsupercache&tab=plugins
[Fri Nov 30 20:52:13 2012] [error] [client ::1] PHP Fatal error:  Call to a member function get() on a non-object in /var/www/html/wp/wp-includes/cache.php on line 113, referer: http://localhost/wp/wp-admin/options-general.php?page=wpsupercache&tab=plugins
 

And in my /var/log/messages, this one:
localhost – - [30/Nov/2012:20:54:48 -0500] "GET /wp/ HTTP/1.1" 500 – "http://localhost/wp/wp-admin/options-general.php?page=wpsupercache&tab=plugins" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.26) Gecko/20120216 Red Hat/3.6.26-1.el6_2 Firefox/3.6.26 AlexaToolbar/alxf-2.17"
 

The first thing we check is of course that the file exists:

which it doesn't.  So we know that the error isn't anything else however the question now is why is it looking for THAT file when the WPSCMin-0.5.zip doesn't have that file:

# unzip WPSCMin-0.5.zip
Archive:  WPSCMin-0.5.zip
   creating: WPSCMin/
  inflating: WPSCMin/WPSCMin-changelog.txt  
  inflating: WPSCMin/WPSCMin.php     
#

Sure enough, no HTML.php as the plugin required unfortunately so the only option I had is to disable WPSCMin for the time being and remove it.

Cheers,
TK

One Response to “Empty pages after installing WP Super Cache and HTML Minifi”

  1. http://code.google.com/p/minify/downloads/detail?name=minify-2.1.5.zip&can=2&q=

Leave a Reply

 

     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License