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

Problème d’installation Magento v1.1
 
Johan05
Member
 
Total Posts:  64
Joined:  2008-06-24
 

À l’installation de la dernière version, je reste bloqué à tout un bloc de code et je ne vois pas ce qui coince… j’ai uploadé les fichiers normalement, changé les droits CHMOD, etc…
Voici l’erreur générée dès le moment où je clique sur “Suivant” pour créer les tables dans la base de données “lusodev_btqq” :

PDOException Object
(
[message:protected] => SQLSTATE[HY000]: General error: 1005 Can’t create table ‘./lusodev_btqq/#sql-3663_1c38b.frm’ (errno: 150)
[string:private] =>
[code:protected] => HY000
[file:protected] => /var/www/vhosts/xxx.net/httpdocs/boutique/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 150
[trace:private] => Array
(
[0] => Array
(
[file] => /var/www/vhosts/xxx.net/httpdocs/boutique/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 150
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => ALTER TABLE review_store
ADD CONSTRAINT `FK_REVIEW_STORE_STORE` FOREIGN KEY (`store_id`)
REFERENCES core_store (`store_id`)
ON UPDATE CASCADE
ON DELETE CASCADE
)

)

[1] => Array
(
[file] => /var/www/vhosts/xxx.net/httpdocs/boutique/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 212
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => ALTER TABLE review_store
ADD CONSTRAINT `FK_REVIEW_STORE_STORE` FOREIGN KEY (`store_id`)
REFERENCES core_store (`store_id`)
ON UPDATE CASCADE
ON DELETE CASCADE
)

)

[2] => Array
(
[file] => /var/www/vhosts/xxx.net/httpdocs/boutique/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 487
[function] => multi_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] =>
ALTER TABLE review_store
ADD CONSTRAINT `FK_REVIEW_STORE_STORE` FOREIGN KEY (`store_id`)
REFERENCES core_store (`store_id`)
ON UPDATE CASCADE
ON DELETE CASCADE;

)

)

[3] => Array
(
[file] => /var/www/vhosts/xxx.net/httpdocs/boutique/app/code/core/Mage/Review/sql/review_setup/mysql4-upgrade-0.7.0-0.7.1.php
[line] => 56
[function] => run
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] =>
ALTER TABLE review_store
ADD CONSTRAINT `FK_REVIEW_STORE_STORE` FOREIGN KEY (`store_id`)
REFERENCES core_store (`store_id`)
ON UPDATE CASCADE
ON DELETE CASCADE;

)

)

[4] => Array
(
[file] => /var/www/vhosts/xxx.net/httpdocs/boutique/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 262
[args] => Array
(
[0] => /var/www/vhosts/xxx.net/httpdocs/boutique/app/code/core/Mage/Review/sql/review_setup/mysql4-upgrade-0.7.0-0.7.1.php
)

[function] => include
)

[5] => Array
(
[file] => /var/www/vhosts/xxx.net/httpdocs/boutique/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 161
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => upgrade
[1] => 0.7.0
[2] => 0.7.1
)

)

[6] => Array
(
[file] => /var/www/vhosts/xxx.net/httpdocs/boutique/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 148
[function] => _installResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 0.7.1
)

)

[7] => Array
(
[file] => /var/www/vhosts/xxx.net/httpdocs/boutique/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 114
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)

)

[8] => Array
(
[file] => /var/www/vhosts/xxx.net/httpdocs/boutique/app/code/core/Mage/Core/Model/Config.php
[line] => 209
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Arra

 
Magento Community Magento Community
Magento Community
Magento Community
 
Stan
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2008-07-28
 

Bonjour à tous,

Je suis chez Celeonet (en mutualisé) et j’ai recommencé 5 fois l’installation. Le résultat est toujours le même, j’ai exactement le même problème que Johan05 à savoir cette succession de lignes de codes…

Il a mis une grosse partie du début, je vous met la fin :

[errorInfo] => Array
        (
            
[0] => 42S01
            [1] 
=> 1050
            [2] 
=> La table 'tax_calculation_rate' existe déjà
        
)

)

Error in file"/home/www/stan/www/CMagento/app/code/core/Mage/Tax/sql/tax_setup/mysql4-upgrade-0.7.6-0.7.7.php" SQLSTATE[42S01]Base table or view already exists1050 La table 'tax_calculation_rate' existe déjà

#0 /home/www/stan/www/CMagento/app/code/core/Mage/Core/Model/Resource/Setup.php(280): Mage::exception('Mage_Core', 'Error in file: ...')
#1 /home/www/stan/www/CMagento/app/code/core/Mage/Core/Model/Resource/Setup.php(172): Mage_Core_Model_Resource_Setup->_modifyResourceDb('upgrade', '0.7.6', '0.7.7')
#2 /home/www/stan/www/CMagento/app/code/core/Mage/Core/Model/Resource/Setup.php(139): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('0.7.6', '0.7.7')
#3 /home/www/stan/www/CMagento/app/code/core/Mage/Core/Model/Resource/Setup.php(114): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /home/www/stan/www/CMagento/app/code/core/Mage/Core/Model/Config.php(209): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /home/www/stan/www/CMagento/app/code/core/Mage/Core/Model/App.php(230): Mage_Core_Model_Config->init(Array)
#6 /home/www/stan/www/CMagento/app/Mage.php(397): Mage_Core_Model_App->init('', 'store', Array)
#7 /home/www/stan/www/CMagento/app/Mage.php(416): Mage::app('', 'store', Array)
#8 /home/www/stan/www/CMagento/index.php(46): Mage::run()
#9 {main}

Je vous remercie d’avance pour toute l’aide que vous pourrez m’apporter.

 
Magento Community Magento Community
Magento Community
Magento Community
 
SeL_
Magento Team
 
Avatar
Total Posts:  1140
Joined:  2007-10-10
Paris, France
 

Bonjour,

L’erreur est que la table ‘tax_calculation_rate’ existe déjà. Avez-vous essayé avec une BDD vierge ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Stan
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2008-07-28
 

Bonjour,

La table est vierge et a été créée spécifiquement pour l’installation. A chaque erreur, je supprimais le répertoire et la base et je recommençais…

J’attendrais la prochaine mise à jour pour refaire un essai, j’ai contacté mon support technique.

Merci en tous cas de t’en inquiéter.

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