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
Posts: 7985
Please post the URL to your Gallery so that we can see this behaviour happening.
Posts: 3
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
Posts: 3
so far, I could ony reproduce the error on machines running Windows XP with Internet Explorer 6 SP 1.
Hope this helps,
Ronald
Posts: 7985
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).
Posts: 2
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.
Posts: 7985
Did you try turning off the normal/full preference?