"You do not have permission to perform this operation&q "You do not have permission to perform this operation&q
 

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

"You do not have permission to perform this operation&q

Started by wilber, March 23, 2004, 06:55:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wilber

I'm playing with a coppermine gallery created for a friend - and have a problem creating user galleries. The old menu system in the template was deleted, and has been replaced with a specific menu system. Everything works perfectly except for creating albums for specific users. I have added a 'add to gallery" option, which simply access' upload.php. When the admin logs on works fine - but when specific users log on - it simply tells them they do not have permission. Everything is ok regarding the admin part of the site - ie: they have permission to upload to user galleries.

Any idea what the problem might be.

Thanks

bit bit spears

if you want EVERYONE to have access to upload.php, just do this:

open up 'upload.php'

and remove code:

if (!USER_CAN_UPLOAD_PICTURES) {
    cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
}


that should work-post back:)

Joachim Müller


bit bit spears

thats why i gave him the warning

Quoteif you want EVERYONE to have access to upload.php