Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Upgrading a heavily modified site?

Asked Modified Viewed 862 times
S
skpacman
S
My PHP-Fusion site: https://skpacman.live
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
asked
Member

My site is heavily customized, including some of the core and main php. Is there a nice way to compare my current code with the latest version of php-fusion so I can implement the latest update without breaking anything?
0 replies

5 posts

R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

Github is the best for tracking code changes.

You can create private repo. Upload current code. And then if you replace any file, you will see what has changed.

They have nice desktop application https://desktop.github.com/
0 replies
S
skpacman
S
My PHP-Fusion site: https://skpacman.live
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Member

Guess I gotta learn how to use GIT now. Thanks
0 replies
G
Grimloch
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
answered
Senior Member

You may also want to take a look at a program called WinMerge. I've used it for a while now. Side by side file comparison and merge. Here is a link to take a look and see if it might be easier for you.
https://winmerge.org/
0 replies
S
skpacman
S
My PHP-Fusion site: https://skpacman.live
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Member

Thanks @Grimloch

I ended up uploading 9.03.100 as a branch next to my existing code in Main and running a diff between main and branch, then doing a pull request and approving/denying either entire sections or individual lines based on my customizations.

WinMerge looks really nice, though! I'll do that next time smile
Edited by skpacman on 02-02-2021 20:56,
0 replies
D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

I use phpstorm to compare.

Compare your current site with a fresh copy of the same PHP-fusion version. Then you know exactly what you have modded.

Now compare the modded files in the fresh copy version, with the same files in the new PHP-fusion version. If the files are the same, you can easy put your modded version back.(most updates only a few files are changed, but they always let you update the whole site, I still don't know why). For the other files you need to make the same mod in the new version.
0 replies

Category Forum

Upgrading issues - 9

Labels

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

G
G
Energy can neither be created nor destroyed; only transformed !
  • Senior Member, joined since
  • Contributed 722 posts on the community forums.
  • Started 141 threads in the forums
  • Answered 2 questions
S
S
My PHP-Fusion site: https://skpacman.live
  • Member, joined since
  • Contributed 150 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet