coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: wilber on March 23, 2004, 06:55:31 PM

Title: "You do not have permission to perform this operation&q
Post by: wilber on March 23, 2004, 06:55:31 PM
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
Title: "You do not have permission to perform this operation&q
Post by: bit bit spears on March 24, 2004, 05:54:35 AM
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:)
Title: "You do not have permission to perform this operation&q
Post by: Joachim Müller on March 24, 2004, 07:27:49 AM
not recommended at all!

GauGau
Title: "You do not have permission to perform this operation&q
Post by: bit bit spears on March 25, 2004, 12:08:13 AM
thats why i gave him the warning

Quoteif you want EVERYONE to have access to upload.php