I have galley embedded in phpBB2 and when I take an action with a pull down menu like "reorder" I get:
Fatal error: Call to a member function on a non-object in /home/xxx.www/public_html/phpBB2/modules/gallery/move_photo.php on line 37
move_photo.php
35 $albumDB = new AlbumDB(FALSE); // read album database
36
37 if ($gallery->album->isAlbum($index)) {
38 $title = !empty($reorder) ? _("Reorder Album") : _("Move Album");
39 } else {
40 $title = !empty($reorder) ? _("Reorder Photo") : _("Move Photo");
41 }
When I access the gallery directly, move and reorder work fine.
Gallery 1.5
phpBB 2.0.13
PHP Version 4.1.2
Apache/1.3.26 (Unix) Debian GNU/Linux
Gallery v1.4.4-pl6 ran fine.
Upgrade method: Make new folder upload 1.5 move .htaccess, config, and album. Delete 1.4.4 rename new folder gallery. Delete modules.php upload new file. Run wizard and upgrade. So i don't think it's old fine syndrome. Same code runs fine on local server, php 4.3.10