MyBB Community Forums

Full Version: Wierd upgrade experience
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone,

I had an inactive MyBB forum that was version 1.4.?. I think maybe it was 1.4.4. I figured I better upgrade to 1.4.9 even though it's inactive just to prevent any possible exploits to my server.

I downloaded the latest 1.4.9 file and extracted it. I then sent up all files, overwriting everything. I went to mysite.com/install/upgrade.php and it asked what version I was upgrading from. Since I didn't remember the exact version number, I tried accessing the actual forum but of course it gave the error that upgrade/install.php was still there so I couldn't access it. I simply temporarily renamed the install/upgrade file and accessed my forum to determine the version number. Now here's the weird part: It now showed as version 1.4.9 and it functioned perfectly even though I had not yet ran any steps in the upgrade/install. I then said it was upgrading from 1.4.4 just to get to the next step. I then ran through the install/upgrade process and it said it was successful. Everything works fine but I don't understand why it seemed to be already upgraded to 1.4.9 by simply sending up all the files and not running the upgrade file.

Everything appears to be running fine so I don't really need support but I sure would like to know why it was already working as version1.4.9 without running the install/upgrade.php.Huh

Thanks in advance for any opinions. If this is in the wrong forum, please accept my apologies and move it to the proper one.
The version number is based off ./inc/class_core.php, so when you upload the new files, it has 1.4.9 in it, which is what shows in the ACP. The upgrade script just does stuff to the database, that isn't what governs the version number.
(2009-09-22, 04:51 PM)MattRogowski Wrote: [ -> ]The version number is based off ./inc/class_core.php, so when you upload the new files, it has 1.4.9 in it, which is what shows in the ACP. The upgrade script just does stuff to the database, that isn't what governs the version number.

OK makes sense, thank you very much for your quick response.[Image: rock.gif]