I've set up gallery 1.3.1 just fine but one problem remains. I cannot view any photos I uploaded. I can move them around, delete them and everything, but clicking on a photo does nothing! Just a refresh. I figured out that in view_photo.php the getPhotoIndex function returns -1 every time. But why? Any ideas where to look? Uploading and managing of photos and albums work fine.
I'm using Apache 1.3.26 and PHP 4.2.x.
Thanks,
Arne
PS: Web-forums suck. Mailing-lists are better. :smile:
Posts: 4
I now figured out that $id contains complete garbage. Where does this variable get its value from, anyway?
Posts: 4
Ok, I now also figured out how view_photo.php is being called. But I still do not get why $id contains garbage. This does not make any sense...
Posts: 4
Solved! Just put a
$id=$HTTP_GET_VARS['id'];
in view_photo.php and everything is set for go...
Whew...
Posts: 7994
That's odd. My guess is that you have another application on your website that is setting a cookie for the "id" variable. Is that the case? What's the URL to your site?