PDOException Object
(
    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'mstcore_urlrewrite_index1'
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /mnt/sites/www.bambibaby.com/files/html/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 228
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/lib/Zend/Db/Statement/Pdo.php
                    [line] => 228
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/lib/Zend/Db/Statement.php
                    [line] => 300
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 479
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE UNIQUE INDEX mstcore_urlrewrite_index1 ON `m_mstcore_urlrewrite` (module, type, entity_id)
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 419
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE UNIQUE INDEX mstcore_urlrewrite_index1 ON `m_mstcore_urlrewrite` (module, type, entity_id)
                            [1] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 340
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE UNIQUE INDEX mstcore_urlrewrite_index1 ON `m_mstcore_urlrewrite` (module, type, entity_id)
                        )

                )

            [7] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 608
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE UNIQUE INDEX mstcore_urlrewrite_index1 ON `m_mstcore_urlrewrite` (module, type, entity_id)
                        )

                )

            [8] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 590
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
CREATE TABLE IF NOT EXISTS `m_mstcore_urlrewrite` (
    `urlrewrite_id` int(11) NOT NULL AUTO_INCREMENT,
    `url_key` VARCHAR(255) NOT NULL DEFAULT '',
    `module` VARCHAR(255) NOT NULL DEFAULT '',
    `type` VARCHAR(255) NOT NULL DEFAULT '',
    `entity_id` INT(11),
    PRIMARY KEY (`urlrewrite_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;
CREATE UNIQUE INDEX mstcore_urlrewrite_index1 ON `m_mstcore_urlrewrite` (module, type, entity_id);
CREATE UNIQUE INDEX mstcore_urlrewrite_index2 ON `m_mstcore_urlrewrite` (url_key, module);

                        )

                )

            [9] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 933
                    [function] => multiQuery
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
CREATE TABLE IF NOT EXISTS `m_mstcore_urlrewrite` (
    `urlrewrite_id` int(11) NOT NULL AUTO_INCREMENT,
    `url_key` VARCHAR(255) NOT NULL DEFAULT '',
    `module` VARCHAR(255) NOT NULL DEFAULT '',
    `type` VARCHAR(255) NOT NULL DEFAULT '',
    `entity_id` INT(11),
    PRIMARY KEY (`urlrewrite_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;
CREATE UNIQUE INDEX mstcore_urlrewrite_index1 ON `m_mstcore_urlrewrite` (module, type, entity_id);
CREATE UNIQUE INDEX mstcore_urlrewrite_index2 ON `m_mstcore_urlrewrite` (url_key, module);

                        )

                )

            [10] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/app/code/local/Mirasvit/MstCore/sql/mstcore_setup/mysql4-upgrade-1.0.6-1.0.7.php
                    [line] => 39
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
CREATE TABLE IF NOT EXISTS `m_mstcore_urlrewrite` (
    `urlrewrite_id` int(11) NOT NULL AUTO_INCREMENT,
    `url_key` VARCHAR(255) NOT NULL DEFAULT '',
    `module` VARCHAR(255) NOT NULL DEFAULT '',
    `type` VARCHAR(255) NOT NULL DEFAULT '',
    `entity_id` INT(11),
    PRIMARY KEY (`urlrewrite_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;
CREATE UNIQUE INDEX mstcore_urlrewrite_index1 ON `m_mstcore_urlrewrite` (module, type, entity_id);
CREATE UNIQUE INDEX mstcore_urlrewrite_index2 ON `m_mstcore_urlrewrite` (url_key, module);

                        )

                )

            [11] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /mnt/sites/www.bambibaby.com/files/html/app/code/local/Mirasvit/MstCore/sql/mstcore_setup/mysql4-upgrade-1.0.6-1.0.7.php
                        )

                    [function] => include
                )

            [12] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 437
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 1.0.6
                            [2] => 1.0.8
                        )

                )

            [13] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 320
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1.0.6
                            [1] => 1.0.8
                        )

                )

            [14] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 235
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/App.php
                    [line] => 417
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [16] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/App.php
                    [line] => 343
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [17] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/app/Mage.php
                    [line] => 683
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [18] => Array
                (
                    [file] => /mnt/sites/www.bambibaby.com/files/html/index.php
                    [line] => 99
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42000
            [1] => 1061
            [2] => Duplicate key name 'mstcore_urlrewrite_index1'
        )

    [xdebug_message] => 
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'mstcore_urlrewrite_index1' in /mnt/sites/www.bambibaby.com/files/html/lib/Zend/Db/Statement/Pdo.php on line 228

Call Stack:
    0.0005     691944   1. {main}() /mnt/sites/www.bambibaby.com/files/html/index.php:0
    0.0023     842152   2. Mage::run() /mnt/sites/www.bambibaby.com/files/html/index.php:99
    0.0066    1259272   3. Mage_Core_Model_App->run() /mnt/sites/www.bambibaby.com/files/html/app/Mage.php:683
    0.0243    2502720   4. Mage_Core_Model_App->_initModules() /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/App.php:343
    0.6375    2538544   5. Mage_Core_Model_Resource_Setup::applyAllUpdates() /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/App.php:417
    3.1062    5413088   6. Mage_Core_Model_Resource_Setup->applyUpdates() /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php:235
    3.1066    5414696   7. Mage_Core_Model_Resource_Setup->_upgradeResourceDb() /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php:320
    3.1066    5414832   8. Mage_Core_Model_Resource_Setup->_modifyResourceDb() /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php:437
    3.1073    5419344   9. include('/mnt/sites/www.bambibaby.com/files/html/app/code/local/Mirasvit/MstCore/sql/mstcore_setup/mysql4-upgrade-1.0.6-1.0.7.php') /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php:624
    3.2556    5437056  10. Mage_Core_Model_Resource_Setup->run() /mnt/sites/www.bambibaby.com/files/html/app/code/local/Mirasvit/MstCore/sql/mstcore_setup/mysql4-upgrade-1.0.6-1.0.7.php:39
    3.2556    5437056  11. Varien_Db_Adapter_Pdo_Mysql->multiQuery() /mnt/sites/www.bambibaby.com/files/html/app/code/core/Mage/Core/Model/Resource/Setup.php:933
    3.2556    5437056  12. Varien_Db_Adapter_Pdo_Mysql->multi_query() /mnt/sites/www.bambibaby.com/files/html/lib/Varien/Db/Adapter/Pdo/Mysql.php:590

)