Log in

View Full Version : upgrade to 3.7 with a 3.6 database


qbn720
05-04-2008, 02:44 AM
So I installed a fresh version of vB 3.7 and I had an old dump that ran on 3.6.5. And now im getting this error when i try and hit the page.

Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]/includes/functions.php on line 4017

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 4017

Any ideas why? :confused:

Lynne
05-04-2008, 02:49 AM
You need to run the upgrade script to get the database updated.

Opserty
05-04-2008, 11:58 AM
Upload the 3.7 files to your server and then run the upgrade.php file located in the /install/ directory.

LorinPotter
05-04-2008, 04:36 PM
Yep, one of the few times that I read, reread and followed the instructions, worked like a dream. Even though the config.php file for both 3.6.8 and 3.7 looked the same, I did change the 3.7 version and uploaded that.
All I had to do was sit back and click the "Next" button until it finished. Very nice job of writing the upgrade.php for whomeever did it.