Update Group Names message after install Update Group Names message after install
 

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]

Main Menu

Update Group Names message after install

Started by thewpap, August 16, 2017, 01:06:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thewpap

Hi all

I am very much a newbie to coppermine.  I have updated to the latest version and am now getting the following message at the top of my page.

Everything does seem to be working, except not sure how to go about fixing this message

}
                }

                // Update Group names
                foreach($udb_groups as $i_group_id => $i_group_name) {
                    if ($cpg_groups[$i_group_id] != $i_group_name) {
                        cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET group_name = '" . addslashes($i_group_name) . "' WHERE group_id = '$i_group_id' LIMIT 1");
                    }
                }
                // fix admin grp
                if (!$this->use_post_based_groups) cpg_db_query("UPDATE {$CONFIG['TABLE_USERGROUPS']} SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1");

            }

    }

    // and go !
    $cpg_udb = new coppermine_udb;
}
?>

http://billypetersen.com/TheGallery/index.php

Any guidance would be much appreciated.

Thanks

ron4mac

At least one of your files (bridge/coppermine.inc.php) is corrupt. You'll need to replace it.

thewpap

Thanks very much for quick reply, I'll try that when I get home tonight

thewpap

Thank you very much, this fixed the issue.