Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
What files I should change, when upgrading from 1.2 to 1.2.1 I can't overtwrite all files becouse I changed some of them.

2 Answers

0 votes
To upgrade from 1.2 to 1.2.1, you can delete all old files (1.2) including qa-config.php file, copy new files (1.2.1), rename qa-config-example.php (new one) as qa-config.php and edit this file by adding the database details (in the new qa-config.php file). You can do the custom changes in other new files. You can use a file comparison software, if you have forgotten the changes you made.
0 votes
The problem with a file comparison though is that it will also show changes made in the regular codebase. If a lot of changes have been made it will be a nightmare.

I would recommend getting a fresh copy of 1.2 and running a diff to find all your changes. Then mark them in your code base (maybe use a special comment like /**EDIT: description */  ). Then start afresh with 1.2.1 and copy your marked changes to the new codebase.

In future I would suggest setting up an advanced theme and making as many changes as possible in there. You can use variables like `$this->template` which tells you the section you're on. I just upgraded from 1.0 to 1.2.1 and managed to put every change in the theme.