Magento Forum

   
Stumped by execute error: SOLVED
 
Bonaventure
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2007-09-26
 

My system includes: Fedora 6, Apache 2.2.6, PHP 5.2.4 (plus all required extensions), MySQL 4.1.22, Magento 6.141
After passing the initial checks and entering my database information on the setup wizard, I get the following output:

Zend_Db_Statement_Mysqli_Exception Object
(
    
[message:protected] => Mysqli statement execute error Duplicate entry 'general/locale/code' for key 2
    [string
:private] => 
    
[code:protected] => 0
    [file
:protected] => /home/michaedt/public_html/shop/lib/Zend/Db/Statement/Mysqli.php
    [line
:protected] => 251
    [trace
:private] => Array
        (
            
[0] => Array
                (
                    
[file] => /home/michaedt/public_html/shop/lib/Zend/Db/Statement.php
                    [line] 
=> 279
                    [function] 
=> _execute
                    [class] 
=> Zend_Db_Statement_Mysqli
                    [type] 
=> ->
                    
[args] => Array
                        (
                            
[0] => Array
                                (

I’m attempting to reinstall everything and I’ll post a full link to the error if it occurs again.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bonaventure
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2007-09-26
 

I followed another post with a similar error and I can’t seem to get this thing working.
See post below for solution.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bonaventure
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2007-09-26
 

I followed the advice in the following thread: http://www.magentocommerce.com/boards/viewthread/1903/
VERY IMPORTANT: add the new xml file as part of a fresh installation. DO NOT overwrite the file and expect the erorr to go away--it must be installed with a fresh database (at least, that’s what worked for me).

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