coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: tripslip38 on November 30, 2005, 07:29:34 AM

Title: User galleries unavailable - cookie problem - phpBB
Post by: tripslip38 on November 30, 2005, 07:29:34 AM
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
Title: Re: User galleries unavailable for viewing by Registered group - phpBB
Post by: tripslip38 on November 30, 2005, 07:34:35 AM
This seems to have magically fixed itself, not sure why. Myself and another of my site users both experienced it.
Title: Re: User galleries unavailable for viewing by Registered group - phpBB
Post by: tripslip38 on December 04, 2005, 01:32:57 AM
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
Title: Re: User galleries unavailable for viewing by Registered group - phpBB
Post by: Nibbler on December 04, 2005, 01:46:12 AM
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.
Title: Re: User galleries unavailable for viewing by Registered group - phpBB
Post by: tripslip38 on December 04, 2005, 03:46:33 AM
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
Title: Re: User galleries unavailable - cookie problem - phpBB
Post by: Nibbler on December 04, 2005, 03:54:43 AM
That's because there shouldn't be a page 2 in the first place. Update to the latest udb_base.inc.php (http://cvs.sourceforge.net/viewcvs.py/*checkout*/coppermine/stable/bridge/udb_base.inc.php) and phpbb2018.inc.php (http://cvs.sourceforge.net/viewcvs.py/*checkout*/coppermine/stable/bridge/phpbb2018.inc.php) from CVS.
Title: Re: User galleries unavailable - cookie problem - phpBB
Post by: tripslip38 on December 04, 2005, 04:15:46 AM
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
Title: Re: User galleries unavailable - cookie problem - phpBB
Post by: Nibbler on December 04, 2005, 06:24:06 PM
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.