Fatal Errors after upgrading from 1.4.12 to 1.5.18 Fatal Errors after upgrading from 1.4.12 to 1.5.18
 

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

Fatal Errors after upgrading from 1.4.12 to 1.5.18

Started by PF, July 29, 2012, 02:38:33 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

PF

Link to album: http://www.playmofriends.com/forum/album/

Hi!

I have been using Coppermine since 2005 and this is only my second upgrade. I managed to successfully do the first one in 2007, but am having severe problems this time around. My gallery is bridged to my forum (http://www.playmofriends.com/forum/) which I have very recently upgraded from SMF 1.1.3 to 2.0.2.

I forgot to disable plug ins before starting the upgrade but I'm 99% certain that I wasn't using any, if that helps.

I FTP'd all the files to the correct directories, made sure not to overwrite the albums, /include/config.inc.php and anycontent.php files.

I was using a custom theme and have also attempted to bring that up to date with the necessary edits to the css and template.php, although I must admit that changing the theme.php is beyond my understanding. :-[

I have run the update script and all the changes appear to have been successfully executed. But when I go to the next step and try to visit my index page or version check I receive the following error message:

QuoteFatal error:

While executing query 'SELECT u.ID_MEMBER AS id, u.realName AS username, SHA1(CONCAT(passwd, passwordSalt)) AS password, u.ID_GROUP AS group_id FROM `klicky`.smf_members AS u LEFT JOIN `klicky`.smf_membergroups AS g ON u.ID_GROUP=g.ID_GROUP WHERE u.ID_MEMBER='1'' in bridge/udb_base.inc.php on line 70

mySQL error: Unknown column 'u.realName' in 'field list'

I asked the support people at my webhost about this and they responded:

QuoteThe problem looks to be that the script is expecting the data to be in a
particular place in the database that it is not at. I see that by running
this related query:


mysql> SELECT username from `klicky`.smf_members;

ERROR 1054 (42S22): Unknown column 'username' in 'field list'

The problem, in other words, is that there's no field named "username" in
that table. Perhaps it's the wrong version of the upgrade script.

I must have completely messed something up somewhere. :'(

I have a backup of the Coppermine database but it is lumped together with my smf database, so I'm not sure how I would restore it if it was needed. (I could probably work it out with some instruction.) Attached is a screenshot from phpMyAdmin. Maybe it provides some clues.

I have searched the forum and found some topics discussing similar problems to mine. Even after trying to follow the suggestions made to others, I keep coming back to those "Fatal Error" pages.

I really hope that I have provided you with all the required information and that you can help me.

lurkalot

Did you un-bridge before upgrading your version of SMF.  There's a bridge for SMF 1.x.x and and another for SMF 2.x.x
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

PF

Quote from: lurkalot on July 29, 2012, 04:36:55 PM
Did you un-bridge before upgrading your version of SMF.

No, I didn't. :-[
Wondered if it might be something like that.

Can I do that now through phpMyAdmin and will I lose any data by doing so?

PF

Sorry for double post. Have found how to access the bridge recovery page and will let you know if it works.

Many thanks for the tip! :)

PF


Yesssssssss! It works again! ;D

Thanks again for your help! :-*

lurkalot

Quote from: PF on July 29, 2012, 06:45:36 PM
Yesssssssss! It works again! ;D

Thanks again for your help! :-*

No problem, glad it pointed you in the right direction. ;)

Thanks for marking your thread resolved.
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0