Cannot install the latest phpmyfaq

Please report bugs here!

Moderator: Thorsten

Post Reply
Padjon
Posts: 2
Joined: Fri Nov 26, 2010 12:20 pm

Cannot install the latest phpmyfaq

Post by Padjon »

Hello,

if i try to install the script, i ever get an error after the mysql-data-form.
I get the following error:

Code: Select all

DB error: MySQL server has gone away

Query: 
INSERT INTO pkb_faqstopwords (id, lang, stopword) VALUES (850, 'de', 'innen')
The Query where it happens changes on every try :(
Padjon
Posts: 2
Joined: Fri Nov 26, 2010 12:20 pm

Re: Cannot install the latest phpmyfaq

Post by Padjon »

I have fixed it for myself by opening a new connection for every query to create and fill the tables

in setup.php:

Code: Select all

   while ($each_query = each($query)) {
$db->connect($DB['server'], $DB['user'], $DB['password'], $DB['db']);
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Cannot install the latest phpmyfaq

Post by Thorsten »

Hi,

seems like you don't have a very stable MySQL server...

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