Zend_Db_Statement_Exception Object
(
[_chainedException:protected] => PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-website_id' for key 2
[string:private] =>
[code:protected] => 23000
[file:protected] => /home/icefaqs/public_html/magento/lib/Zend/Db/Statement/Pdo.php
[line:protected] => 228
[trace:private] => Array
(
[0] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Zend/Db/Statement/Pdo.php
[line] => 228
[function] => execute
[class] => PDOStatement
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[1] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Zend/Db/Statement.php
[line] => 300
[function] => _execute
[class] => Zend_Db_Statement_Pdo
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[2] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Zend/Db/Adapter/Abstract.php
[line] => 468
[function] => execute
[class] => Zend_Db_Statement
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[3] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php
[line] => 238
[function] => query
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`, `is_visible`, `is_visible_on_front`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[4] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 333
[function] => query
[class] => Zend_Db_Adapter_Pdo_Abstract
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`, `is_visible`, `is_visible_on_front`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[5] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Zend/Db/Adapter/Abstract.php
[line] => 546
[function] => query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`, `is_visible`, `is_visible_on_front`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[6] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 1169
[function] => insert
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => eav_attribute
[1] => Array
(
[entity_type_id] => 1
[attribute_code] => website_id
[backend_model] => customer/customer_attribute_backend_website
[backend_type] => static
[backend_table] =>
[frontend_model] =>
[frontend_input] => select
[frontend_label] => Associate to Website
[frontend_class] =>
[source_model] => customer/customer_attribute_source_website
[is_required] => 1
[is_user_defined] => 0
[default_value] =>
[is_unique] => 0
[note] =>
[is_visible] => 1
[is_visible_on_front] => 0
)
)
)
[7] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 579
[function] => _insertAttribute
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
[0] => Array
(
[entity_type_id] => 1
[attribute_code] => website_id
[backend_model] => customer/customer_attribute_backend_website
[backend_type] => static
[backend_table] =>
[frontend_model] =>
[frontend_input] => select
[frontend_label] => Associate to Website
[frontend_class] =>
[source_model] => customer/customer_attribute_source_website
[is_required] => 1
[is_user_defined] => 0
[default_value] =>
[is_unique] => 0
[note] =>
[is_visible] => 1
[is_visible_on_front] => 0
[input_filter] =>
[lines_to_divide_multiline] => 0
[min_text_length] => 0
[max_text_length] => 0
)
)
)
[8] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 1051
[function] => addAttribute
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
[0] => customer
[1] => website_id
[2] => Array
(
[type] => static
[label] => Associate to Website
[input] => select
[source] => customer/customer_attribute_source_website
[backend] => customer/customer_attribute_backend_website
[sort_order] => 10
)
)
)
[9] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Customer/sql/customer_setup/mysql4-upgrade-0.8.4-0.8.5.php
[line] => 31
[function] => installEntities
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
)
)
[10] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 376
[args] => Array
(
[0] => /home/icefaqs/public_html/magento/app/code/core/Mage/Customer/sql/customer_setup/mysql4-upgrade-0.8.4-0.8.5.php
)
[function] => include
)
[11] => Array
(
[file] => /home/icefaqs/public_html/magento/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.3
[2] => 1.4.0.0.7
)
)
[12] => Array
(
[file] => /home/icefaqs/public_html/magento/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.3
[1] => 1.4.0.0.7
)
)
[13] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 161
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[14] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Core/Model/App.php
[line] => 363
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[15] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Core/Model/App.php
[line] => 295
[function] => _initModules
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
)
)
[16] => Array
(
[file] => /home/icefaqs/public_html/magento/app/Mage.php
[line] => 596
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] =>
[scope_type] => store
[options] => Array
(
)
)
)
)
[17] => Array
(
[file] => /home/icefaqs/public_html/magento/index.php
[line] => 80
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
)
)
)
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry '1-website_id' for key 2
)
)
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-website_id' for key 2
[string:private] =>
[code:protected] => 23000
[file:protected] => /home/icefaqs/public_html/magento/lib/Zend/Db/Statement/Pdo.php
[line:protected] => 234
[trace:private] => Array
(
[0] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Zend/Db/Statement.php
[line] => 300
[function] => _execute
[class] => Zend_Db_Statement_Pdo
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[1] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Zend/Db/Adapter/Abstract.php
[line] => 468
[function] => execute
[class] => Zend_Db_Statement
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[2] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php
[line] => 238
[function] => query
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`, `is_visible`, `is_visible_on_front`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[3] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 333
[function] => query
[class] => Zend_Db_Adapter_Pdo_Abstract
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`, `is_visible`, `is_visible_on_front`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[4] => Array
(
[file] => /home/icefaqs/public_html/magento/lib/Zend/Db/Adapter/Abstract.php
[line] => 546
[function] => query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`, `is_visible`, `is_visible_on_front`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 1
[1] => website_id
[2] => customer/customer_attribute_backend_website
[3] => static
[4] =>
[5] =>
[6] => select
[7] => Associate to Website
[8] =>
[9] => customer/customer_attribute_source_website
[10] => 1
[11] => 0
[12] =>
[13] => 0
[14] =>
[15] => 1
[16] => 0
)
)
)
[5] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 1169
[function] => insert
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => eav_attribute
[1] => Array
(
[entity_type_id] => 1
[attribute_code] => website_id
[backend_model] => customer/customer_attribute_backend_website
[backend_type] => static
[backend_table] =>
[frontend_model] =>
[frontend_input] => select
[frontend_label] => Associate to Website
[frontend_class] =>
[source_model] => customer/customer_attribute_source_website
[is_required] => 1
[is_user_defined] => 0
[default_value] =>
[is_unique] => 0
[note] =>
[is_visible] => 1
[is_visible_on_front] => 0
)
)
)
[6] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 579
[function] => _insertAttribute
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
[0] => Array
(
[entity_type_id] => 1
[attribute_code] => website_id
[backend_model] => customer/customer_attribute_backend_website
[backend_type] => static
[backend_table] =>
[frontend_model] =>
[frontend_input] => select
[frontend_label] => Associate to Website
[frontend_class] =>
[source_model] => customer/customer_attribute_source_website
[is_required] => 1
[is_user_defined] => 0
[default_value] =>
[is_unique] => 0
[note] =>
[is_visible] => 1
[is_visible_on_front] => 0
[input_filter] =>
[lines_to_divide_multiline] => 0
[min_text_length] => 0
[max_text_length] => 0
)
)
)
[7] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 1051
[function] => addAttribute
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
[0] => customer
[1] => website_id
[2] => Array
(
[type] => static
[label] => Associate to Website
[input] => select
[source] => customer/customer_attribute_source_website
[backend] => customer/customer_attribute_backend_website
[sort_order] => 10
)
)
)
[8] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Customer/sql/customer_setup/mysql4-upgrade-0.8.4-0.8.5.php
[line] => 31
[function] => installEntities
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
)
)
[9] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 376
[args] => Array
(
[0] => /home/icefaqs/public_html/magento/app/code/core/Mage/Customer/sql/customer_setup/mysql4-upgrade-0.8.4-0.8.5.php
)
[function] => include
)
[10] => Array
(
[file] => /home/icefaqs/public_html/magento/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.3
[2] => 1.4.0.0.7
)
)
[11] => Array
(
[file] => /home/icefaqs/public_html/magento/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.3
[1] => 1.4.0.0.7
)
)
[12] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 161
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[13] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Core/Model/App.php
[line] => 363
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[14] => Array
(
[file] => /home/icefaqs/public_html/magento/app/code/core/Mage/Core/Model/App.php
[line] => 295
[function] => _initModules
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
)
)
[15] => Array
(
[file] => /home/icefaqs/public_html/magento/app/Mage.php
[line] => 596
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] =>
[scope_type] => store
[options] => Array
(
)
)
)
)
[16] => Array
(
[file] => /home/icefaqs/public_html/magento/index.php
[line] => 80
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
)
)
)
)