Jamer Posted September 27 Posted September 27 2 minutes ago, Jim M said: This is what you would want: <?php \define('UPGRADE_MD5_CHECK', false); Thank you but now I get this - Parse error: syntax error, unexpected identifier "php" in /home/heresxhx/public_html/constants.php on line 12
Jim M Posted September 27 Posted September 27 1 minute ago, Jamer said: Parse error: syntax error, unexpected identifier "php" in /home/heresxhx/public_html/constants.php on line 12 There should only be 3 lines. You will want to check what else you may have in that file. Additionally, the MD5 checker should be working now so I would try again without the constants.php
Jamer Posted September 27 Posted September 27 (edited) 6 minutes ago, Jamer said: Thank you but now I get this - Parse error: syntax error, unexpected identifier "php" in /home/heresxhx/public_html/constants.php on line 12 Without the constants.php file this is as far as I can go with the supplied patch 3 minutes ago, Jim M said: There should only be 3 lines. You will want to check what else you may have in that file. Additionally, the MD5 checker should be working now so I would try again without the constants.php @Jim M I have only 2 lines in the constants - it is exactly this: <?php \define('UPGRADE_MD5_CHECK', false); so 3 lines with the gap, uploaded then I get the error on line 12 Edited September 27 by Jamer
Jim M Posted September 27 Posted September 27 4 minutes ago, Jamer said: so 3 lines with the gap, uploaded then I get the error on line 12 You would want to ensure you're saving as UTF8 and uploading as such via FTP. If you're still having an issue you would want to confirm with your hosting provider.
Jamer Posted September 27 Posted September 27 2 minutes ago, Jim M said: You would want to ensure you're saving as UTF8 and uploading as such via FTP. If you're still having an issue you would want to confirm with your hosting provider. @Jim M but the file is now fixed your end yes? So I can just remove the constants.php yes? 3 minutes ago, Jamer said: @Jim M but the file is now fixed your end yes? So I can just remove the constants.php yes? I have removed the constants.php file and back to this screen?
Jamer Posted September 27 Posted September 27 (edited) @Jim M and @Marc I have download your new files from my client area and re-uploaded the new files in red above using ftp. I am completely stuck as I cannot move forward with the supplied patch upgrade and currently offline. I would appreciate any help to resolve this issue, normally the upgrade process is simple but this patch has cause these problems. Edited September 27 by Jamer
Jamer Posted September 27 Posted September 27 (edited) A ha! Something just changed and now I have managed to complete the upgrade PHEW! Thank you to everyone for your help. 🙂 Edited September 27 by Jamer
Jim M Posted September 27 Posted September 27 Excellent. Glad to hear it worked. I apologize, I spoke too soon, our team had 1 more thing to complete and they just did it.
media Posted September 27 Posted September 27 I just logged in to my admin today (My board working just fine) and I saw this (Going to show 2 screenshots - I have never seen this kind of update before - just want to make sure i know what to do) Please let me know what to do??? Thanks
PoC2 Posted September 27 Posted September 27 I had that. I just followed the instructions and all seems OK. I then compared the code between the two different file versions in each case. Simply looks like some code has been updated in Topic.php and DelayedCount.php. A novel way of updating just a couple of files but it worked for me.
abobader Posted September 28 Posted September 28 Same thing here as well. I already update the files need it and the waring gone. PS: It early morning here and I just login to ACP and found this issue, and already notify our server admin to see if we got hacked or something 🙂
Andreas Grace Posted September 28 Posted September 28 I also had the warning and ended up downloading and replacing the files. Not the best way to do it, first of all it raises an unnecessary red flag that you've been hacked, wasting time. bearback, P15-D24 and abobader 1 2
PoC2 Posted September 28 Posted September 28 I think it's an elegant way of just updating a couple of files quickly rather than doing an entire upgrade rollout for a very minor thing for most people. They only suggestion I would have for future uses like this is to perhaps modify the wording in ACP so as not to alarm people thinking their site may have been hacked. 🙂 P15-D24 and abobader 1 1
Jim M Posted September 28 Posted September 28 The alert you're seeing there is not for patching. We have a separate system for patching. What you're seeing there is for alerting you that the files there are out of date, modified, or for some reason do not match what they should. It is rightfully a big issue so should be attended to, especially, in cases that you are encountering an issue.
teraßyte Posted September 28 Posted September 28 3 hours ago, Jim M said: The alert you're seeing there is not for patching. We have a separate system for patching. What you're seeing there is for alerting you that the files there are out of date, modified, or for some reason do not match what they should. It is rightfully a big issue so should be attended to, especially, in cases that you are encountering an issue. The problem is that these files have been updated at some point because they're different from the 4.7.18 ZIP file I used to update my site a few weeks ago. The files have been updated without building a new 4.7.18 version as usually happens. 🙄 abobader 1
Arcade King Posted September 28 Posted September 28 19 hours ago, abobader said: Same thing here as well. I already update the files need it and the waring gone. PS: It early morning here and I just login to ACP and found this issue, and already notify our server admin to see if we got hacked or something 🙂 I think we're all in the same boat. I initially thought we got hacked. media and abobader 2
media Posted September 28 Posted September 28 plus 20 years first time i see this warning this way... I have 2 modified files that I know. I always update my board first then go to modified files Themes > Edit Html/css > find the files on the tree Then open the file then click on setting sign on the upper right-hand corner drop down has compare with default choose that and finish comparison... Couple more thing the file they are reported on that screenshot DelayedCount.php I did not touch that file (Did not modify that file) Topic > YES DID Also, my other file that i modified is not on that screenshot (WHY IT IS NOT ON THE LIST) What is going on here????? Confusing......
Jim M Posted September 29 Posted September 29 13 hours ago, media said: have 2 modified files that I know. I always update my board first then go to modified files Themes > Edit Html/css > find the files on the tree Then open the file then click on setting sign on the upper right-hand corner drop down has compare with default choose that and finish comparison... Theme template modifications are not core software file modifications so would not count for what you're seeing as a part of this warning. You would need to download the latest from the Client Area as there were modifications on our end. Typically, we release these via the patch system but this was not done in this case and we apologize for the inconvenience. abobader 1
media Posted September 29 Posted September 29 25 minutes ago, Jim M said: Theme template modifications are not core software file modifications so would not count for what you're seeing as a part of this warning. Ah ok. that make sense...
Andreas Grace Posted September 29 Posted September 29 I still don't get what caused the issue, though. Arcade King 1
AlexWebsites Posted September 29 Posted September 29 (edited) I just uploaded to all my sites. A bit time consuming 😒 Forced me to take a look at some things, so I suppose I appreciate the exercise..🤪 Edited September 29 by AlexWebsites easiii 1
abobader Posted September 29 Posted September 29 4 hours ago, Jim M said: Typically, we release these via the patch system but this was not done in this case and we apologize for the inconvenience. Jim, will we get "extra" free one month for this? 🙂
Jim M Posted September 29 Posted September 29 7 minutes ago, abobader said: Jim, will we get "extra" free one month for this? 🙂 You already got free code outside of an update 😉 abobader and easiii 2
P15-D24 Posted September 29 Posted September 29 This type of warning/update should be clearly branded that it is from Invision as an unscheduled urgent update/patch. Slip streaming files into a production release without clear source branding immediately raise the concern the site was hacked as the warning looked like a generic system error for an unauthorized file change. PoC2, abobader, Mike G. and 1 other 4
Gary Posted September 30 Posted September 30 These are the simple instructions to follow: Click Fix This in your AdminCP -> Download Unmodified Files -> Extract the files on your system -> Upload files with your FTP client -> Overwrite the two files -> Click Check Again in your AdminCP Once this is done, you will successfully be running the latest version on your community. I have done this on my community with no issues whatsoever.
Recommended Posts