Plugin stopped working after upgrade
-
WordPress 4.1
NextGen Gallery 2.0.66.37
Linux hosted.After upgrade images and thumbs didn’t show up.
I had to modify: wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_gallerystorage_driver.php because the url came with the ‘/’ stripped. I modified lines 188-191:It was:
$request_uri = str_replace($doc_root, ”, $abspath);I changed to:
$request_uri = $abspath;
if ($doc_root != DIRECTORY_SEPARATOR) {
$request_uri = str_replace($doc_root, ”, $abspath);
}because $doc_root is equal to ‘/’ so it is stripped.
This is the first problem and it is now (somehow) fixed.
THEN:
– the gallery are no more browsable clicking an image send to the image itself (the url is the jpg, no javascript handles the request)
– The “Gallery Settings” and “Other Options” of the Admin are not working (they came out with the central part of the page blank) so it is impossible to fix the issues.What suggestions do you have?
- The topic ‘Plugin stopped working after upgrade’ is closed to new replies.