PDOException Object
(
    [message:protected] => SQLSTATE[HY000]: General error: 1005 Can't create table 'cheapeci_mage.mgn_am_shiprules_attribute' (errno: 121)
    [string:Exception:private] => 
    [code:protected] => HY000
    [file:protected] => /chroot/home/cheapeci/newdaycigs.com/html/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 228
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/html/lib/Zend/Db/Statement/Pdo.php
                    [line] => 228
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/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] => /chroot/home/cheapeci/newdaycigs.com/html/lib/Zend/Db/Statement.php
                    [line] => 300
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 479
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `mgn_am_shiprules_attribute` (
  `attr_id` mediumint(8) unsigned NOT NULL auto_increment,
  `rule_id` mediumint(8) unsigned NOT NULL,
  `code`    varchar(255) NOT NULL default '',
  PRIMARY KEY  (`attr_id`),
  CONSTRAINT `FK_SHIPRULES_RULE` FOREIGN KEY (`rule_id`) REFERENCES mgn_am_shiprules_rule (`rule_id`) ON DELETE CASCADE ON UPDATE CASCADE 
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 419
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `mgn_am_shiprules_attribute` (
  `attr_id` mediumint(8) unsigned NOT NULL auto_increment,
  `rule_id` mediumint(8) unsigned NOT NULL,
  `code`    varchar(255) NOT NULL default '',
  PRIMARY KEY  (`attr_id`),
  CONSTRAINT `FK_SHIPRULES_RULE` FOREIGN KEY (`rule_id`) REFERENCES mgn_am_shiprules_rule (`rule_id`) ON DELETE CASCADE ON UPDATE CASCADE 
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                            [1] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 340
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `mgn_am_shiprules_attribute` (
  `attr_id` mediumint(8) unsigned NOT NULL auto_increment,
  `rule_id` mediumint(8) unsigned NOT NULL,
  `code`    varchar(255) NOT NULL default '',
  PRIMARY KEY  (`attr_id`),
  CONSTRAINT `FK_SHIPRULES_RULE` FOREIGN KEY (`rule_id`) REFERENCES mgn_am_shiprules_rule (`rule_id`) ON DELETE CASCADE ON UPDATE CASCADE 
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                        )

                )

            [7] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 608
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => CREATE TABLE `mgn_am_shiprules_attribute` (
  `attr_id` mediumint(8) unsigned NOT NULL auto_increment,
  `rule_id` mediumint(8) unsigned NOT NULL,
  `code`    varchar(255) NOT NULL default '',
  PRIMARY KEY  (`attr_id`),
  CONSTRAINT `FK_SHIPRULES_RULE` FOREIGN KEY (`rule_id`) REFERENCES mgn_am_shiprules_rule (`rule_id`) ON DELETE CASCADE ON UPDATE CASCADE 
) ENGINE=InnoDB DEFAULT CHARSET=utf8
                        )

                )

            [8] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/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 `mgn_am_shiprules_attribute` (
  `attr_id` mediumint(8) unsigned NOT NULL auto_increment,
  `rule_id` mediumint(8) unsigned NOT NULL,
  `code`    varchar(255) NOT NULL default '',
  PRIMARY KEY  (`attr_id`),
  CONSTRAINT `FK_SHIPRULES_RULE` FOREIGN KEY (`rule_id`) REFERENCES mgn_am_shiprules_rule (`rule_id`) ON DELETE CASCADE ON UPDATE CASCADE 
) ENGINE=InnoDB DEFAULT CHARSET=utf8; 

                        )

                )

            [9] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/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 `mgn_am_shiprules_attribute` (
  `attr_id` mediumint(8) unsigned NOT NULL auto_increment,
  `rule_id` mediumint(8) unsigned NOT NULL,
  `code`    varchar(255) NOT NULL default '',
  PRIMARY KEY  (`attr_id`),
  CONSTRAINT `FK_SHIPRULES_RULE` FOREIGN KEY (`rule_id`) REFERENCES mgn_am_shiprules_rule (`rule_id`) ON DELETE CASCADE ON UPDATE CASCADE 
) ENGINE=InnoDB DEFAULT CHARSET=utf8; 

                        )

                )

            [10] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/html/app/code/local/Amasty/Shiprules/sql/amshiprules_setup/mysql4-upgrade-1.0.0-1.0.1.php
                    [line] => 15
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
CREATE TABLE `mgn_am_shiprules_attribute` (
  `attr_id` mediumint(8) unsigned NOT NULL auto_increment,
  `rule_id` mediumint(8) unsigned NOT NULL,
  `code`    varchar(255) NOT NULL default '',
  PRIMARY KEY  (`attr_id`),
  CONSTRAINT `FK_SHIPRULES_RULE` FOREIGN KEY (`rule_id`) REFERENCES mgn_am_shiprules_rule (`rule_id`) ON DELETE CASCADE ON UPDATE CASCADE 
) ENGINE=InnoDB DEFAULT CHARSET=utf8; 

                        )

                )

            [11] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /chroot/home/cheapeci/newdaycigs.com/html/app/code/local/Amasty/Shiprules/sql/amshiprules_setup/mysql4-upgrade-1.0.0-1.0.1.php
                        )

                    [function] => include
                )

            [12] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/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.0
                            [2] => 1.0.4
                        )

                )

            [13] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/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.0
                            [1] => 1.0.4
                        )

                )

            [14] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/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] => /chroot/home/cheapeci/newdaycigs.com/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] => /chroot/home/cheapeci/newdaycigs.com/html/app/code/core/Mage/Core/Model/App.php
                    [line] => 343
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [17] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/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] => /chroot/home/cheapeci/newdaycigs.com/html/index.php
                    [line] => 87
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

            [19] => Array
                (
                    [file] => /chroot/home/cheapeci/newdaycigs.com/html/lightspeed.php
                    [line] => 35
                    [args] => Array
                        (
                            [0] => /chroot/home/cheapeci/newdaycigs.com/html/index.php
                        )

                    [function] => include_once
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => HY000
            [1] => 1005
            [2] => Can't create table 'cheapeci_mage.mgn_am_shiprules_attribute' (errno: 121)
        )

)