Zend_Db_Statement_Exception Object
(
    [message:protected] => SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT `main_table`.* FROM `core_store` AS `main_table` ORDER BY CASE WHEN main_table.store_id = 0 THEN 0 ELSE 1 END ASC, main_table.sort_order ASC, main_table.name ASC
    [string:Exception:private] => 
    [code:protected] => 0
    [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] => 737
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => I:\WWW\Sklep_www4\lib\Varien\Data\Collection\Db.php
                    [line] => 740
                    [function] => fetchAll
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                )

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

            [8] => Array
                (
                    [file] => I:\WWW\Sklep_www4\lib\Varien\Data\Collection\Db.php
                    [line] => 572
                    [function] => getData
                    [class] => Mage_Core_Model_Resource_Db_Collection_Abstract
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Resource\Store\Collection.php
                    [line] => 174
                    [function] => load
                    [class] => Varien_Data_Collection_Db
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => I:\WWW\Sklep_www4\lib\Varien\Data\Collection.php
                    [line] => 752
                    [function] => load
                    [class] => Mage_Core_Model_Resource_Store_Collection
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\App.php
                    [line] => 651
                    [function] => count
                    [class] => Varien_Data_Collection
                    [type] => ->
                )

            [12] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\App.php
                    [line] => 493
                    [function] => _initStores
                    [class] => Mage_Core_Model_App
                    [type] => ->
                )

            [13] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\App.php
                    [line] => 376
                    [function] => _initCurrentStore
                    [class] => Mage_Core_Model_App
                    [type] => ->
                )

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

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

        )

    [previous:Exception:private] => PDOException Object
        (
            [message:protected] => SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
            [string:Exception:private] => 
            [code:protected] => HY000
            [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] => 737
                            [function] => query
                            [class] => Varien_Db_Adapter_Pdo_Mysql
                            [type] => ->
                        )

                    [7] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\lib\Varien\Data\Collection\Db.php
                            [line] => 740
                            [function] => fetchAll
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                        )

                    [8] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Resource\Db\Collection\Abstract.php
                            [line] => 521
                            [function] => _fetchAll
                            [class] => Varien_Data_Collection_Db
                            [type] => ->
                        )

                    [9] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\lib\Varien\Data\Collection\Db.php
                            [line] => 572
                            [function] => getData
                            [class] => Mage_Core_Model_Resource_Db_Collection_Abstract
                            [type] => ->
                        )

                    [10] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Resource\Store\Collection.php
                            [line] => 174
                            [function] => load
                            [class] => Varien_Data_Collection_Db
                            [type] => ->
                        )

                    [11] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\lib\Varien\Data\Collection.php
                            [line] => 752
                            [function] => load
                            [class] => Mage_Core_Model_Resource_Store_Collection
                            [type] => ->
                        )

                    [12] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\App.php
                            [line] => 651
                            [function] => count
                            [class] => Varien_Data_Collection
                            [type] => ->
                        )

                    [13] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\App.php
                            [line] => 493
                            [function] => _initStores
                            [class] => Mage_Core_Model_App
                            [type] => ->
                        )

                    [14] => Array
                        (
                            [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\App.php
                            [line] => 376
                            [function] => _initCurrentStore
                            [class] => Mage_Core_Model_App
                            [type] => ->
                        )

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

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

                )

            [previous:Exception:private] => 
            [errorInfo] => Array
                (
                    [0] => HY000
                    [1] => 2006
                    [2] => MySQL server has gone away
                )

        )

    [_previous:Zend_Exception:private] => 
)