Database error when changing membership levels

Hi I've searched hi and low for a fix here in the forums but I'm exhuasted.  I'm running Dolphin 6.1.6 and I have not had any errors from my site or email. But a few days ago I changed my membership levels in the admin panel to turn off Free Mode and Promotional Memberships.

Well now I'm receiving a bug report email which states:

Database error
Query:
SELECT `VALUE` FROM `GlParams` WHERE `Name` = 'lang_default'

Mysql error:
MySQL server has gone away

Found error in file /home/user/public_html/inc/db.inc.php
at line 158. Called db_assoc_arr function
with erroneous argument #0

Debug backtrace:
Array
(
    [1] => Array
        (
            [file] => /home/user/public_html/inc/db.inc.php
            [line] => 112
            [function] => db_res
            [args] => Array
                (
                    [0] => SELECT `VALUE` FROM `GlParams` WHERE `Name` = 'lang_default'
                    [1] => 1
                )

        )

    [2] => Array
        (
            [file] => /home/user/public_html/inc/db.inc.php
            [line] => 158
            [function] => db_assoc_arr
            [args] => Array
                (
                    [0] => SELECT `VALUE` FROM `GlParams` WHERE `Name` = 'lang_default'
                )

        )

    [3] => Array
        (
            [file] => /home/user/public_html/inc/languages.inc.php
            [line] => 47
            [function] => getParam
            [args] => Array
                (
                    [0] => lang_default
                )

        )

    [4] => Array
        (
            [file] => /home/user/public_html/inc/languages.inc.php
            [line] => 27
            [function] => getCurrentLangName
            [args] => Array
                (
                )

        )

    [5] => Array
        (
            [file] => /home/user/public_html/inc/membership_levels.inc.php
            [line] => 24
            [args] => Array
                (
                    [0] => /home/user/public_html/inc/languages.inc.php
                )

            [function] => require_once
        )

    [6] => Array
        (
            [file] => /home/user/public_html/inc/modules.inc.php
            [line] => 24
            [args] => Array
                (
                    [0] => /home/user/public_html/inc/membership_levels.inc.php
                )

            [function] => require_once
        )

    [7] => Array
        (
            [file] => /home/user/public_html/inc/admin.inc.php
            [line] => 23
            [args] => Array
                (
                    [0] => /home/user/public_html/inc/modules.inc.php
                )

            [function] => require_once
        )

    [8] => Array
        (
            [file] => /home/user/public_html/inc/design.inc.php
            [line] => 22
            [args] => Array
                (
                    [0] => /home/user/public_html/inc/admin.inc.php
                )

            [function] => require_once
        )

    [9] => Array
        (
            [file] => /home/user/public_html/inc/profiles.inc.php
            [line] => 22
            [args] => Array
                (
                    [0] => /home/user/public_html/inc/design.inc.php
                )

            [function] => require_once
        )

    [10] => Array
        (
            [file] => /home/user/public_html/periodic/cupid.php
            [line] => 23
            [args] => Array
                (
                    [0] => /home/user/public_html/inc/profiles.inc.php
                )

            [function] => require_once
        )

)


Called script:

Request parameters:
Array
(
    [/home/user/public_html/periodic/cupid_php] =>
)


--
Auto-report system

 

 

Is anyone familiar with this error?  All input would be appreciated.

 

Thanks

Quote · 19 Sep 2009

Yes i have seen this before too. i have test dolphin 6.1.6 on 3 different installs and without any mods or heavy changes in the settings i get this error like twice a month. today i got it 5 times so it might be getting worse. i did not disable free mode or anything. here is my lastest error:



Database error in test
Query:
SELECT `VALUE` FROM `GlParams` WHERE `Name` = 'lang_default'

Mysql error:
MySQL server has gone away

Found error in file /home/user/public_html/test/inc/db.inc.php
at line 158. Called db_assoc_arr function with erroneous argument #0

Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/user/public_html/test/inc/db.inc.php
[line] => 112
[function] => db_res
[args] => Array
(
[0] => SELECT `VALUE` FROM `GlParams` WHERE `Name` = 'lang_default'
[1] => 1
)

)

[2] => Array
(
[file] => /home/user/public_html/test/inc/db.inc.php
[line] => 158
[function] => db_assoc_arr
[args] => Array
(
[0] => SELECT `VALUE` FROM `GlParams` WHERE `Name` = 'lang_default'
)

)

[3] => Array
(
[file] => /home/user/public_html/test/inc/languages.inc.php
[line] => 47
[function] => getParam
[args] => Array
(
[0] => lang_default
)

)

[4] => Array
(
[file] => /home/user/public_html/test/inc/languages.inc.php
[line] => 27
[function] => getCurrentLangName
[args] => Array
(
)

)

[5] => Array
(
[file] => /home/user/public_html/test/inc/membership_levels.inc.php
[line] => 24
[args] => Array
(
[0] => /home/user/public_html/test/inc/languages.inc.php
)

[function] => require_once
)

[6] => Array
(
[file] => /home/user/public_html/test/inc/modules.inc.php
[line] => 24
[args] => Array
(
[0] => /home/user/public_html/test/inc/membership_levels.inc.php
)

[function] => require_once
)

[7] => Array
(
[file] => /home/user/public_html/test/inc/admin.inc.php
[line] => 23
[args] => Array
(
[0] => /home/user/public_html/test/inc/modules.inc.php
)

[function] => require_once
)

[8] => Array
(
[file] => /home/user/public_html/test/inc/design.inc.php
[line] => 22
[args] => Array
(
[0] => /home/user/public_html/test/inc/admin.inc.php
)

[function] => require_once
)

[9] => Array
(
[file] => /home/user/public_html/test/inc/profiles.inc.php
[line] => 22
[args] => Array
(
[0] => /home/user/public_html/test/inc/design.inc.php
)

[function] => require_once
)

[10] => Array
(
[file] => /home/user/public_html/test/periodic/cupid.php
[line] => 23
[args] => Array
(
[0] => /home/user/public_html/test/inc/profiles.inc.php
)

[function] => require_once
)

)


Called script:

Request parameters:
Array
(
[/home/user/public_html/test/periodic/cupid_php] =>
)


--
Auto-report system

Quote · 24 Oct 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.