MySQL server error report:Array
(
    [0] => Array
        (
            [message] => MySQL Query Error
        )

    [1] => Array
        (
            [sql] => SELECT a.ad_id, a.position_id, a.media_type, a.ad_link, a.ad_code, a.ad_name, p.ad_width, p.ad_height, p.position_style, RAND() AS rnd FROM `OK_ELEC`.`ok_ad` AS a LEFT JOIN `OK_ELEC`.`ok_ad_position` AS p ON a.position_id = p.position_id WHERE enabled = 1 AND a.position_id = '0' AND start_time <= '1732753781' AND end_time >= '1732753781' ORDER BY rnd LIMIT 1
        )

    [2] => Array
        (
            [error] => MySQL server has gone away
        )

    [3] => Array
        (
            [errno] => 2006
        )

)
MySQL server error report:Array
(
    [0] => Array
        (
            [message] => MySQL Query Error
        )

    [1] => Array
        (
            [sql] => SELECT a.ad_id, a.position_id, a.media_type, a.ad_link, a.ad_code, a.ad_name, p.ad_width, p.ad_height, p.position_style, RAND() AS rnd FROM `OK_ELEC`.`ok_ad` AS a LEFT JOIN `OK_ELEC`.`ok_ad_position` AS p ON a.position_id = p.position_id WHERE enabled = 1 AND a.position_id = '0' AND start_time <= '1732753781' AND end_time >= '1732753781' ORDER BY rnd LIMIT 1
        )

    [2] => Array
        (
            [error] => MySQL server has gone away
        )

    [3] => Array
        (
            [errno] => 2006
        )

    [4] => Array
        (
            [message] => MySQL Query Error
        )

    [5] => Array
        (
            [sql] => UPDATE `OK_ELEC`.`ok_sessions` SET expiry = '1732782582', ip = '3.142.53.151', userid = '0', adminid = '0', user_name='0', user_rank='0', discount='1', email='0', data = 'a:3:{s:7:\"from_ad\";i:0;s:7:\"referer\";s:6:\"本站\";s:10:\"login_fail\";i:0;}' WHERE sesskey = '539d64f38f574b2a6a1aa6872aa54749' LIMIT 1
        )

    [6] => Array
        (
            [error] => MySQL server has gone away
        )

    [7] => Array
        (
            [errno] => 2006
        )

)