1.3.9 to 1.4.1 upgrade

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

1.3.9 to 1.4.1 upgrade

Post by AndrewB »

I just upgraded a test faq I have from 1.3.9 to 1.4.1

2 things:

1. when running bbcode2xhtml I received a timeout error. "Fatal error: Maximum execution time of 30 seconds exceeded in ...function.php on line 313"

I ran it again and it said that it completed. Now I don't know if it really did restart where it left off or if there are some entries that were not converted.

I have 218 records in this test faq system.

2. The Comments look like they were not converted from bbcode. I see this where there should be line breaks <br>
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

it is possible that your great number of entries are to big for PHP and MySQL. :-(

The second one I have to test.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

so, do you think there are entries that it did not convert? (I haven't found any yet)

maybe the converter can run in smaller chunks? maybe loop through 50 entries at a time and keep looping until they are all processed?

I need to look at the BBcode converter code also, it seems to add in too many blank lines for my liking.
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you could test, if a shorter peroid of executing SQL queries helps. Look for the

Code: Select all

wait(250);
in the convert script and decrease the number to e.g. 100. If you run the converter a second time you will add new lines of the second time.

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