Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Hj Ahmad Rasyid Hj Ismail on June 03, 2015, 03:22:49 AM

Title: Database Error (2.1 Beta 2)
Post by: Hj Ahmad Rasyid Hj Ismail on June 03, 2015, 03:22:49 AM
I override current files with SMF2.1 Beta 2 and found this error on clicking profile menu (on top left). Says loading but profile menu is not opened.
Type of error: Database
Database Error: Unknown column 'mem.tfa_secret' in 'field list'
http://localhost/4/index.php?action=profile;area=popup
File: D:/UniServerZ/www/4/Sources/Load.php
Line: 1170
Title: Re: Database Error (2.1 Beta 2)
Post by: live627 on June 03, 2015, 04:04:23 AM
Run upgrade.php to fix
Title: Re: Database Error (2.1 Beta 2)
Post by: Hj Ahmad Rasyid Hj Ismail on June 03, 2015, 05:20:50 AM
Sorry, but none is available in the package. Should I use 2.1 Beta 1 upgrade files?
Title: Re: Database Error (2.1 Beta 2)
Post by: Illori on June 03, 2015, 05:24:09 AM
the upgrade files are in the "other" folder.
Title: Re: Database Error (2.1 Beta 2)
Post by: Hj Ahmad Rasyid Hj Ismail on June 03, 2015, 07:44:06 AM
Thank you Illori. I almost forget that other folder. I ran upgrade.php and the error is now gone. This problem is now marked as solved.
Title: Re: Database Error (2.1 Beta 2)
Post by: ormuz on June 27, 2015, 11:49:23 AM
Some error... This is what I get when trying to run upgrade.php

Warning: require_once(/home/ncoelhoc/public_html/phely/other/Sources/Subs-Auth.php): failed to open stream: No such file or directory in /home/ncoelhoc/public_html/phely/other/upgrade.php on line 804

Edit:

Moved the upgrade to the root folder, and was able to run it.