coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: mattpist on September 17, 2005, 12:09:05 AM

Title: user permissions problem after uninstalling bridge
Post by: mattpist on September 17, 2005, 12:09:05 AM
hi, yesterday i uninstalled my ipb2.0.3 to coppermine bridge, opting to go a different route (using another plugin to bridge coppermine to wordpress). the new bridge worked fine, with the exception that it threw my coppermine users and groups into chaos  >:(

checking my user list, there's now an 'admin' user in the guests group and a user 'mattpist' (the former admin) in the 'validating' group. obviously, there is no way to change any of the user permissions now as i (mattpist) dont have enough priveliges. i guess there's a way i can go into the sql tables and fix this, but im not sure how. ive already uploaded (and captioned! ugh) almost 200 pics, so if i could avoid a reinstall, that would be great  ;D

can i save my cp install? thanks for the help!
Title: Re: user permissions problem after uninstalling bridge
Post by: Nibbler on September 17, 2005, 09:15:51 AM
You can comment out the admin check on the groups page and then visit it directly in your browser. That should re-sync your groups.

groupmgr.php

if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);

to

//if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);

Remember to put it back afterwards.

Please note that neither the IPB2 bridge or the wordpress plugin/bridge you refer to are officially supported here.