Lost connection to MySQL server during query
SELECT x.picture_id FROM spo_sp_picture_order_nr x WHERE x.protocol_id=504 AND order_nr BETWEEN 0 AND 63

filelineclass + method
/home/virtual/www.sportfoto.com/public_html/index.php405Application->Application($0,$1,$2,$3)
    /home/virtual/www.sportfoto.com/public_html/code/kernel/Application.class.php548Application->getContent()
        /home/virtual/www.sportfoto.com/public_html/code/kernel/Application.class.php711SP_Picture->intro($0)
            /home/virtual/www.sportfoto.com/public_html/code_bw/sportfoto/sportfoto/SP_Picture.class.php2673SP_Picture->control()
                /home/virtual/www.sportfoto.com/public_html/code_bw/sportfoto/sportfoto/SP_Picture.class.php3120SP_Picture->viewGallery($0)
                    /home/virtual/www.sportfoto.com/public_html/code_bw/sportfoto/sportfoto/SP_Picture.class.php4901SP_Picture->getFastPictureIdsIN($0)
                        /home/virtual/www.sportfoto.com/public_html/code_bw/sportfoto/sportfoto/SP_Picture.class.php5040DB->selectIN($0)
                            /home/virtual/www.sportfoto.com/public_html/common/DB.class.php429DB->selectOpt($0)
                                /home/virtual/www.sportfoto.com/public_html/common/DB.class.php413DB->query($0,$1)
                                    /home/virtual/www.sportfoto.com/public_html/common/DB.class.php196trigger_error($0,$1)
                                        user_error_handler($0,$1,$2,$3,$4)
                                            /home/virtual/www.sportfoto.com/public_html/common/functions.inc.php2658getBacktrace()