PDOException Object
(
    [message:protected] => SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'core_variable' already exists
    [string:Exception:private] => 
    [code:protected] => 42S01
    [file:protected] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/lib/Varien/Db/Adapter/Pdo/Mysql.php
    [line:protected] => 276
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 276
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `core_email_variable` RENAME TO `core_variable`
                        )

                )

            [1] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 397
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `core_email_variable` RENAME TO `core_variable`
                        )

                )

            [2] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 636
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
    ALTER TABLE `core_email_variable` RENAME TO `core_variable`;
    ALTER TABLE `core_email_variable_value` RENAME TO `core_variable_value`;

                        )

                )

            [3] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.8.18-0.8.19.php
                    [line] => 34
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
    ALTER TABLE `core_email_variable` RENAME TO `core_variable`;
    ALTER TABLE `core_email_variable_value` RENAME TO `core_variable_value`;

                        )

                )

            [4] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 376
                    [args] => Array
                        (
                            [0] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.8.18-0.8.19.php
                        )

                    [function] => include
                )

            [5] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 289
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 0.8.18
                            [2] => 0.8.28
                        )

                )

            [6] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 233
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0.8.18
                            [1] => 0.8.28
                        )

                )

            [7] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 161
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/code/core/Mage/Core/Model/App.php
                    [line] => 399
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [9] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/code/core/Mage/Core/Model/App.php
                    [line] => 329
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [10] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/app/Mage.php
                    [line] => 627
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [11] => Array
                (
                    [file] => /home/dlg/domains/deleidinggroothandel.nl/public_html/webshop/index.php
                    [line] => 81
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42S01
            [1] => 1050
            [2] => Table 'core_variable' already exists
        )

)