upgrade to ver. 2.6.5

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

nobby
Posts: 21
Joined: Fri Aug 21, 2009 9:09 am

upgrade to ver. 2.6.5

Post by nobby »

I have wrongly upgraded to version 2.6.5. The only data transferred and remains is the data in "data" folder.
All other data have been replaced with new ones.

Please advise if I can still utilize old faq data in the upgraded version or not.

nobby
Thorsten
Posts: 15805
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: upgrade to ver. 2.6.5

Post by Thorsten »

Hi,

just run the update script and everything will be okay.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nobby
Posts: 21
Joined: Fri Aug 21, 2009 9:09 am

Re: upgrade to ver. 2.6.5

Post by nobby »

Hi , thank you for the answer. I copied old data folder to the newly installed version of 2.6.5.
Then I executed update.php in the browser but it prompted to execute setup instead.
So I completed setup.php without error and then executed update.php in the broswer. It also
completed without any error. However faq data can not be found.
Please advise what was wrong in above procedure.

nobby
Thorsten
Posts: 15805
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: upgrade to ver. 2.6.5

Post by Thorsten »

Hi,

from which version did you do the update?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nobby
Posts: 21
Joined: Fri Aug 21, 2009 9:09 am

Re: upgrade to ver. 2.6.5

Post by nobby »

It should be either ver 2.5.4 or 2.5.3.

nobby
Thorsten
Posts: 15805
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: upgrade to ver. 2.6.5

Post by Thorsten »

Hi,

do you have a inc/data.php file?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nobby
Posts: 21
Joined: Fri Aug 21, 2009 9:09 am

Re: upgrade to ver. 2.6.5

Post by nobby »

I can see Date.php but no "data.php" file in inc/ folder. It looks I lost it.

nobby
Thorsten
Posts: 15805
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: upgrade to ver. 2.6.5

Post by Thorsten »

Hi,

don't you have a backup from your old FAQ data?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nobby
Posts: 21
Joined: Fri Aug 21, 2009 9:09 am

Re: upgrade to ver. 2.6.5

Post by nobby »

AS I have written above, the only backup data from old version is the data in "data" folder.

nobby
Thorsten
Posts: 15805
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: upgrade to ver. 2.6.5

Post by Thorsten »

Hi,

please create a data.php file with the following content:

Code: Select all

<?php
$DB["server"] = 'your host';
$DB["user"] = 'your db user';
$DB["password"] = 'your db password';
$DB["db"] = 'your database';
$DB["prefix"] = 'if you have a prefix, add it here';
$DB["type"] = 'mysql';
Then save the file and run the update process.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nobby
Posts: 21
Joined: Fri Aug 21, 2009 9:09 am

Re: upgrade to ver. 2.6.5

Post by nobby »

Hi

I have made data.php file and stored it in inc/ folder then ran update.php process.
It looked that update process completed with no error, however still I can not find
old faq in the upgraded version of the program.

nobby
Thorsten
Posts: 15805
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: upgrade to ver. 2.6.5

Post by Thorsten »

Hi,

is it empty? Do you see the entries in the faqdata table?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nobby
Posts: 21
Joined: Fri Aug 21, 2009 9:09 am

Re: upgrade to ver. 2.6.5

Post by nobby »

Hi

I can see following data in "faq" table:

Tables_in_faq |
+----------------------+
| faqadminlog |
| faqattachment |
| faqattachment_file |
| faqcaptcha |
| faqcategories |
| faqcategory_group |
| faqcategory_user |
| faqcategoryrelations |
| faqchanges |
| faqcomments |
| faqconfig |
| faqdata |
| faqdata_group |
| faqdata_revisions |
| faqdata_tags |
| faqdata_user |
| faqglossary |
| faqgroup |
| faqgroup_right |
| faqlinkverifyrules |
| faqnews |
| faqquestions |
| faqright |
| faqsearches |
| faqsessions |
| faqstopwords |
| faqtags |
| faquser |
| faquser_group |
| faquser_right |
| faquserdata |
| faquserlogin |
| faqvisits |
| faqvoting |
Thorsten
Posts: 15805
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: upgrade to ver. 2.6.5

Post by Thorsten »

Hi,

okay, is there any content in faqdata?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
nobby
Posts: 21
Joined: Fri Aug 21, 2009 9:09 am

Re: upgrade to ver. 2.6.5

Post by nobby »

Hi, I would check it tomorrow morning.

Thanks

nobby
Post Reply