"Call to member function" errors

robinbowes

Joined: 2002-09-20
Posts: 99
Posted: Sat, 2004-08-21 11:55

Hi,

I'm running the latest version of Gallery from CVS (as of 12:30 BAT on 21/08/04).

I'm seeing the following problems.

When trying to delete an album:
Fatal error: Call to a member function on a non-object in /var/www/robinbowes.com/gallery/main-CVS/delete_photo.php on line 28

When trying to sort the photos in the same album:
Error: no album specified

When trying to change the owner of a photo in the same album:
Fatal error: Call to a member function on a non-object in /var/www/robinbowes.com/gallery/main-CVS/photo_owner.php on line 42

Any ideas what might be causing this?

R.
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://robinbowes.com/gallery
Gallery version: v1.4.5-cvs-b124
Apache version: 2.0.50
PHP version (don't just say PHP 4, please): 4.3.8
Graphics Toolkit: netpbm
Operating system: Fedora Core 2
Web browser/version (if applicable): IE6