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: Fatal error when upgrading  (Read 9467 times)

0 Members and 1 Guest are viewing this topic.

Arakikida

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Fatal error when upgrading
« on: August 25, 2016, 08:00:36 pm »

Hi,

I wanted to upgrade my gallery ( http://www.simpleplan.cz/gallery ) from 1.4.x to the current version of Coppermine, but somehow I'm getting a fatal error now.

It says:

While executing query 'SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (3)' in bridge/udb_base.inc.php on line 333

mySQL error: Unknown column 'access_level' in 'field list'

I'm really not that pro at this - can anybody help me figure out what exactly should I change and where? I understand there has to be some issue in the bridge folder, but what exactly should I change there?

Also how can I fix that MySQL error?

Please help.

Thx.
Logged

Arakikida

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Fatal error when upgrading
« Reply #1 on: August 26, 2016, 05:54:33 pm »

Got it!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Fatal error when upgrading
« Reply #2 on: August 30, 2016, 12:28:58 pm »

For the benefit of others with the same issue: don't forget to run update.php after you've updated the gallery files.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.