forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: Arakikida on August 25, 2016, 08:00:36 pm

Title: Fatal error when upgrading
Post by: Arakikida 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.
Title: Re: Fatal error when upgrading
Post by: Arakikida on August 26, 2016, 05:54:33 pm
Got it!
Title: Re: Fatal error when upgrading
Post by: Αndré 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.