Upgrade / Move 1.6.1 to 1.6.2

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
dweiss
Posts: 41
Joined: Mon Feb 27, 2006 1:42 am
Location: Washington, DC
Contact:

Upgrade / Move 1.6.1 to 1.6.2

Post by dweiss »

I want to upgrade from 1.6.1 to 1.6.2 AND simultaniously move my installation from one domain (domain1) to another (domain2).

The docs say to copy the 1.6.2 files on top of the 1.6.1 files, or specifically "Via FTP copy all new files from the phpMyFAQ package except:"

My questions are:

1. how does one know which are the "new" files?

2. do I upload the database from the old installation to the new one before or after I run the update routine?

3. Is there anything else I need to know for this process?

Thanks,
-Danny
E-mail Contact Form for Danny Weiss
DC Society of Certified Public Managers
www.dccpm.org
Thorsten
Posts: 15729
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the new files are listed in docs/CHANGEDFILES.txt. You can also overwrite all files except the ones noted in the documentation.

You have to upload the database before running the update.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dweiss
Posts: 41
Joined: Mon Feb 27, 2006 1:42 am
Location: Washington, DC
Contact:

Post by dweiss »

Thorsten wrote: You have to upload the database before running the update.
bye
Thorsten
Thanks. BTW, for the purposes of your documentation, I think you should clarify that point about uploading the database. One gets the impression that the backup/restore function can be used for a move such as I'm doing, but that clearly isn't so. The system requires that you upload the data via PHP MyAdmin before you an run.

Another point for the docs: since most shared host ISPs place a prefix on their MySQL databases, you should remind people to modify their data.php file accordingly.

Thanks again,
-Danny
E-mail Contact Form for Danny Weiss
DC Society of Certified Public Managers
www.dccpm.org
david_de
Posts: 72
Joined: Tue Dec 13, 2005 12:09 am

Post by david_de »

I beleive the problem comes if there is a change in the database during the update. If you update then restore the old version data, it may not "fit" into the "new" version database. I found that out when beta testing once. After Thorsten explained this, it made sense. My good idea was not so good. I was a little too "smart" for my own good. :oops:
Post Reply