2.6.0 Upgrade & Attachements

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
ritemple
Posts: 10
Joined: Wed Nov 18, 2009 9:45 am

2.6.0 Upgrade & Attachements

Post by ritemple »

I upgraded to 2.6.0 a few weeks ago, but I've just noticed that all of the attachments have disappeared off the FAQ pages.

The actual attachments still exist under /var/www/faq/attachments. Is there a quick way i can get this fixed (rather than uploading each one again) ?

Best wishes
richard
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2.6.0 Upgrade & Attachements

Post by Thorsten »

Hi,

please upgrade to 2.6.1.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ritemple
Posts: 10
Joined: Wed Nov 18, 2009 9:45 am

Re: 2.6.0 Upgrade & Attachements

Post by ritemple »

OK, just tried that and the upgrade seemed to go fine.

But I still don't appear to have any attachments on my faq pages.

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

Re: 2.6.0 Upgrade & Attachements

Post by Thorsten »

Hi,

is it possible to take a look at your FAQ?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ritemple
Posts: 10
Joined: Wed Nov 18, 2009 9:45 am

Re: 2.6.0 Upgrade & Attachements

Post by ritemple »

I've PM'd you the details.

many thanks.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2.6.0 Upgrade & Attachements

Post by Thorsten »

Hi,

seems there's a bug in the upgrade process. Do you have any entries in the table faqattachment?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ritemple
Posts: 10
Joined: Wed Nov 18, 2009 9:45 am

Re: 2.6.0 Upgrade & Attachements

Post by ritemple »

how do I see that ?
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2.6.0 Upgrade & Attachements

Post by Thorsten »

Hi,

do you have a tool like phpMyAdmin?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2.6.0 Upgrade & Attachements

Post by Thorsten »

Hi,

now I know the issue. Please run the attachment migration script located in your phpMyFAQ installation in the folder install/attachment.php.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ritemple
Posts: 10
Joined: Wed Nov 18, 2009 9:45 am

Re: 2.6.0 Upgrade & Attachements

Post by ritemple »

Many thanks, I have run this script and my attachments have re-appeared.

Best wishes
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2.6.0 Upgrade & Attachements

Post by Thorsten »

Hi,

sorry, I forgot the migration script in the beginning...

bye
Throsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply