update and install from 2.0.x to 2.6.0 a few problems

Please report bugs here!

Moderator: Thorsten

Post Reply
loke
Posts: 1
Joined: Thu Jan 14, 2010 7:02 am

update and install from 2.0.x to 2.6.0 a few problems

Post by loke »

Hi. There are a few issues that are very critical when upgrading.

1. When upgrading, since there is a data conversion, most of the time, it takes longer than the default execution time of PHP of 30 seconds. The timeout kills the script while still updating, which is a serious problem. One solution is to set set_time_limit(0); at the beginning of update.php. The same applies to setup.php

2. An error is reported on using glossary:
phpMyFAQ warning [2]: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'PMF_Glossary::_setAbbreviations', to be a valid callback in Mbstring.php on line 250

phpMyFAQ warning [2]: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'PMF_Glossary::_setAbbreviations', to be a valid callback in Mbstring.php on line 250

which is probably because _setAbbreviations is declared private.

Thanks
System config: IIS 6 with php 5.2.0 and Mysql 5
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: update and install from 2.0.x to 2.6.0 a few problems

Post by Thorsten »

Hi,

thanks for the hint. I fixed both bugs in my git repo and will release a 2.6.1 soon.

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