User galleries unavailable - cookie problem - phpBB User galleries unavailable - cookie problem - phpBB
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

User galleries unavailable - cookie problem - phpBB

Started by tripslip38, November 30, 2005, 07:29:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tripslip38

Well, I looked thru this category looking for a similar problem but could not find any mention. I hope this is an error on my part and not a bug, but:

I didn't notice at first because my personal phpBB user is an admin, so whenever I click over to the photo gallery, everything works great. One of my users pointed out today though that when you try to browse User Galleries, it says "There are no User Galleries" but it does aggregate the album and file totals. As a logged in phpBB admin user, I can view the User Galleries no problem.

I looked in the group settings, but no mention of view permissions. Am I missing something or is this a bug?

backcountrypilot.org
phpbb 2.0.18/CPG 1.4.2
test/test

Zane

tripslip38

This seems to have magically fixed itself, not sure why. Myself and another of my site users both experienced it.

tripslip38

I've had a few more users complain about this. I can no longer recreate the problem, but I suspect it has something to do with minor differences in the cookies from my old versions of phpBB and CPG. I've just been telling people to dump cookies, dump cache, and restart.

Is there any conditional that uses cookies when displaying the user galleries thumbnail page? For me this works fine as a guest/non-logged in user, but for some it's still displaying "There are no user galleries" while displaying the correct summary totals in the right hand column.

Z

Nibbler

The pagination is cookie based I believe. If you change your coppermine cookie name in config to something new then that will have the same effect as getting all your users to clear their cookies, that may help.

tripslip38

I changed my CPG cookie name in config, which had the result of generating the error for me. First try, user galleries come up, but when clicking on page 2 of the user galleries, the error happens and the No User Galleries message appears. Another click on User Galleries in the breadcrumb returns the same problem.

If CPG uses cookies for pagination, something is breaking on these pages.

www.backcountrypilot.org/gallery

user: test
pwd: test

phpBB 2.0.18 + CPG 1.4.2

Nibbler

That's because there shouldn't be a page 2 in the first place. Update to the latest udb_base.inc.php and phpbb2018.inc.php from CVS.

tripslip38

Nibbler,

Thanks, that seems to have fixed it (at least for ME, at this exact point in time.) Is there a way (besides upgrading to nightly snapshots and hovering over the forum) of tracking fixes like this that go in to CVS?

Also, what was the reason for doing away with pagination in the user galleries?

Thanks for your help. No other product I've used has such excellent community/developer support.

Zane

Nibbler

We haven't done away with the pagination, you just have the number of albums to display on the page set to more than the number of user galleries you have, hence only 1 page of albums exists.