Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: problem uploading to gallery created by another admin  (Read 15042 times)

0 Members and 1 Guest are viewing this topic.

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
problem uploading to gallery created by another admin
« on: December 09, 2010, 03:12:38 am »

I'm one of two gallery admins, who have privileges to upload to a public gallery.  My counterpart created an album; I'm trying to upload to it, but am unsuccessful - I get the error message in the attachment.

The gallery is at www.59plymouth.net/59gallery

Thanks
Dan
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: problem uploading to gallery created by another admin
« Reply #1 on: December 09, 2010, 12:37:59 pm »

Uploading to albums generated by you works as expected?
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #2 on: December 09, 2010, 01:00:30 pm »

Yes - my colleague (with the same group membership as me, GalleryAdmin) had uploaded a .wmv file.  I converted to a .flv, removed the .wmv (successfully) from his album, and tried to upload the .flv with the error I noted.  I can upload this very same file to an album that I create:

http://www.59plymouth.net/59gallery/thumbnails.php?album=14
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: problem uploading to gallery created by another admin
« Reply #3 on: December 09, 2010, 01:28:16 pm »

I'll have a look at it. As a quick workaround you could try if you can move that uploaded file to the desired album or enable 'Visitors can upload files' in the album properties.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: problem uploading to gallery created by another admin
« Reply #4 on: December 09, 2010, 02:18:05 pm »

Works as expected in my local testbed. Please upgrade to cpg1.5.10 and try again.
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #5 on: December 10, 2010, 02:12:03 am »

Can you point me to a FAQ for upgrading to cpg1.5.10 from cpg1.5.8?  I don't see one on the  child board for cpg1.5.  How do I save my existing config?  Do I have to remerge the bridge updates for phpBB (ucp.php and phpbb3.inc.php)?  Will my custom theme be affected?  Do I have to reinstall plugins?  And like that...

Thanks
Dan
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #7 on: December 10, 2010, 04:06:36 pm »

Thanks - I will upgrade tonight (-5 GMT).  I'd like to keep this open to see if the upgrade addresses my original problem (unable to upload to album created by another admin).

Dan
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #8 on: December 11, 2010, 05:19:21 pm »

I've upgraded to cpg1.5.10, and I am still getting the same error - although, I can upload the file into an album I create.

I should point out that I have a bridge to phpBB3, and that I had to edit phpbb3.inc.php in coppermine and ucp.php in phpBB3, per the instructions, in order for me to have admin privileges:

http://forum.coppermine-gallery.net/index.php/topic,68302.0.html

I'm not sure if this is implicated or not - just another data point.

Dan
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: problem uploading to gallery created by another admin
« Reply #9 on: December 11, 2010, 05:31:46 pm »

when I changed the value for "GalleryAdmin" (the group I created for gallery administration) in this file, my friend could now administrate the gallery - but I couldn't!  Simple fix: I added myself to the GalleryAdmin group.
Try to add both groups to the admingroups in bridge/phpbb3.inc.php. Change
Code: [Select]
$this->admingroups = array(5);to e.g.
Code: [Select]
$this->admingroups = array(5, 123);
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #10 on: December 11, 2010, 05:35:57 pm »

Αndré, do you mean add the index value for phpBB3 Administrator on my board, as well as GalleryAdmin, to admingroups?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: problem uploading to gallery created by another admin
« Reply #11 on: December 11, 2010, 05:44:47 pm »

Yes. As far I understood you replaced the default value '5' with your custom group's id. Just add both ids.
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #12 on: December 11, 2010, 05:47:14 pm »

I changed it to (5, 8) [Administrator, GalleryAdmin] logged out, flushed my cache and logged back in.  Same issue.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: problem uploading to gallery created by another admin
« Reply #13 on: December 11, 2010, 06:23:18 pm »

Please remove yourself from the GalleryAdmin group. Do you still have admin privileges in Coppermine?
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #14 on: December 11, 2010, 06:33:17 pm »

No - when I remove GalleryAdmin from my group membership, I lose admin rights to Coppermine.
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #15 on: December 12, 2010, 12:19:39 am »

I tried something else, in desperation; in phpBB, you can be an "approved member" of a group, or a group leader - and the group can be your default, or not.  I'm trying to upload to an album that "Ron Keij" had created, as a group leader of GalleryAdmin - previously, I added myself as an approved member.  This time, I added myself as a group leader, and made the group my default.  In phpBB, I appear to have the same privileges as Ron (attachment) -- yet, still I cannot upload to this album.

Any ideas how I can further diagnose this problem?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: problem uploading to gallery created by another admin
« Reply #16 on: December 12, 2010, 10:32:12 am »

Enable debug mode and post the debug output of both users.
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #17 on: December 12, 2010, 03:04:07 pm »

Here they are...  RonKeij successfully uploads, Faulkner does not.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: problem uploading to gallery created by another admin
« Reply #18 on: December 12, 2010, 07:18:01 pm »

Please try what happens when you remove Faulkner from the groups
Code: [Select]
            [2] => 105
            [3] => 104
Logged

shortmort37

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: problem uploading to gallery created by another admin
« Reply #19 on: December 12, 2010, 09:41:46 pm »

Please try what happens when you remove Faulkner from the groups
Code: [Select]
            [2] => 105
            [3] => 104

I want Faulkner (me) to retain sole administrative rights over the phpBB Forum, while sharing administrative rights with Ron Keij for the Coppermine Gallery.  That's why I created GalleryAdmin as a group.

One of the two groups you identify above is phpBB Administrator; I can't remove Faulkner from that.  The other is Moderator, and I did remove that - to no avail.

It occurred to me that I could edit Ron's content in the Gallery, if I used a different account with the same group membership as he - Registered User, and GalleryAdmin.  I assigned both to the cpgtest account.  It failed again, but this time with a different complaint (cpgtest.jpg and cpgtest.txt).

I then noticed that there are options for the upload mechanism specified in the right upper corner: "multiple - flash driven (recommended)", and "simple - one file at a time".  I logged in as Faulkner, and changed it to the latter - and it worked!

So clearly, there's a bug somewhere - the failure mode I observe when using the multiple upload method (for a single file) does not occur when using the simple, one file upload approach.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.023 seconds with 19 queries.