Permission denied when approve uploaded images Permission denied when approve uploaded images
 

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

Main Menu

Permission denied when approve uploaded images

Started by warlock, August 28, 2006, 02:50:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

warlock

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

Joachim Müller

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.

warlock

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

Joachim Müller

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.

warlock

#4
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


Joachim Müller

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

warlock

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

Nibbler

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

warlock

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?

Nibbler

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.

warlock