Zend_Db_Statement_Exception Object
(
    [_previous:Zend_Exception:private] => 
    [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`alloko_c`.`xmlconnect_images`, CONSTRAINT `FK_6C55A623A089E4FEA9201FFE01693167` FOREIGN KEY (`application_id`) REFERENCES `xmlconnect_application` (`application_id`) ON DELETE CASCADE ON UPDA)
    [string:Exception:private] => 
    [code:protected] => 23000
    [file:protected] => /home/alloko/public_html/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 234
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/alloko/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 1
                                    [1] => 3535_1.png
                                    [2] => icon
                                    [3] => 1
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Zend/Db/Statement.php
                    [line] => 291
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 1
                                    [1] => 3535_1.png
                                    [2] => icon
                                    [3] => 1
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/alloko/public_html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 479
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 1
                                    [1] => 3535_1.png
                                    [2] => icon
                                    [3] => 1
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home/alloko/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `xmlconnect_images` (`application_id`, `image_file`, `image_type`, `order`) VALUES (?, ?, ?, ?)
                            [1] => Array
                                (
                                    [0] => 1
                                    [1] => 3535_1.png
                                    [2] => icon
                                    [3] => 1
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /home/alloko/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 428
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `xmlconnect_images` (`application_id`, `image_file`, `image_type`, `order`) VALUES (?, ?, ?, ?)
                            [1] => Array
                                (
                                    [0] => 1
                                    [1] => 3535_1.png
                                    [2] => icon
                                    [3] => 1
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /home/alloko/public_html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 574
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `xmlconnect_images` (`application_id`, `image_file`, `image_type`, `order`) VALUES (?, ?, ?, ?)
                            [1] => Array
                                (
                                    [0] => 1
                                    [1] => 3535_1.png
                                    [2] => icon
                                    [3] => 1
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/Model/Resource/Images.php
                    [line] => 86
                    [function] => insert
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => xmlconnect_images
                            [1] => Array
                                (
                                    [application_id] => 1
                                    [image_file] => 3535_1.png
                                    [image_type] => icon
                                    [order] => 1
                                )

                        )

                )

            [7] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/Model/Images.php
                    [line] => 316
                    [function] => saveImage
                    [class] => Mage_XmlConnect_Model_Resource_Images
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1
                            [1] => 3535_1.png
                            [2] => icon
                            [3] => 1
                        )

                )

            [8] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/Model/Images.php
                    [line] => 459
                    [function] => saveImage
                    [class] => Mage_XmlConnect_Model_Images
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1
                            [1] => 3535_1.png
                            [2] => icon
                            [3] => 1
                        )

                )

            [9] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/sql/xmlconnect_setup/mysql4-data-upgrade-1.6.0.0-1.6.0.0.1.php
                    [line] => 49
                    [function] => dataUpgradeOldConfig
                    [class] => Mage_XmlConnect_Model_Images
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 1
                                )

                        )

                )

            [10] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/sql/xmlconnect_setup/mysql4-data-upgrade-1.6.0.0-1.6.0.0.1.php
                        )

                    [function] => include
                )

            [11] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 407
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => data-upgrade
                            [1] => 1.6.0.0
                            [2] => 1.6.0.0.1
                        )

                )

            [12] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 286
                    [function] => _upgradeData
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1.6.0.0
                            [1] => 1.6.0.0.1
                        )

                )

            [13] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 269
                    [function] => applyDataUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [14] => Array
                (
                    [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/App.php
                    [line] => 351
                    [function] => applyAllDataUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => /home/alloko/public_html/app/Mage.php
                    [line] => 684
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [16] => Array
                (
                    [file] => /home/alloko/public_html/index.php
                    [line] => 87
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => PDOException Object
        (
            [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`alloko_c`.`xmlconnect_images`, CONSTRAINT `FK_6C55A623A089E4FEA9201FFE01693167` FOREIGN KEY (`application_id`) REFERENCES `xmlconnect_application` (`application_id`) ON DELETE CASCADE ON UPDA)
            [string:Exception:private] => 
            [code:protected] => 23000
            [file:protected] => /home/alloko/public_html/lib/Zend/Db/Statement/Pdo.php
            [line:protected] => 228
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /home/alloko/public_html/lib/Zend/Db/Statement/Pdo.php
                            [line] => 228
                            [function] => execute
                            [class] => PDOStatement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 1
                                            [1] => 3535_1.png
                                            [2] => icon
                                            [3] => 1
                                        )

                                )

                        )

                    [1] => Array
                        (
                            [file] => /home/alloko/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php
                            [line] => 110
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 1
                                            [1] => 3535_1.png
                                            [2] => icon
                                            [3] => 1
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Zend/Db/Statement.php
                            [line] => 291
                            [function] => _execute
                            [class] => Varien_Db_Statement_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 1
                                            [1] => 3535_1.png
                                            [2] => icon
                                            [3] => 1
                                        )

                                )

                        )

                    [3] => Array
                        (
                            [file] => /home/alloko/public_html/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 479
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 1
                                            [1] => 3535_1.png
                                            [2] => icon
                                            [3] => 1
                                        )

                                )

                        )

                    [4] => Array
                        (
                            [file] => /home/alloko/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                            [line] => 238
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `xmlconnect_images` (`application_id`, `image_file`, `image_type`, `order`) VALUES (?, ?, ?, ?)
                                    [1] => Array
                                        (
                                            [0] => 1
                                            [1] => 3535_1.png
                                            [2] => icon
                                            [3] => 1
                                        )

                                )

                        )

                    [5] => Array
                        (
                            [file] => /home/alloko/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                            [line] => 428
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `xmlconnect_images` (`application_id`, `image_file`, `image_type`, `order`) VALUES (?, ?, ?, ?)
                                    [1] => Array
                                        (
                                            [0] => 1
                                            [1] => 3535_1.png
                                            [2] => icon
                                            [3] => 1
                                        )

                                )

                        )

                    [6] => Array
                        (
                            [file] => /home/alloko/public_html/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 574
                            [function] => query
                            [class] => Varien_Db_Adapter_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `xmlconnect_images` (`application_id`, `image_file`, `image_type`, `order`) VALUES (?, ?, ?, ?)
                                    [1] => Array
                                        (
                                            [0] => 1
                                            [1] => 3535_1.png
                                            [2] => icon
                                            [3] => 1
                                        )

                                )

                        )

                    [7] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/Model/Resource/Images.php
                            [line] => 86
                            [function] => insert
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => xmlconnect_images
                                    [1] => Array
                                        (
                                            [application_id] => 1
                                            [image_file] => 3535_1.png
                                            [image_type] => icon
                                            [order] => 1
                                        )

                                )

                        )

                    [8] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/Model/Images.php
                            [line] => 316
                            [function] => saveImage
                            [class] => Mage_XmlConnect_Model_Resource_Images
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 1
                                    [1] => 3535_1.png
                                    [2] => icon
                                    [3] => 1
                                )

                        )

                    [9] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/Model/Images.php
                            [line] => 459
                            [function] => saveImage
                            [class] => Mage_XmlConnect_Model_Images
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 1
                                    [1] => 3535_1.png
                                    [2] => icon
                                    [3] => 1
                                )

                        )

                    [10] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/sql/xmlconnect_setup/mysql4-data-upgrade-1.6.0.0-1.6.0.0.1.php
                            [line] => 49
                            [function] => dataUpgradeOldConfig
                            [class] => Mage_XmlConnect_Model_Images
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 1
                                        )

                                )

                        )

                    [11] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 624
                            [args] => Array
                                (
                                    [0] => /home/alloko/public_html/app/code/core/Mage/XmlConnect/sql/xmlconnect_setup/mysql4-data-upgrade-1.6.0.0-1.6.0.0.1.php
                                )

                            [function] => include
                        )

                    [12] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 407
                            [function] => _modifyResourceDb
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => data-upgrade
                                    [1] => 1.6.0.0
                                    [2] => 1.6.0.0.1
                                )

                        )

                    [13] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 286
                            [function] => _upgradeData
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 1.6.0.0
                                    [1] => 1.6.0.0.1
                                )

                        )

                    [14] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 269
                            [function] => applyDataUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [15] => Array
                        (
                            [file] => /home/alloko/public_html/app/code/core/Mage/Core/Model/App.php
                            [line] => 351
                            [function] => applyAllDataUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                    [16] => Array
                        (
                            [file] => /home/alloko/public_html/app/Mage.php
                            [line] => 684
                            [function] => run
                            [class] => Mage_Core_Model_App
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [scope_code] => 
                                            [scope_type] => store
                                            [options] => Array
                                                (
                                                )

                                        )

                                )

                        )

                    [17] => Array
                        (
                            [file] => /home/alloko/public_html/index.php
                            [line] => 87
                            [function] => run
                            [class] => Mage
                            [type] => ::
                            [args] => Array
                                (
                                    [0] => 
                                    [1] => store
                                )

                        )

                )

            [previous:Exception:private] => 
            [errorInfo] => Array
                (
                    [0] => 23000
                    [1] => 1452
                    [2] => Cannot add or update a child row: a foreign key constraint fails (`alloko_c`.`xmlconnect_images`, CONSTRAINT `FK_6C55A623A089E4FEA9201FFE01693167` FOREIGN KEY (`application_id`) REFERENCES `xmlconnect_application` (`application_id`) ON DELETE CASCADE ON UPDA)
                )

        )

)