News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Different version number on files in Source

Started by dan4ever, February 23, 2021, 05:08:31 AM

Previous topic - Next topic

dan4ever

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, Webmaster at https://www.guldforum.se

dan4ever

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, Webmaster at https://www.guldforum.se

shadav

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....

Steve

Quote from: shadav on February 23, 2021, 08:59:28 AMalso 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.
DO NOT pm me for support!

dan4ever

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, Webmaster at https://www.guldforum.se

Steve

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.
DO NOT pm me for support!

dan4ever

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.

QuoteThere 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, Webmaster at https://www.guldforum.se

Kindred

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.
Слaва
Украинi

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."

dan4ever

Quote from: Kindred 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.


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, Webmaster at https://www.guldforum.se

Aleksi "Lex" Kilpinen

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
Slava
Ukraini!


"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

How you can help SMF

Matthias

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

Advertisement: