Zend_Db_Statement_Exception Object
(
    [message:protected] => SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress, query was: SELECT `layout_update`.`xml` FROM `core_layout_update` AS `layout_update`
 INNER JOIN `core_layout_link` AS `link` ON link.layout_update_id=layout_update.layout_update_id WHERE (link.store_id IN (0, :store_id)) AND (link.area = :area) AND (link.package = :package) AND (link.theme = :theme) AND (layout_update.handle = :layout_update_handle) ORDER BY `layout_update`.`sort_order` ASC
    [string:Exception:private] => 
    [code:protected] => 8
    [file:protected] => I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php
    [line:protected] => 235
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => I:\WWW\Sklep_www4\lib\Varien\Db\Statement\Pdo\Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Zend\Db\Statement.php
                    [line] => 291
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php
                    [line] => 480
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Pdo\Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => I:\WWW\Sklep_www4\lib\Varien\Db\Adapter\Pdo\Mysql.php
                    [line] => 504
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php
                    [line] => 794
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Resource\Layout.php
                    [line] => 84
                    [function] => fetchCol
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout\Update.php
                    [line] => 385
                    [function] => fetchUpdatesByHandle
                    [class] => Mage_Core_Model_Resource_Layout
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout\Update.php
                    [line] => 363
                    [function] => _getUpdateString
                    [class] => Mage_Core_Model_Layout_Update
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout\Update.php
                    [line] => 248
                    [function] => fetchDbLayoutUpdates
                    [class] => Mage_Core_Model_Layout_Update
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout\Update.php
                    [line] => 224
                    [function] => merge
                    [class] => Mage_Core_Model_Layout_Update
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Action.php
                    [line] => 306
                    [function] => load
                    [class] => Mage_Core_Model_Layout_Update
                    [type] => ->
                )

            [12] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Catalog\controllers\CategoryController.php
                    [line] => 137
                    [function] => loadLayoutUpdates
                    [class] => Mage_Core_Controller_Varien_Action
                    [type] => ->
                )

            [13] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Action.php
                    [line] => 420
                    [function] => viewAction
                    [class] => Mage_Catalog_CategoryController
                    [type] => ->
                )

            [14] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php
                    [line] => 254
                    [function] => dispatch
                    [class] => Mage_Core_Controller_Varien_Action
                    [type] => ->
                )

            [15] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Front.php
                    [line] => 172
                    [function] => match
                    [class] => Mage_Core_Controller_Varien_Router_Standard
                    [type] => ->
                )

            [16] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\App.php
                    [line] => 381
                    [function] => dispatch
                    [class] => Mage_Core_Controller_Varien_Front
                    [type] => ->
                )

            [17] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\Mage.php
                    [line] => 698
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                )

            [18] => Array
                (
                    [file] => I:\WWW\Sklep_www4\index.php
                    [line] => 104
                    [function] => run
                    [class] => Mage
                    [type] => ::
                )

        )

    [previous:Exception:private] => PDOException Object
        (
            [message:protected] => SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress
            [string:Exception:private] => 
            [code:protected] => 08S01
            [file:protected] => I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php
            [line:protected] => 228
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php
                            [line] => 228
                            [function] => execute
                            [class] => PDOStatement
                            [type] => ->
                        )

                    [1] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\lib\Varien\Db\Statement\Pdo\Mysql.php
                            [line] => 110
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                        )

                    [2] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Zend\Db\Statement.php
                            [line] => 291
                            [function] => _execute
                            [class] => Varien_Db_Statement_Pdo_Mysql
                            [type] => ->
                        )

                    [3] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php
                            [line] => 480
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                        )

                    [4] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Pdo\Abstract.php
                            [line] => 238
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                        )

                    [5] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\lib\Varien\Db\Adapter\Pdo\Mysql.php
                            [line] => 504
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                        )

                    [6] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php
                            [line] => 794
                            [function] => query
                            [class] => Varien_Db_Adapter_Pdo_Mysql
                            [type] => ->
                        )

                    [7] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Resource\Layout.php
                            [line] => 84
                            [function] => fetchCol
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                        )

                    [8] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout\Update.php
                            [line] => 385
                            [function] => fetchUpdatesByHandle
                            [class] => Mage_Core_Model_Resource_Layout
                            [type] => ->
                        )

                    [9] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout\Update.php
                            [line] => 363
                            [function] => _getUpdateString
                            [class] => Mage_Core_Model_Layout_Update
                            [type] => ->
                        )

                    [10] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout\Update.php
                            [line] => 248
                            [function] => fetchDbLayoutUpdates
                            [class] => Mage_Core_Model_Layout_Update
                            [type] => ->
                        )

                    [11] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout\Update.php
                            [line] => 224
                            [function] => merge
                            [class] => Mage_Core_Model_Layout_Update
                            [type] => ->
                        )

                    [12] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Action.php
                            [line] => 306
                            [function] => load
                            [class] => Mage_Core_Model_Layout_Update
                            [type] => ->
                        )

                    [13] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Catalog\controllers\CategoryController.php
                            [line] => 137
                            [function] => loadLayoutUpdates
                            [class] => Mage_Core_Controller_Varien_Action
                            [type] => ->
                        )

                    [14] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Action.php
                            [line] => 420
                            [function] => viewAction
                            [class] => Mage_Catalog_CategoryController
                            [type] => ->
                        )

                    [15] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php
                            [line] => 254
                            [function] => dispatch
                            [class] => Mage_Core_Controller_Varien_Action
                            [type] => ->
                        )

                    [16] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Front.php
                            [line] => 172
                            [function] => match
                            [class] => Mage_Core_Controller_Varien_Router_Standard
                            [type] => ->
                        )

                    [17] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\App.php
                            [line] => 381
                            [function] => dispatch
                            [class] => Mage_Core_Controller_Varien_Front
                            [type] => ->
                        )

                    [18] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\Mage.php
                            [line] => 698
                            [function] => run
                            [class] => Mage_Core_Model_App
                            [type] => ->
                        )

                    [19] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\index.php
                            [line] => 104
                            [function] => run
                            [class] => Mage
                            [type] => ::
                        )

                )

            [previous:Exception:private] => 
            [errorInfo] => Array
                (
                    [0] => 08S01
                    [1] => 1053
                    [2] => Server shutdown in progress
                )

        )

    [_previous:Zend_Exception:private] => 
)

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php:228 Stack trace: #0 I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php(228): PDOStatement->execute() #1 I:\WWW\Sklep_www4\lib\Varien\Db\Statement\Pdo\Mysql.php(110): Zend_Db_Statement_Pdo->_execute() #2 I:\WWW\Sklep_www4\app\code\core\Zend\Db\Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute() #3 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute() #4 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query() #5 I:\WWW\Sklep_www4\lib\Varien\Db\Adapter\Pdo\Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query() #6 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php(828): Varien_Db_Adapter_Pdo_Mysql->query() #7 I:\WWW\Sklep_www4\app\code\local\Mage\Core\Model\Resource\Session.php(239): Zend_Db_Adapter_Abstract->fetchOne() #8 [internal function]: Mage_Core_Model_Resource_Session->write() #9 I:\WWW\Sklep_www4\app\code\local\Mage\Core\Model\Resource\Session.php(97): session_write_close() #10 [internal function]: Mage_Core_Model_Resource_Session->__destruct() #11 {main} Next Zend_Db_Statement_Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT `core_session`.* FROM `core_session` WHERE (session_id = :session_id) in I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php:235 Stack trace: #0 I:\WWW\Sklep_www4\lib\Varien\Db\Statement\Pdo\Mysql.php(110): Zend_Db_Statement_Pdo->_execute() #1 I:\WWW\Sklep_www4\app\code\core\Zend\Db\Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute() #2 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute() #3 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query() #4 I:\WWW\Sklep_www4\lib\Varien\Db\Adapter\Pdo\Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query() #5 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php(828): Varien_Db_Adapter_Pdo_Mysql->query() #6 I:\WWW\Sklep_www4\app\code\local\Mage\Core\Model\Resource\Session.php(239): Zend_Db_Adapter_Abstract->fetchOne() #7 [internal function]: Mage_Core_Model_Resource_Session->write() #8 I:\WWW\Sklep_www4\app\code\local\Mage\Core\Model\Resource\Session.php(97): session_write_close() #9 [internal function]: Mage_Core_Model_Resource_Session->__destruct() #10 {main} thrown in I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php on line 235