Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Permission denied when approve uploaded images  (Read 4754 times)

0 Members and 1 Guest are viewing this topic.

warlock

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 8
Permission denied when approve uploaded images
« on: August 28, 2006, 02:50:37 pm »

hi,

i could successfully change to admin mode and do everything, except approving uploaded images.
i don't exactly know since when this problem exist, but even a new installation of coppermine
with the OLD DATABASE doesn't solve the problem. so i think there is a permission-problem
in the database.

after some debugging in php, it seems that the "GALLERY_ADMIN_MODE" is not set on my admin
user, and i have no clue how and where i could do that.

so please help.

regards,
michael
« Last Edit: August 29, 2006, 04:22:56 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Permission denied when approve uploaded images
« Reply #1 on: August 28, 2006, 03:52:28 pm »

Make sure (browsing coppermine's user table using phpMyAdmin or similar) that your admin user is member of group "1".
Not sure why you refer to admin mode: my suggestion would be never to leave it unless you know what it's menat to be used for. I strongly recommend upgrading anyway, since cpg1.3.x is deprecated and support for it will run out very soon.
Logged

warlock

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 8
Re: Permission denied when approve uploaded images
« Reply #2 on: August 28, 2006, 04:17:02 pm »

sorry, i've 1.4.5 and droped it into the wront topic.
could u move it please?

user_group is already set to 1

thx
michael
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Permission denied when approve uploaded images
« Reply #3 on: August 28, 2006, 04:23:03 pm »

Upgrade to the most recent version (currently cpg1.4.9) asap anyway - upgrading is mandatory to fix existing security flaws in your version.
Moving thread from "cpg1.3 Permissions & Access Rights" to corresponding board for your version.
Logged

warlock

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 8
Re: Permission denied when approve uploaded images
« Reply #4 on: August 28, 2006, 04:57:46 pm »

i updated to 1.4.9 and the problem still exists...
"You don't have permission to access this page." as administrator, group 1...

/EDIT:
after i select one image to approve and klick the submit button

« Last Edit: August 28, 2006, 05:09:49 pm by warlock »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Permission denied when approve uploaded images
« Reply #5 on: August 28, 2006, 06:04:12 pm »

I'd rather guess that your login doesn't stick. Post a link to your page for a start.
Logged

warlock

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 8
Re: Permission denied when approve uploaded images
« Reply #6 on: August 28, 2006, 06:44:52 pm »

the page is www.seicentox.de ... i use the bridging-mode since few days, but the problem already exists berfore..
Logged

Nibbler

  • Guest
Re: Permission denied when approve uploaded images
« Reply #7 on: August 28, 2006, 07:00:06 pm »

Sounds like mod_security or the php hardening patch. Are either of these installed on your server?
Logged

warlock

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 8
Re: Permission denied when approve uploaded images
« Reply #8 on: August 28, 2006, 07:18:17 pm »

yes, u are right. i use the hardening-patch for php.. good hint.
do u know the setting of the patch which could be the problem?
Logged

Nibbler

  • Guest
Re: Permission denied when approve uploaded images
« Reply #9 on: August 28, 2006, 07:23:38 pm »

You need to adjust the limits so that it permits more POST and/or REQUEST data. Several pages in Coppermine have a lot of post  fields and can exceed the limits if they are too conservative.
Logged

warlock

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 8
Re: Permission denied when approve uploaded images
« Reply #10 on: August 29, 2006, 10:53:37 am »

big thx. this solves the problem.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.