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

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

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.