René H4 Posted February 15, 2019 Share Posted February 15, 2019 My shop was setup in Februari last year (2018) with a pre-version of Frozen. We could not wait because my provider was moving from PHP 5.3 fast. I have downloaded Frozen just now, and I am investigating the possibility to lift the site to Frozen. My thoughts were to start camparing the directory structure with the files it holds. Then, as a second step, comparing each file content. Is this a good plan? Which tools would I need for that? (I am running Windows - not familiar with Unix/Linux) Thanks, Rene Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 15, 2019 Share Posted February 15, 2019 You will need 2 tools, 1) For differencing and merging tool use this, https://www.trythenbuy.co.uk/winmerge-differencing-and-merging-tool-for-windows-p-60.html 2) For simply looking for class in all files use this, https://www.trythenbuy.co.uk/grepwin-regular-expression-search-and-replace-for-windows-p-64.html You may also wish to consider simply installing the new shop in sub directory and importing db and setting it up in parrallel nd when working as required just switching. As allways backup and get second opinion and talk to your host. Link to comment Share on other sites More sharing options...
♥Moxamint Posted February 15, 2019 Share Posted February 15, 2019 Do not forget to compare the <<install.sql>> from two packages. Some in-built modules are different and some of the configuration values are added or removed between two versions. Eddy Link to comment Share on other sites More sharing options...
René H4 Posted February 15, 2019 Author Share Posted February 15, 2019 Thanks guys, Winmerge I already have, this looks to me like a programm to compare two files. But also directories? Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 15, 2019 Share Posted February 15, 2019 Yes you can, best to read the instruction, http://manual.winmerge.org/Compare_dirs.html Link to comment Share on other sites More sharing options...
burt Posted February 15, 2019 Share Posted February 15, 2019 3 hours ago, René H4 said: My shop was setup in Februari last year (2018) with a pre-version of Frozen. We could not wait because my provider was moving from PHP 5.3 fast. I have downloaded Frozen just now, and I am investigating the possibility to lift the site to Frozen. My thoughts were to start camparing the directory structure with the files it holds. Then, as a second step, comparing each file content. Is this a good plan? Which tools would I need for that? (I am running Windows - not familiar with Unix/Linux) Thanks, Rene A (potentially simpler) way, assuming you have your installation date and that date is not too far away from Frozen (April 2018) is; Find release date of Frozenhttps://github.com/gburton/Responsive-osCommerce/releases May 18 2018 get your installation date. Let us say it is February 01 2018 Go to Commitshttps://github.com/gburton/Responsive-osCommerce/commits/master Page back until you get to (say) a few weeks prior to your install date Let's go back to Jan 1st.https://github.com/gburton/Responsive-osCommerce/commits/master?after=89e7a674bfc1e4e017ca3526274d47d6773ed05b+174 You can here see that the first commit was "Custom Data Point - Special Offer" on Jan 31. See if that Commit exists in your shop NO: make the change, move to the next newest Commit YES: nothing for you to do, move to the next newest Commit Repeat #5 until you get to "Merge pull request #681 from gburton/One_More_Time" on May 18. That is fairly simple and *may* be less work and less confusing than comparing files. But it's on a case by case basis of course. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 15, 2019 Share Posted February 15, 2019 3 hours ago, René H4 said: I have downloaded Frozen just now, and I am investigating the possibility to lift the site to Frozen. You may also wish to consider if it's better to simply use the BS4 version, should be at same level as frozen or better! Other wise remember to go to frozen bug list and apply the fixes to your new Frozen BS3. Link to comment Share on other sites More sharing options...
René H4 Posted February 15, 2019 Author Share Posted February 15, 2019 Thanks, Gary, I was hoping to get an answer like this. I did not know it was still on the web. I will probably go your way. The other way is very complex and probably extremely risky. Cheers, Rene Link to comment Share on other sites More sharing options...
René H4 Posted February 15, 2019 Author Share Posted February 15, 2019 Thanks Zahid, but moving to BS4 is a too big step for a noob. I think. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 15, 2019 Share Posted February 15, 2019 Not a problem as always do what feels right for you. Link to comment Share on other sites More sharing options...
MrPhil Posted February 15, 2019 Share Posted February 15, 2019 4 hours ago, René H4 said: Thanks guys, Winmerge I already have, this looks to me like a programm to compare two files. But also directories? Yes, you can give WinMerge two directories and it will tell you files were added/deleted and which files are different. Then you can click on a "changed" file to get a line-by-line report of the differences. Link to comment Share on other sites More sharing options...
René H4 Posted February 15, 2019 Author Share Posted February 15, 2019 Going back to oktober 31st 2017 I already have changes. I am not sure what version I have..... 😞 Link to comment Share on other sites More sharing options...
♥JcMagpie Posted February 15, 2019 Share Posted February 15, 2019 Just play safe and check all commits, may take a little longer but at least you will be sure you have everything. Link to comment Share on other sites More sharing options...
burt Posted February 15, 2019 Share Posted February 15, 2019 1 hour ago, René H4 said: Going back to oktober 31st 2017 I already have changes. I am not sure what version I have..... 😞 It maybe worth contacting the dev who made it - as he might have had a "ready to go" shop based on slightly older code. In this case..."installation date" is not going to help. A while back I used to do the same, have a number of shop installs tailored for particularly countries (TVA, GDPR, language etc and so on) so whenever someone from (eg) France wanted a shop...they got a ready made french build. But that ready made build might not have been completely up to date. Link to comment Share on other sites More sharing options...
René H4 Posted February 15, 2019 Author Share Posted February 15, 2019 Will do when the time is right, Gary..... 🙂 In the mean time: lots of files just show different lines exact like these, can I just insert the difference? ( class="h3")? Frozen code: <h1 class="h3"><?php echo HEADING_TITLE; ?></h1> My shops code: <h1><?php echo HEADING_TITLE; ?></h1> PS. the difference is nicely displayed with WinMerge. Link to comment Share on other sites More sharing options...
MrPhil Posted February 16, 2019 Share Posted February 16, 2019 I take it that someone massively modified your copy of pre-Frozen, and thus it would be difficult to modify a stock Frozen copy to match? If it wasn't tremendously modified, you may want to consider starting with the current Frozen and (slightly) modifying it to do what you want. That would probably be a lot easier. Link to comment Share on other sites More sharing options...
René H4 Posted February 16, 2019 Author Share Posted February 16, 2019 @MrPhil Correct. I have anoter option: leave it like it is. The shop is working quite smooth now, most of Gary's 28d's work just fine. Link to comment Share on other sites More sharing options...
burt Posted February 28, 2019 Share Posted February 28, 2019 On 2/15/2019 at 11:04 AM, burt said: A (potentially simpler) way, assuming you have your installation date and that date is not too far away from Frozen (April 2018) is; Find release date of Frozenhttps://github.com/gburton/Responsive-osCommerce/releases May 18 2018 get your installation date. Let us say it is February 01 2018 Go to Commitshttps://github.com/gburton/Responsive-osCommerce/commits/master Page back until you get to (say) a few weeks prior to your install date Let's go back to Jan 1st.https://github.com/gburton/Responsive-osCommerce/commits/master?after=89e7a674bfc1e4e017ca3526274d47d6773ed05b+174 You can here see that the first commit was "Custom Data Point - Special Offer" on Jan 31. See if that Commit exists in your shop NO: make the change, move to the next newest Commit YES: nothing for you to do, move to the next newest Commit Repeat #5 until you get to "Merge pull request #681 from gburton/One_More_Time" on May 18. That is fairly simple and *may* be less work and less confusing than comparing files. But it's on a case by case basis of course. And if you do not know what your installation date is... Go to the commits page [ https://github.com/gburton/Responsive-osCommerce/commits/master ]. Scroll down until you see "Commits on May 18, 2018" (it may be on page 2 of the Commits). Is that code in your shop: YES: you're on Frozen NO: go backwards to the next OLDER commit, is that code in your shop: YES: that's your install date NO: go backward to the next OLDER commit, is that code in your shop: YES/NO ... carry on until you find the oldest code that IS in your shop. Link to comment Share on other sites More sharing options...
René H4 Posted March 7, 2019 Author Share Posted March 7, 2019 Gary helped me out on this, since it went far beyond my skills, and upgraded my shop to Frozen. Well done Gary! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.