Erik Geurts
Forum Replies Created
-
I do not know how to fix that, it may even be that we are talking about 2 completely unrelated issues.
I fixed my issue by downloading the latest stable from http://downloads.wordpress.org/plugin/nextgen-gallery.latest-stable.zip and then uploading it over ftp. It seems that the auto-update process from within the WordPress admin UI either downloaded an incorrect zip file or made some other error while applying the update.
When I browse the code on SVN for http://plugins.svn.wordpress.org/nextgen-gallery/tags/2.0.66.17/products/photocrati_nextgen/modules/nextgen_pagination/module.nextgen_pagination.php then it looks different from the file that’s included in the zipped downloadable v2.0.66.17 (I mean the one that is pushed when I auto-update from the WordPress admin UI).
These are all caused by 500 Internal Server Error and therefore the page you see in the browser comes back as a blank.
There appears to be a coding error in the \products\photocrati_nextgen\modules\nextgen_pagination\module.nextgen_pagination.php on line 31.
It looks like there is a whole chunk of code missing. I removed everything after line 30 for the time being and most of the sites we host now work again.
However, as a result, I also see errors in the Apache error log like:
[Sat Aug 09 11:12:49 2014] [error] [client 94.212.64.xxx] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/www/virtual/www.domain.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/widget/module.widget.php on line 39I guess this is because module.widget.php is trying to reference the code that I removed from that other file.