forum.coppermine-gallery.net
Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Casper 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;
You don't have permission to perform this operation.
File: /home/photogra/public_html/gallery/delete.php - Line: 454
Line 454;
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;
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'.
-
Confirmed on a stand-alone installation that had never been bridged.
-
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
-
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.
-
No. You were right. I was just expecting it to be in the dev thread.