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: "You do not have permission to perform this operation&q  (Read 4314 times)

0 Members and 1 Guest are viewing this topic.

wilber

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
"You do not have permission to perform this operation&q
« 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
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
"You do not have permission to perform this operation&q
« Reply #1 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:

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


that should work-post back:)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
"You do not have permission to perform this operation&q
« Reply #2 on: March 24, 2004, 07:27:49 am »

not recommended at all!

GauGau
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
"You do not have permission to perform this operation&q
« Reply #3 on: March 25, 2004, 12:08:13 am »

thats why i gave him the warning

Quote
if you want EVERYONE to have access to upload.php
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.