Zend_Db_Statement_Exception Object
(
    [message:protected] => SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress, query was: SELECT `cms_block`.*, `cbs`.`store_id` FROM `cms_block`
 INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='dodatkowe_js') AND (is_active = 1) AND (cbs.store_id in (1, 0) ) ORDER BY `store_id` DESC LIMIT 1
    [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] => 511
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                )

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

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

            [7] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Cms\Model\Resource\Block.php
                    [line] => 137
                    [function] => load
                    [class] => Mage_Core_Model_Resource_Db_Abstract
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Abstract.php
                    [line] => 225
                    [function] => load
                    [class] => Mage_Cms_Model_Resource_Block
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Cms\Block\Block.php
                    [line] => 64
                    [function] => load
                    [class] => Mage_Core_Model_Abstract
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 923
                    [function] => _toHtml
                    [class] => Mage_Cms_Block_Block
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\html\head.phtml
                    [line] => 307
                    [function] => toHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [12] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 241
                    [args] => Array
                        (
                            [0] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\html\head.phtml
                        )

                    [function] => include
                )

            [13] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 272
                    [function] => fetchView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [14] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 287
                    [function] => renderView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [15] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 923
                    [function] => _toHtml
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [16] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 641
                    [function] => toHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [17] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 585
                    [function] => _getChildHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [18] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\1column.phtml
                    [line] => 10
                    [function] => getChildHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [19] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 241
                    [args] => Array
                        (
                            [0] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\1column.phtml
                        )

                    [function] => include
                )

            [20] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 272
                    [function] => fetchView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [21] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 287
                    [function] => renderView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [22] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 923
                    [function] => _toHtml
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [23] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout.php
                    [line] => 701
                    [function] => toHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [24] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Action.php
                    [line] => 390
                    [function] => getOutput
                    [class] => Mage_Core_Model_Layout
                    [type] => ->
                )

            [25] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\astor\Customer\controllers\AccountController.php
                    [line] => 166
                    [function] => renderLayout
                    [class] => Mage_Core_Controller_Varien_Action
                    [type] => ->
                )

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

            [27] => 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] => ->
                )

            [28] => 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] => ->
                )

            [29] => 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] => ->
                )

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

            [31] => 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] => 511
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                        )

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

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

                    [8] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Cms\Model\Resource\Block.php
                            [line] => 137
                            [function] => load
                            [class] => Mage_Core_Model_Resource_Db_Abstract
                            [type] => ->
                        )

                    [9] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Abstract.php
                            [line] => 225
                            [function] => load
                            [class] => Mage_Cms_Model_Resource_Block
                            [type] => ->
                        )

                    [10] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Cms\Block\Block.php
                            [line] => 64
                            [function] => load
                            [class] => Mage_Core_Model_Abstract
                            [type] => ->
                        )

                    [11] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                            [line] => 923
                            [function] => _toHtml
                            [class] => Mage_Cms_Block_Block
                            [type] => ->
                        )

                    [12] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\html\head.phtml
                            [line] => 307
                            [function] => toHtml
                            [class] => Mage_Core_Block_Abstract
                            [type] => ->
                        )

                    [13] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                            [line] => 241
                            [args] => Array
                                (
                                    [0] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\html\head.phtml
                                )

                            [function] => include
                        )

                    [14] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                            [line] => 272
                            [function] => fetchView
                            [class] => Mage_Core_Block_Template
                            [type] => ->
                        )

                    [15] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                            [line] => 287
                            [function] => renderView
                            [class] => Mage_Core_Block_Template
                            [type] => ->
                        )

                    [16] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                            [line] => 923
                            [function] => _toHtml
                            [class] => Mage_Core_Block_Template
                            [type] => ->
                        )

                    [17] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                            [line] => 641
                            [function] => toHtml
                            [class] => Mage_Core_Block_Abstract
                            [type] => ->
                        )

                    [18] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                            [line] => 585
                            [function] => _getChildHtml
                            [class] => Mage_Core_Block_Abstract
                            [type] => ->
                        )

                    [19] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\1column.phtml
                            [line] => 10
                            [function] => getChildHtml
                            [class] => Mage_Core_Block_Abstract
                            [type] => ->
                        )

                    [20] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                            [line] => 241
                            [args] => Array
                                (
                                    [0] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\1column.phtml
                                )

                            [function] => include
                        )

                    [21] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                            [line] => 272
                            [function] => fetchView
                            [class] => Mage_Core_Block_Template
                            [type] => ->
                        )

                    [22] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                            [line] => 287
                            [function] => renderView
                            [class] => Mage_Core_Block_Template
                            [type] => ->
                        )

                    [23] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                            [line] => 923
                            [function] => _toHtml
                            [class] => Mage_Core_Block_Template
                            [type] => ->
                        )

                    [24] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout.php
                            [line] => 701
                            [function] => toHtml
                            [class] => Mage_Core_Block_Abstract
                            [type] => ->
                        )

                    [25] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Action.php
                            [line] => 390
                            [function] => getOutput
                            [class] => Mage_Core_Model_Layout
                            [type] => ->
                        )

                    [26] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\local\astor\Customer\controllers\AccountController.php
                            [line] => 166
                            [function] => renderLayout
                            [class] => Mage_Core_Controller_Varien_Action
                            [type] => ->
                        )

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

                    [28] => 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] => ->
                        )

                    [29] => 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] => ->
                        )

                    [30] => 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] => ->
                        )

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

                    [32] => 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(511): 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(511): 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