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

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]

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