forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 permissions => Topic started by: CrestoneCreations on July 20, 2010, 09:51:27 am

Title: User can not upload to desired gallery
Post by: CrestoneCreations on July 20, 2010, 09:51:27 am
http://seawolfadventures.net/photoscpg/index.php - v1.5.6 (but problem happened in Beta version, too)
User listed as:
SeaWolfGuest
who has no restrictions as a user and is within group with no restrictions can not upload any images to
Category: 2010
Album: 2010 Guest Images
where the album is set to allow guest uploads.
When logged in as admin this is not a problem to upload images to this album.
Also, this user can post to the 2009 Guest Images album.

What is strange is that if an image is uploaded by SeaWolfGuest the 2010 option is available. The upload completes.  Hit "Continue" button.  Then the page where you enter title and description comes up (edit files) but the only choices now for album are for the 2009 - not 2010.  If the page changes are accepted (Apply Changes) then the photos are loaded into the 2009 album - BUT if the page is bypassed - eg, if I click the "Home" button instead, then the images load into the 2010 gallery (which was selected during upload).  So you see, the choice / ability to select the 2010 gallery is initially present, but then lost when the upload (flash) completes and the edit page comes up.

I have set the gallery into debug mode.

Thank you for any thoughts on this subject.
I am trying to promote the usefulness of this gallery for the client.

Regards,

Clyde


Title: Re: User can not upload to desired gallery
Post by: Αndré on July 20, 2010, 10:34:10 am
Please provide a test user & password.
Title: Re: User can not upload to desired gallery
Post by: CrestoneCreations on July 20, 2010, 05:47:45 pm
username: SeaWolfGuest
password:  easylogin123!

Thank you.
Title: Re: User can not upload to desired gallery
Post by: Αndré on July 21, 2010, 08:53:55 am
This seems to be a bug in editpics.php that I cannot reproduce in my testbed. Can you send me your phpMyAdmin login data? If so, I'll send you my contact details via PM.
Title: Re: User can not upload to desired gallery
Post by: CrestoneCreations on July 21, 2010, 09:00:49 am
Yes, please do and thank you.
Title: Re: User can not upload to desired gallery
Post by: CrestoneCreations on July 21, 2010, 11:57:29 pm
Info sent to you, thanks.

By the way on the home page of the gallery I notice that for the 2010 Guest Images Gallery that there is a button visible - when logged out - to "Edit Files"
+ there is an image in that gallery that says, "Coppermine Gallery" .... strange behavior.

Thanks again.
Title: Re: User can not upload to desired gallery
Post by: Αndré on July 23, 2010, 08:46:13 am
I found out that it has something to do with the (removed feature) moderator group. I'll do more testing.
Title: Re: User can not upload to desired gallery
Post by: Αndré on July 23, 2010, 09:00:31 am
I reset your album moderator settings and now every should work as expected. Please confirm. If it works for you, I'll add a command to the update.sql to avoid future support requests of people who had set something while that feature was available.

Please see here (http://forum.coppermine-gallery.net/index.php/topic,64408.msg323489.html#msg323489) to understand why the moderator feature has been disabled.
Title: Re: User can not upload to desired gallery
Post by: CrestoneCreations on July 24, 2010, 02:48:33 am
Everything seems to be working fine - thank you! 
Many thanks for all your efforts.

Clyde

Title: Re: User can not upload to desired gallery
Post by: Αndré on July 24, 2010, 03:54:08 pm
Committed fix in r7793. Will be in cpg1.5.8.