Another 2.x update another issue…
-
Don’t get mi wrong, but I’ve been using Nextgen Gallery for years and since the release of 2.x things started to get messy. Every time I get an info on an update I know something will go wrong. This time (update to 2.0.57 and 2.0.58) things got really wrong.
1. on every page: function.strpos: Empty delimiter in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/fs/class.fs.php on line 304
Got rid of this one:
[ Moderator note: please wrap code in backticks or use the code button. Do not use blockquote. ]
// get rid of strpos problem after 2.0.57 update $ne_tmp = $this->get_document_root(); if ($ne_tmp !== ''): if (strpos($retval, $ne_tmp) !== 0) { $retval = DIRECTORY_SEPARATOR . trim($retval, "/\\"); } endif;2. on same gallery’s pages: function.strpos: Empty delimiter in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.ngglegacy_gallerystorage_driver.php on line 64
Now this is troublesome – even if I donwload that file and do the same trick as in 1 and upload it back things are still the same – I even get the same error within the same line! Weird.
3. When I try to creat new thumbnails in such corrupted gallery (those from 2) I get:
Warning: Division by zero in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 293 Warning: Division by zero in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 306 Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 436 Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 940 Warning: Division by zero in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/edit-thumbnail.php on line 42Oh come on! I have never had ANY problems with v1.x …
The topic ‘Another 2.x update another issue…’ is closed to new replies.