coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: Garibaldi on December 14, 2006, 04:07:15 PM

Title: Changed files for 1.4.9 and 1.4.10
Post by: Garibaldi on December 14, 2006, 04:07:15 PM
Hello,

I've tried searching the board but I haven't found any information about this. I have installed modifications on my board and thus modified core files. I would like to upgrade to 1.4.10 (right now it is 1.4.8) but I don't want to have to go through and reinstall these MODs. Is there a place that shows the changes between each version, so I can just add the new code into the files that I have modified? The upgrade information in the documentation would override my changed files.
Thanks
Title: Re: Changed files for 1.4.9 and 1.4.10
Post by: Stramm on December 14, 2006, 05:29:44 PM
use a diff viewer like winmerge to find out
http://winmerge.org
Title: Re: Changed files for 1.4.9 and 1.4.10
Post by: Garibaldi on December 14, 2006, 08:58:15 PM
Quote from: Stramm on December 14, 2006, 05:29:44 PM
use a diff viewer like winmerge to find out
http://winmerge.org
Thanks! Can I actually use it to merge the files and automatically add the changes, or should I do them by hand? Is there a list that shows what files have changes between each version? I would then only have to check the files I have modified for changes.

Also in regards to db updates, I have my cpg install bridged with phpBB. For running db updates could I go into my cpg or phpbb database and run the sql query from there? If so, which one?
Title: Re: Changed files for 1.4.9 and 1.4.10
Post by: Joachim Müller on December 15, 2006, 09:23:31 AM
Use WinMerge as Stramm suggested. You'll learn that nearly all files have been changed (most of them only count of the version count only though).
I recommend Diff-viewing a vanilla copy of cpg1.4.8 to your modified version, make a note of the changes, then apply the upgrade as suggested (replacing all files) and finally re-applying your mods by looking at the notes you made earlier.

Regarding db upgrades: do exactly as suggested in the upgrade section of the docs: running the file update.php as suggested there will perform the needed db upgrades.
Title: Re: Changed files for 1.4.9 and 1.4.10
Post by: Garibaldi on December 15, 2006, 09:11:31 PM
Thank you for your help, I have successfully upgraded.