Zend_Db_Statement_Exception Object
(
    [_previous:Zend_Exception:private] => 
    [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'searchindex_setup' for key 'PRIMARY'
    [string:Exception:private] => 
    [code:protected] => 23000
    [file:protected] => /var/www/sites/rickys/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 234
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/sites/rickys/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => searchindex_setup
                                    [1] => 1.0.5
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/sites/rickys/lib/Zend/Db/Statement.php
                    [line] => 300
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => searchindex_setup
                                    [1] => 1.0.5
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/sites/rickys/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 479
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => searchindex_setup
                                    [1] => 1.0.5
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/sites/rickys/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `core_resource` (`code`, `version`) VALUES (?, ?)
                            [1] => Array
                                (
                                    [0] => searchindex_setup
                                    [1] => 1.0.5
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/sites/rickys/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 419
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `core_resource` (`code`, `version`) VALUES (?, ?)
                            [1] => Array
                                (
                                    [0] => searchindex_setup
                                    [1] => 1.0.5
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/sites/rickys/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 574
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `core_resource` (`code`, `version`) VALUES (?, ?)
                            [1] => Array
                                (
                                    [0] => searchindex_setup
                                    [1] => 1.0.5
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Resource.php
                    [line] => 133
                    [function] => insert
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => core_resource
                            [1] => Array
                                (
                                    [code] => searchindex_setup
                                    [version] => 1.0.5
                                )

                        )

                )

            [7] => Array
                (
                    [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 573
                    [function] => setDbVersion
                    [class] => Mage_Core_Model_Resource_Resource
                    [type] => ->
                    [args] => Array
                        (
                            [0] => searchindex_setup
                            [1] => 1.0.5
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 641
                    [function] => _setResourceVersion
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 1.0.5
                        )

                )

            [9] => Array
                (
                    [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 422
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 
                            [2] => 1.0.5.1
                        )

                )

            [10] => Array
                (
                    [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 327
                    [function] => _installResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1.0.5.1
                        )

                )

            [11] => Array
                (
                    [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 235
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [12] => Array
                (
                    [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/App.php
                    [line] => 417
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [13] => Array
                (
                    [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/App.php
                    [line] => 343
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [14] => Array
                (
                    [file] => /var/www/sites/rickys/app/Mage.php
                    [line] => 683
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => base
                                    [scope_type] => website
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [15] => Array
                (
                    [file] => /var/www/sites/rickys/index.php
                    [line] => 87
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => base
                            [1] => website
                        )

                )

        )

    [previous:Exception:private] => PDOException Object
        (
            [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'searchindex_setup' for key 'PRIMARY'
            [string:Exception:private] => 
            [code:protected] => 23000
            [file:protected] => /var/www/sites/rickys/lib/Zend/Db/Statement/Pdo.php
            [line:protected] => 228
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /var/www/sites/rickys/lib/Zend/Db/Statement/Pdo.php
                            [line] => 228
                            [function] => execute
                            [class] => PDOStatement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => searchindex_setup
                                            [1] => 1.0.5
                                        )

                                )

                        )

                    [1] => Array
                        (
                            [file] => /var/www/sites/rickys/lib/Varien/Db/Statement/Pdo/Mysql.php
                            [line] => 110
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => searchindex_setup
                                            [1] => 1.0.5
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [file] => /var/www/sites/rickys/lib/Zend/Db/Statement.php
                            [line] => 300
                            [function] => _execute
                            [class] => Varien_Db_Statement_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => searchindex_setup
                                            [1] => 1.0.5
                                        )

                                )

                        )

                    [3] => Array
                        (
                            [file] => /var/www/sites/rickys/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 479
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => searchindex_setup
                                            [1] => 1.0.5
                                        )

                                )

                        )

                    [4] => Array
                        (
                            [file] => /var/www/sites/rickys/lib/Zend/Db/Adapter/Pdo/Abstract.php
                            [line] => 238
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `core_resource` (`code`, `version`) VALUES (?, ?)
                                    [1] => Array
                                        (
                                            [0] => searchindex_setup
                                            [1] => 1.0.5
                                        )

                                )

                        )

                    [5] => Array
                        (
                            [file] => /var/www/sites/rickys/lib/Varien/Db/Adapter/Pdo/Mysql.php
                            [line] => 419
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `core_resource` (`code`, `version`) VALUES (?, ?)
                                    [1] => Array
                                        (
                                            [0] => searchindex_setup
                                            [1] => 1.0.5
                                        )

                                )

                        )

                    [6] => Array
                        (
                            [file] => /var/www/sites/rickys/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 574
                            [function] => query
                            [class] => Varien_Db_Adapter_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `core_resource` (`code`, `version`) VALUES (?, ?)
                                    [1] => Array
                                        (
                                            [0] => searchindex_setup
                                            [1] => 1.0.5
                                        )

                                )

                        )

                    [7] => Array
                        (
                            [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Resource.php
                            [line] => 133
                            [function] => insert
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => core_resource
                                    [1] => Array
                                        (
                                            [code] => searchindex_setup
                                            [version] => 1.0.5
                                        )

                                )

                        )

                    [8] => Array
                        (
                            [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 573
                            [function] => setDbVersion
                            [class] => Mage_Core_Model_Resource_Resource
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => searchindex_setup
                                    [1] => 1.0.5
                                )

                        )

                    [9] => Array
                        (
                            [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 641
                            [function] => _setResourceVersion
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => upgrade
                                    [1] => 1.0.5
                                )

                        )

                    [10] => Array
                        (
                            [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 422
                            [function] => _modifyResourceDb
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => upgrade
                                    [1] => 
                                    [2] => 1.0.5.1
                                )

                        )

                    [11] => Array
                        (
                            [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 327
                            [function] => _installResourceDb
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 1.0.5.1
                                )

                        )

                    [12] => Array
                        (
                            [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 235
                            [function] => applyUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [13] => Array
                        (
                            [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/App.php
                            [line] => 417
                            [function] => applyAllUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                    [14] => Array
                        (
                            [file] => /var/www/sites/rickys/app/code/core/Mage/Core/Model/App.php
                            [line] => 343
                            [function] => _initModules
                            [class] => Mage_Core_Model_App
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [15] => Array
                        (
                            [file] => /var/www/sites/rickys/app/Mage.php
                            [line] => 683
                            [function] => run
                            [class] => Mage_Core_Model_App
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [scope_code] => base
                                            [scope_type] => website
                                            [options] => Array
                                                (
                                                )

                                        )

                                )

                        )

                    [16] => Array
                        (
                            [file] => /var/www/sites/rickys/index.php
                            [line] => 87
                            [function] => run
                            [class] => Mage
                            [type] => ::
                            [args] => Array
                                (
                                    [0] => base
                                    [1] => website
                                )

                        )

                )

            [previous:Exception:private] => 
            [errorInfo] => Array
                (
                    [0] => 23000
                    [1] => 1062
                    [2] => Duplicate entry 'searchindex_setup' for key 'PRIMARY'
                )

        )

)