Fatal error: Call to a member function...

rurumm

Joined: 2002-09-25
Posts: 3
Posted: Wed, 2002-09-25 16:03

I installed Gallery 1.3.1 two days ago and get the following error message, when an anonymous user (not logged in) tries to view the images in full size:

Fatal error: Call to a member function on a non-object in gallery/classes/User.php on line 90

clicking on the large picture shows the full image without problem and if you are logged in as a normal user / admin the full view mode works just fine.

Does anyone know what might cause this problem?

Thaks,
Ronald

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Thu, 2002-09-26 05:56

Please post the URL to your Gallery so that we can see this behaviour happening.

 
rurumm

Joined: 2002-09-25
Posts: 3
Posted: Thu, 2002-09-26 09:41

go to http://www.amg-owners-club.com
-> English
-> Shots
-> Catalog

no matter which picture you choose, once you click 'full' you will get the error message.

Thanks,
Ronald

 
rurumm

Joined: 2002-09-25
Posts: 3
Posted: Fri, 2002-09-27 15:39

so far, I could ony reproduce the error on machines running Windows XP with Internet Explorer 6 SP 1.

Hope this helps,
Ronald

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Sat, 2002-09-28 02:33

Ah, I see what's happening. This is a bug in the "normal/full" preference code. We probably won't fix it -- I'd suggest that you turn off this preference in the album properties. It's causing you issues because you don't actually have an intermediate resized version of your images (so the preference isn't going to help you, anyway).

 
rogersi

Joined: 2002-10-01
Posts: 2
Posted: Tue, 2002-10-01 14:57

I get the same problem except that it happens to all galleries all the time.

When I'm logged in as admin the error changes to:

Fatal error: Call to a member function on a non-object in /home/sites/site5/web/gallery/view_album.php on line 38

This happened when I upgraded Apache to 1.3.26 in response to a security alert - all four galleries on the server stopped working.

I've since upgraded PHP to 4.2.2 and two of the galleries from v1.3.1-cvs-b13 to v1.3.1 but get the same result.

Is there any more system info or debugging output I can give you to help fix this?

Regards,

Ian.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7985
Posted: Wed, 2002-10-02 18:01

Did you try turning off the normal/full preference?