News:

Wondering if this will always be free?  See why free is better.

Main Menu

Version Error in 2.0.7 upgrade.php

Started by sah62, January 22, 2014, 05:09:59 PM

Previous topic - Next topic

sah62

I just downloaded both of these files:

http://download.simplemachines.org/index.php?thanks;filename=smf_2-0-7_upgrade.zip

http://download.simplemachines.org/index.php?thanks;filename=smf_2-0-7_upgrade.tar.gz

Extract and decompress the archives. Open upgrade.php and look at lines 11 and 15:


/**
* Simple Machines Forum (SMF)
*
* @package SMF
* @author Simple Machines http://www.simplemachines.org
* @copyright 2011 Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 2.0.6
*/

// Version information...
define('SMF_VERSION', '2.0.6');
define('SMF_LANG_VERSION', '2.0.4');


With SMF_VERSION defined as '2.0.6' upgrade.php fails with this error when trying to run it with 2.0.7 installed:

Quote
The upgrader found some old or outdated files.

Please make certain you uploaded the new versions of all the files included in the package.

margarett

You DON'T need that package to update your forum!!! That's the large upgrade and it will wipe your MODs.

Use the built-in upgrade from your ACP, you should see a message saying a new version is available.
http://wiki.simplemachines.org/smf/Patching
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

sah62

Quote from: margarett on January 22, 2014, 05:12:37 PM
You DON'T need that package to update your forum!!! That's the large upgrade and it will wipe your MODs.

I get that, but shouldn't SMF_VERSION be '2.0.7'?

margarett

That's another subject and I'll poke devs to look into it
Just don't mess your forum as you don't need to ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Oldiesmann

Sorry about that. That was indeed a typo. The packages should be fixed now.
Michael Eshom
Christian Metal Fans

sah62


Sea Mac

#6
[size=0.85em]SMF 2.0.7 Update[/size][size=0.85em]1.0[/size]Installed just fine from the package manager ... But version on the Forum Index still shows 2.0.6 (in all 3 themes) ....

And the notice to install a newer version is STILL in the Package Manager!!! It reports it IS installed in the Package Manager right under the outdated version notice!kages

Quote
PHP 5.5 compatibility issues and several other bugs have been fixed. You can install this patch (click here to install) to fix your forum and update it to 2.0.7.

If you have any problems applying it, you can try to use the upgrade file posted on the downloads page - although, any modifications you have installed will need to be uninstalled when you use that method.
Please post on the forum if you need more help.[/size]Browse Pack

[/size]ges
Modification Packages         

Mod Name                             Version
1.httpBL                                     2.5.1


2.SMF 2.0.7                               Update1.0

3.OS & Browser Detection             1.5

4.Simple Audio Video Embedder     2.3

azasmith

I'm not sure if this is related. Or if it's an issue with my specific install. If it's unrelated, please feel free to delete or move etc.

On the Admin screen you have the Support Information window.

Version Information:
Forum version: 2.0.7
Current SMF version: SMF 2.0.7

However changing index.php version to SMF 2.0.7 no longer shows this as red. Which is correct? Should index.php read SMF 2.0.7 or should Current SMF version read 2.0.7 without SMF in front of it?


Arantor

Well, the patch file itself says to modify index.php from SMF 2.0.6 to SMF 2.0.7...
Holder of controversial views, all of which my own.


Sea Mac


The Package Manager HAS the 2.0.7 patch installed - and insists I can upgrade with just a couple of Clicks.


Go look what version SMF my forum is running ... http://softwaresanta.com/sssmf/index.php

azasmith

Quote from: Sir Cumber-Patcher on January 22, 2014, 09:01:35 PM
Well, the patch file itself says to modify index.php from SMF 2.0.6 to SMF 2.0.7...

You're right, it does.  D'oh.


Arantor

Quote from: Sea Mac on January 22, 2014, 09:15:39 PM
Go look what version SMF my forum is running ... http://softwaresanta.com/sssmf/index.php

Your forum footer says 2.0.6, which means the package manager wasn't able to apply the changes, usually permissions reasons.
Holder of controversial views, all of which my own.


Sea Mac

There was nothing but "Test Successful" all the way down when installing it. 
I gave the package manager the FTP details it wanted: and it SAID it connected to the FTP server OK.

When is the package manager's FTP/permissions section going to support SFTP servers? and how do I get this patch to apply?

Arantor

Given how complex SFTP support is, it's too big to be included in 2.1 (since I've been on the team 4 months, I've been adding new things and trying to fix the hundreds of known bugs that needed fixing, including 2.0 bugs)

Thing is, all SMF is doing with FTP is trying to chmod things. Not all servers permit this but *tell* SMF they did.

If you tell it to uninstall, it should fail every test. Make everything writable outside SMF then reapply the package.
Holder of controversial views, all of which my own.


Sea Mac

When I click on the Update link in the Package Manager it starts all over:



I can't install a package that's already IN there ... except it IS NOT already Installed!  The Package Manager shows a visible conflict ....


And there IS No [uninstall] link next to the SMF 2.0.7 Update patch to uninstall it!

Arantor

Except it isn't installed. It just THINKS it is. Which is why I said to try uninstalling it first so it would clear the entry in the packages table that makes it think it is installed.

This clearly proves it never made any changes.
Holder of controversial views, all of which my own.


Sea Mac

And there IS No [uninstall] link next to the [/size][/color]SMF 2.0.7 Update patch to uninstall it![/color]

Arantor

Use the emulate function at the bottom (under advanced) to enter SMF 2.0.7 which will enable the uninstall button. (And put it back to 2.0.6 once you're done with 'uninstalling')
Holder of controversial views, all of which my own.


Sea Mac


Sea Mac

Nope!  It WILL NOT let me uninstall the broken 2.0.7 Patch and reinstall it no matter what. I've got a Broken 2.0.7 Upgrade that can't be fixed ....  >:(

Advertisement: