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: Unable to delete users  (Read 3751 times)

0 Members and 1 Guest are viewing this topic.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Unable to delete users
« on: January 31, 2005, 03:30:24 pm »

Unable to delete user.

I found during testing that when trying to delete users, I was getting this error, which I beleive is related to the bridge manager;

Quote
You don't have permission to perform this operation.

File: /home/photogra/public_html/gallery/delete.php - Line: 454

Line 454;
Code: [Select]
if (!(GALLERY_ADMIN_MODE) || ($user_id == USER_ID) || defined('UDB_INTEGRATION')) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
On testing further, I found removing the UDB section, it works;

Code: [Select]
if (!(GALLERY_ADMIN_MODE) || ($user_id == USER_ID)) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
My install is standalone, although I have tried previously to bridge, unsucessfully.  The enable bridge setting is currently '0'.
« Last Edit: February 18, 2005, 08:58:14 am by GauGau »
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Unable to delete users
« Reply #1 on: January 31, 2005, 08:32:02 pm »

Confirmed on a stand-alone installation that had never been bridged.
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: Unable to delete users
« Reply #2 on: February 03, 2005, 08:45:23 am »

Fixed. It should've been UDB_INTEGRATION != 'coppermine'.

...Sorry I didn't get it sooner. I was expecting bug responses in the dev thread.  :P
« Last Edit: February 03, 2005, 08:50:35 am by omniscientdeveloper »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Unable to delete users
« Reply #3 on: February 03, 2005, 10:10:52 am »

OK, thanks for that.

...Sorry I didn't get it sooner. I was expecting bug responses in the dev thread. :P

Wasn't sure where to post it.  The non dev testers would have had to post it here, and if it had been in the dev only thread, they would have been unaware this bug was known and being dealt with.

The dev thread is the correct place to discuss what we are going to, or want to do, but once the code is committed to the dev version for testers to use, then I thought this was the place.

Sorry if I have this wrong.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: Unable to delete users
« Reply #4 on: February 03, 2005, 12:38:45 pm »

No. You were right. I was just expecting it to be in the dev thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 21 queries.