After updating to 3.0 Alpha, I get an error when clicking on any of the images in my exisiting galleries...

Fatal error: Call to undefined function node_gallery_get_image_parent_gallery_config() in /sites/all/modules/node_gallery/contrib/node_gallery_lightbox2/node_gallery_lightbox2.module on line 82

Comments

justintime’s picture

Category: bug » support
Status: Active » Fixed

You didn't remove NG2's files before you uploaded NG3's. From http://drupal.org/node/250790:

Delete the outdated module's files and upload the new ones as if you were installing the module for the first time.

If you remove the entire 'node_gallery' directory in your modules directory, then re-extract NG3, you should be okay.

The node_gallery_lightbox2 module is no longer needed for NG3, and therefore is no longer shipped with the module.

justintime’s picture

Just a note that I've added code to dev that detects this, and alerts on the admin/reports/status page.

pixelsweatshop’s picture

Thank-you. Sorry I was using the plugin manager, which just overwrites. I should have read into this better.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Infinitee’s picture

In your phpMyAdmin, under the "System" table... you need to turn off node_gallery/contrib/DELETED-node_gallery_lightbox2/node_gallery_lightbox2.module

Set to: "0" (zero).