Advanced search  

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

Pages: [1]   Go Down

Author Topic: "You do not have permission to perform this operation&q  (Read 4319 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.018 seconds with 18 queries.