Advanced search  

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

Pages: [1]   Go Down

Author Topic: Update Group Names message after install  (Read 9423 times)

0 Members and 1 Guest are viewing this topic.

thewpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Update Group Names message after install
« on: August 16, 2017, 01:06:56 am »

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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Update Group Names message after install
« Reply #1 on: August 16, 2017, 01:58:29 am »

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

thewpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Update Group Names message after install
« Reply #2 on: August 16, 2017, 02:05:12 am »

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

thewpap

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Update Group Names message after install
« Reply #3 on: August 16, 2017, 07:53:15 pm »

Thank you very much, this fixed the issue.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.