Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

PLEASE HELP : After keying in the database fields at installation page I get this : 
 
yewjin
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2007-09-06
Kuala Lumpur, Malaysia
 

Zend_Db_Statement_Exception Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘6-coupon_code’ for key 2
[string:private] =>
[code:protected] => 0
[file:protected] => /home/gl2b4lpr/public_html/magento/lib/Zend/Db/Statement/Pdo.php
[line:protected] => 227
[trace:private] => Array
(
[0] => Array
(
[file] => /home/gl2b4lpr/public_html/magento/lib/Zend/Db/Statement.php
[line] => 279
[function] => _execute
[class] => Zend_Db_Statement_Pdo
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 6
[1] => coupon_code
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => text
[7] => Coupon
[8] =>
[9] => 1
[10] => 1
[11] => 1
[12] => 0
[13] =>
[14] => 0
[15] => 0
[16] => 0
[17] => 0
[18] => 0
[19] => 1
)

and a whole lot more. Help?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

My wild guess is that after entering the db config values, the page was loading for a long time, and you hit Refresh button.

if that’s the case, drop all your database tables, and proceed again with install wizard, and after entering db config values, wait until it redirects to the next page.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top