Help With Error Please?

Database error in

Query:

SELECT `ID` FROM `sys_localization_languages` WHERE `Name`='en' LIMIT 1

Mysql error: MySQL server has gone away

Found error in the file 'inc/classes/BxDolEmailTemplates.php' at line 31.
Called 'getOne' function with erroneous argument #0.

And line 31 of that file is this:

$this->iDefaultLangId = (int)$GLOBALS['MySQL']->getOne("SELECT `ID` FROM `sys_localization_languages` WHERE `Name`='" . $GLOBALS['sCurrentLanguage'] . "' LIMIT 1");

Quote · 16 Dec 2009

Hello!

MySQL server has gone away - it means that by some reason MySQL can't complete operation with query. Need to increase timeout its variables.

Regard

Quote · 16 Dec 2009

So I need to increase the timeout variable?

Because I am getting more now:

Database error in

Query:

                INSERT INTO
`bx_simple_messenger_messages`
SET
`SenderID` = 1,
`RecipientID` = 2,
`Message` = 'You suck balls...'

Mysql error: MySQL server has gone away

Found error in the file 'modules/boonex/simple_messenger/classes/BxSimpleMessengerDb.php' at line 65.
Called 'query' function with erroneous argument #0.

Quote · 16 Dec 2009

Yes, it will be first step - increase values of variables with '_timeout' end like 'wait_timeout' etc

Regard

Quote · 16 Dec 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.