MyBB Community Forums

Full Version: Fatal error - resources/upgrade17.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have my forum upgrade to 1.4 from 1.6
but I get the following error

Quote:Performing Queries

Performing necessary upgrade queries..

Fatal error: Call to undefined method DB_MySQLi::add_column()
in /usr/hostsX/domains/XXXXXXXX/www.XXXXXXXXX.com/httpdocs/forum/install/resources/upgrade17.php on line 151

What should I do, please help me
You've not uploaded the new files properly, make sure they've overwritten the old ones. The add_column() method is in the 1.6 version of the file, so if it isn't in yours, you still have the 1.4 version.
my forum version 1.4.13
but, don't update for version 1.6.1
consistently gave the following issue:

Quote:Performing Queries
Performing necessary upgrade queries..
Fatal error: Call to undefined method DB_MySQLi::add_column()
in /usr/hostsX/domains/XXXXXXXX/www.XXXXXXXXX.com/httpdocs/forum/install/resources/upgrade17.php on line 151

I chose as my forum version of the 1.4.1
and continued trouble-free update
completed successfully

If you encounter a similar problem
version 1.4.13 or 1.4.14, not as
Select the 1.4.0 or 1.4.1
Start the update that way

Thank you very much dear MattRogowski
Try updating from 1.4.14 to 1.6, then updating to 1.6.1 from there. Should make it easier for you.
(2010-12-20, 03:17 AM)HappyPeoples Wrote: [ -> ]my forum version 1.4.13
but, don't update for version 1.6.1
consistently gave the following issue:

Quote:Performing Queries
Performing necessary upgrade queries..
Fatal error: Call to undefined method DB_MySQLi::add_column()
in /usr/hostsX/domains/XXXXXXXX/www.XXXXXXXXX.com/httpdocs/forum/install/resources/upgrade17.php on line 151

I chose as my forum version of the 1.4.1
and continued trouble-free update
completed successfully

If you encounter a similar problem
version 1.4.13 or 1.4.14, not as
Select the 1.4.0 or 1.4.1
Start the update that way

Thank you very much dear MattRogowski

What?? No, don't choose 1.4.1... if you're getting this error you're trying to upgrade to 1.6.1, the code that's giving an error is for the 1.4 > 1.6 upgrade, and you're getting the error because you've not uploaded the new files properly. Choosing an older version will not make this error go away, as it'll then actually run even more code, as well as the code that's already causing the problem.

(2010-12-20, 03:34 AM)UndiscoveredTalent Wrote: [ -> ]Try updating from 1.4.14 to 1.6, then updating to 1.6.1 from there. Should make it easier for you.

There's really no need to do that, 1.6 > 1.6.1 is a tiny update compared to 1.4 > 1.6.