How to backup and upgrade versions? How to backup and upgrade versions?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

How to backup and upgrade versions?

Started by rdavis, August 21, 2008, 06:47:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rdavis

Hey everyone!

I really want to upgrade my 1.4.18 installation to the new 1.4.19 version and then one day the 1.5 version. Right now, I have already patched with the functions.inc.php file to take care of the injection problem, but want to upgrade for all the other issues the 1.4.19 addresses.

Here is what I have customized and dont know what will happen to it when I upgrade:
1.) I have a custom template: The enlighten template that has been re-coded with different navbars, spacer images for the menus, etc. and don't know what will happen to all that stuff I have done if I upgrade.
2.) I have modified the themes.inc.php with some line breaks to tweak my layout and am thinking that if I upgrade all this will be messed up.
3.) I have also added the YouTube hack (to upload.php and theme.php)
4.) I have changed the color of the buttons and stuff in the main images folder to match my theme (desaturated all images).

Can someone let me know what will happen if I upgrade? Also, how do I backup my gallery, tables, etc. so that if something happens I can restore it to the way I had it before the upgrade.

Please let me know! Thanks for any help!

-Ryan-

François Keller

Hi,

at first read the doc http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_steps
QuoteI have a custom template: The enlighten template that has been re-coded with different navbars, spacer images for the menus, etc. and don't know what will happen to all that stuff I have done if I upgrade.
Nothing if you don't overwrite your custom theme folder
QuoteI have modified the themes.inc.php with some line breaks to tweak my layout and am thinking that if I upgrade all this will be messed up.
It was not the good way: you never must modifie the theme.inc.php file. If you have to modifie a function, copy/paste it to the theme.php file from your theme and modifie this file, this way, you can safely ugrade to a new version
QuoteI have also added the YouTube hack (to upload.php and theme.php)
for the upload.php file, you will have to re-apply your changes in the new file, for the theme.php file, nothing to do if you don't overwrite the file
QuoteI have changed the color of the buttons and stuff in the main images folder to match my theme (desaturated all images).
don't overwrite this folder during the upgrade process
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog