Advertisement:

Author Topic: Different version number on files in Source  (Read 604 times)

Offline dan4ever

  • Jr. Member
  • **
  • Posts: 128
  • Gender: Male
  • SMF 2.0.18
    • dan.ohlsson on Facebook
    • dan4ever on GitHub
    • Guldforum.se
Different version number on files in Source
« on: February 23, 2021, 05:08:31 AM »
Hi

After update to 2.0.18 I checked the "Check all files against current versions" and there are many not updated.
And also the files ended with .php~  are somtimes 2.0 and the file 2.0.12 but if i download from your site its 2.0.18

What to do????
Change al by my self??

/Dan
/Dan Olsson, Admin at https://www.guldforum.se

Offline dan4ever

  • Jr. Member
  • **
  • Posts: 128
  • Gender: Male
  • SMF 2.0.18
    • dan.ohlsson on Facebook
    • dan4ever on GitHub
    • Guldforum.se
Re: Different version number on files in Source
« Reply #1 on: February 23, 2021, 08:47:05 AM »
anybody knowing this problem? ???


The file how ended with .php~ should it be the last upgrade?  like 2.0.18?
Should I change that my self too? ??? ?


Thanks  /Dan
/Dan Olsson, Admin at https://www.guldforum.se

Offline shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,340
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Different version number on files in Source
« Reply #2 on: February 23, 2021, 08:59:28 AM »
files ending with php~ are temp files, when you install a mod it creates a backup of the file before altering it and names it as filename.php~

as for other pages saying 2.0.x instead of 2.0.18
it's not really a big issue
not every single file gets altered during an update
only files that were altered during an update were changed to state 2.0.18

even in a clean fresh install  ;D not every file says 2.0.18
I know it's a bit confusing but nothing really to worry about

if you go to https://custom.simplemachines.org/upgrades/
and click on the name of the update package, not the download but the actual name it will open a parse page to show what all changes were made
you can double check the pages that are failing to make sure the changes were made

when you updated, was there any errors?

also please note, it's customary to wait 24 hours before bumping a topic....

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,843
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Different version number on files in Source
« Reply #3 on: February 23, 2021, 09:08:40 AM »
also please note, it's customary to wait 24 hours before bumping a topic....

A little more than customary and with you having been a member here for 10 years I know you know this Dan.
Please do not PM me for support.

I just ordered a life alert bracelet so
if I get a life, I'll be notified immediately.

Offline dan4ever

  • Jr. Member
  • **
  • Posts: 128
  • Gender: Male
  • SMF 2.0.18
    • dan.ohlsson on Facebook
    • dan4ever on GitHub
    • Guldforum.se
Re: Different version number on files in Source
« Reply #4 on: February 23, 2021, 09:13:59 AM »
I have now checked against a clean installation and the code/files have NOT being updated!!!
I'm doing it my self now file by file too check differens ,  a hell of work.


Thats why frustrating......


/Dan
/Dan Olsson, Admin at https://www.guldforum.se

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,843
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Different version number on files in Source
« Reply #5 on: February 23, 2021, 09:19:02 AM »
Why? Is your forum not working properly? Are you getting errors?

There really isn't any reason to worry about this otherwise, as shadav said.
Please do not PM me for support.

I just ordered a life alert bracelet so
if I get a life, I'll be notified immediately.

Offline dan4ever

  • Jr. Member
  • **
  • Posts: 128
  • Gender: Male
  • SMF 2.0.18
    • dan.ohlsson on Facebook
    • dan4ever on GitHub
    • Guldforum.se
Re: Different version number on files in Source
« Reply #6 on: February 23, 2021, 11:24:25 AM »
Why update if the files are not changed??
They have the old code not the new ones.


Look at the pic here, this is only little of al. Have spend the hole day to correct them.
http://guldforum.se/Ska%CC%88rmavbild%202021-02-23%20kl.%2016.43.44.png

Its al files, not only .php~   

This can't be true!!!
I think it work, no strange error.

Quote
There really isn't any reason to worry about this

YES, there is something going on here!!!

The upgrade to 2.0.18 went well, no problem. Buy later on I see the files haven't been changed!


/"Dan the Bumper"
/Dan Olsson, Admin at https://www.guldforum.se

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,262
  • Gender: Male
    • Kindred-999 on GitHub
Re: Different version number on files in Source
« Reply #7 on: February 23, 2021, 02:03:54 PM »
so...    looks like your system may be one of the "misconfigured" ones that SAYS it's applying updates to files but then (silently) rejects the updates.

Easiest thing to do to make sure that you are updated?

Overwrite your files with 2.0.18 files. Then reinstall your mods.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Offline dan4ever

  • Jr. Member
  • **
  • Posts: 128
  • Gender: Male
  • SMF 2.0.18
    • dan.ohlsson on Facebook
    • dan4ever on GitHub
    • Guldforum.se
Re: Different version number on files in Source
« Reply #8 on: February 24, 2021, 03:12:21 AM »
so...    looks like your system may be one of the "misconfigured" ones that SAYS it's applying updates to files but then (silently) rejects the updates.

Easiest thing to do to make sure that you are updated?

Overwrite your files with 2.0.18 files. Then reinstall your mods.


Thanx for good advice !!!


But if I take away a mod, are the file (.php~) used to go bak to wrong version?
What hapend if I errase that file before I uninstall a mod?

/Dan
/Dan Olsson, Admin at https://www.guldforum.se

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Project Manager
  • SMF Super Hero
  • *
  • Posts: 19,896
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • My Daily Dose Of Blasphemy
Re: Different version number on files in Source
« Reply #9 on: February 24, 2021, 09:11:54 AM »
the ~versions of files are just backups for you, they are not used for anything else. If you over write your files with fresh 2.0.18 files, then your mods are in effect uninstalled. https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
A Finnish Project Manager (Support Specialist)
Happily running multiple SMF 2.x installations.
 Fooling around with an i7-10700 @ 2,90GHz-4.80GHz / 16Gb / RTX-2070 Super / 3840x2160 / Win 10 x64


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Matthias

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
Re: Different version number on files in Source
« Reply #10 on: February 24, 2021, 04:10:11 PM »
If you upload and overwrite the 2.0.18 files again, you should definitely check the settings in settings.php at your root folder and ideally also call up repair_settings.php and check the settings. The installed mods from the package manager are also available at the database.
But maybe it is a good way to get your installation cleaned up.

You can choose whether to create backup copies of the updated files during a mod or update installation. Have a look at:
Administration Center » Package Manager » Browse Packages » Options
Quality first