将magento从1.3升级到1.4再升级到1.8,但在主页上获取数组循环

时间:2014-05-22 19:58:11

标签: php magento magento-1.4 magento-1.8 mage

我已经通过docs建议将网站从1.3更新到1.4,然后完成1.9最新版本,但现在当我点击主页时它会不断重新加载并显示:

关于我如何对此进行排序的任何想法,我花了很长时间在网上看,但对我来说似乎更新没有更新数据库可能??

提前致谢

PDOException Object
(
    [message:protected] => SQLSTATE[HY000]: General error: 1025 Error on rename of './seedpant_staging/#sql-351f_1680c1' to './seedpant_staging/core_layout_link' (errno: 150)
    [string:Exception:private] => 
    [code:protected] => HY000
    [file:protected] => /home/seedpant/public_html/staging/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 228
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/seedpant/public_html/staging/lib/Zend/Db/Statement/Pdo.php
                    [line] => 228
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/seedpant/public_html/staging/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/seedpant/public_html/staging/app/code/core/Zend/Db/Statement.php
                    [line] => 291
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home/seedpant/public_html/staging/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 480
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /home/seedpant/public_html/staging/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `core_layout_link` DROP KEY `store_id`
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /home/seedpant/public_html/staging/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 428
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `core_layout_link` DROP KEY `store_id`
                            [1] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /home/seedpant/public_html/staging/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 347
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `core_layout_link` DROP KEY `store_id`
                        )

                )

            [7] => Array
                (
                    [file] => /home/seedpant/public_html/staging/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 2686
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `core_layout_link` DROP KEY `store_id`
                        )

                )

            [8] => Array
                (
                    [file] => /home/seedpant/public_html/staging/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-1.5.9.9-1.6.0.0.php
                    [line] => 163
                    [function] => dropIndex
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => core_layout_link
                            [1] => STORE_ID
                        )

                )

            [9] => Array
                (
                    [file] => /home/seedpant/public_html/staging/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /home/seedpant/public_html/staging/app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-1.5.9.9-1.6.0.0.php
                        )

                    [function] => include
                )

            [10] => Array
                (
                    [file] => /home/seedpant/public_html/staging/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] => 0.8.28
                            [2] => 1.6.0.4
                        )

                )

            [11] => Array
                (
                    [file] => /home/seedpant/public_html/staging/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 320
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0.8.28
                            [1] => 1.6.0.4
                        )

                )

            [12] => Array
                (
                    [file] => /home/seedpant/public_html/staging/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] => /home/seedpant/public_html/staging/app/code/core/Mage/Core/Model/App.php
                    [line] => 417
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [14] => Array
                (
                    [file] => /home/seedpant/public_html/staging/app/code/core/Mage/Core/Model/App.php
                    [line] => 343
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => /home/seedpant/public_html/staging/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/seedpant/public_html/staging/index.php
                    [line] => 87
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => HY000
            [1] => 1025
            [2] => Error on rename of './seedpant_staging/#sql-351f_1680c1' to './seedpant_staging/core_layout_link' (errno: 150)
        )

)

0 个答案:

没有答案