Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: smupdf on July 27, 2021, 02:39:24 PM

Title: 2.0.16 Update Test Failure
Post by: smupdf on July 27, 2021, 02:39:24 PM
Hi there.  Sorry to resurrect this post but I'm having the exact same issue.

Can't upgrade to 2.0.16 and I've checked I do have the double comment in Profile-Modify.php

         $sizes = @getimagesize($_FILES['attachment']['tmp_name']);

         // No size, then it's probably not a valid pic.
         // No size, then it's probably not a valid pic.
         if ($sizes === false)


Not sure what else I can do.  But I need to get updated as I'm getting rogue new users joining despite having registrations turned off!
Title: Re: 2.0.16 Update Test Failure
Post by: shadav on July 27, 2021, 02:46:12 PM
I split your post into a new topic as it's best to open your own support topic

when you are trying to update what is the error that you are getting?

also people registering is a different issue and I'd bet that you have the tapatalk mod installed, this is a known issue of that mod.
Title: Re: 2.0.16 Update Test Failure
Post by: smupdf on July 27, 2021, 02:48:33 PM
You're quite right.  I do have Tapatalk installed.  Am I going to have to ditch that in order to upgrade?

I'm getting the 'Test Failed' error and just one file is failing.

   6.   Replace   ./Sources/Profile-Modify.php   Test failed

Pretty standard I think.


EDIT:  I just uninstalled and deleted the Tapatalk mod but am getting the same error.


EDIT 2:   fixed it!  I don't know what I'm doing.  So I took the Profile-Modify file from 2.0.16 and just shoved it in my sources folder.  Tried upgrading.  It was having none of that.  So I put my 2.0.15 back in.  Tried upgrading and it just worked.  Despite that exact file not working before.  Random.
Title: Re: 2.0.16 Update Test Failure
Post by: shadav on July 27, 2021, 03:42:41 PM
are you sure you put the right file back?
replacing the file is fine if none of your mods edited that file, otherwise you've just broken any mods that you installed that edited that file...

no tapatalk wasn't the issue for the upgrade but it was the issue of why people were still able to register even though you turned off registration...tapatalk mod bypasses smf settings so people can register requardless of what you have your settings at,
oh you turned off registration - tapatalk mod doesn't care it still lets people register
oh you have it set to admin approval - tapatalk mod doesn't care it still lets people register without admin approval
ect....

when the error shows up there should be an icon next to the line (a pencil or square or something), if you click on it a popup should open that will tell you what the update is looking for and what it wants to change/add
so next to where it said Replace   ./Sources/Profile-Modify.php   Test failed - to the left of that should have been some icon that you can click on
Title: Re: 2.0.16 Update Test Failure
Post by: Sir Osis of Liver on July 27, 2021, 05:18:44 PM
That's got nothing to do with Tapatalk, it's a code error in Profile-Modify.php -

https://www.simplemachines.org/community/index.php?topic=578249.msg4092691#msg4092691
Title: Re: 2.0.16 Update Test Failure
Post by: Aleksi "Lex" Kilpinen on July 28, 2021, 01:35:05 AM
You are right, but this is a classic Tapatalk issue.
Quote from: smupdf on July 27, 2021, 02:39:24 PM
But I need to get updated as I'm getting rogue new users joining despite having registrations turned off!
Title: Re: 2.0.16 Update Test Failure
Post by: Sir Osis of Liver on July 28, 2021, 12:27:29 PM
 ^ Yes, that, but it doesn't affect upgrade unless Tapatalk has replaced core files with their own, which doesn't appear to be what's causing the package error.  And, no, upgrade will not fix the registration problem, that's strictly a Tapatalk issue.