so I just started to learn using Magento 2 and I’m blocked from the start :/ I looked in many sites before for my problem I found solutions but none of them did solve my problem, I hope you have an idea guys!
so I got :
Installation is incomplete.
Check the console log for errors before trying again.
and it stops in this point :
Module ‘Magento_Weee’:
Installing data…
[ERROR] PDOException: SQLSTATE[42S21]: Column already exists: 1060 Nom du champ ‘weee_tax_disposition’ déjà utilisé in C:wamp64wwwmagento2vendormagentozendframework1libraryZendDbStatementPdo.php:228 Stack trace: #0 C:wamp64wwwmagento2vendormagentozendframework1libraryZendDbStatementPdo.php(228): PDOStatement->execute(Array) #1 C:wamp64wwwmagento2libinternalMagentoFrameworkDBStatementPdoMysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #2 C:wamp64wwwmagento2vendormagentozendframework1libraryZendDbStatement.php(303): MagentoFrameworkDBStatementPdoMysql->_execute(Array) #3 C:wamp64wwwmagento2vendormagentozendframework1libraryZendDbAdapterAbstract.php(480): Zend_Db_Statement->execute(Array) #4 C:wamp64wwwmagento2vendormagentozendframework1libraryZendDbAdapterPdoAbstract.php(238): Zend_Db_Adapter_Abstract->query(‘ALTER TABLEqu...', Array) #5 C:wamp64wwwmagento2libinternalMagentoFrameworkDBAdapterPdoMysql.php(515): Zend_Db_Adapter_Pdo_Abstract->query('ALTER TABLE
qu…’, Array) #6 C:wamp64wwwmagento2libinternalMagentoFrameworkDBAdapterPdoMysql.php(578): MagentoFrameworkDBAdapterPdoMysql->_query(‘ALTER TABLEqu...', Array) #7 C:wamp64wwwmagento2libinternalMagentoFrameworkDBAdapterPdoMysql.php(433): MagentoFrameworkDBAdapterPdoMysql->query('ALTER TABLE
qu…’) #8 C:wamp64wwwmagento2libinternalMagentoFrameworkDBAdapterPdoMysql.php(952): MagentoFrameworkDBAdapterPdoMysql->rawQuery(‘ALTER TABLE `qu…’) #9 C:wamp64wwwmagento2appcodeMagentoQuoteSetupQuoteSetup.php(126): MagentoFrameworkDBAdapterPdoMysql->addColumn(‘quote_item’, ‘weee_tax_dispos…’, ‘decimal(12,4) N…’) #10 C:wamp64wwwmagento2appcodeMagentoQuoteSetupQuoteSetup.php(102): MagentoQuoteSetupQuoteSetup->_addFlatAttribute(‘quote_item’, ‘weee_tax_dispos…’, Array) #11 C:wamp64wwwmagento2appcodeMagentoWeeeSetupInstallData.php(60): MagentoQuoteSetupQuoteSetup->addAttribute(‘quote_item’, ‘weee_tax_dispos…’, Array) #12 C:wamp64wwwmagento2setupsrcMagentoSetupModelInstaller.php(867): MagentoWeeeSetupInstallData->install(Object(MagentoSetupModuleDataSetup), Object(MagentoSetupModelModuleContext)) #13 C:wamp64wwwmagento2setupsrcMagentoSetupModelInstaller.php(791): MagentoSetupModelInstaller->handleDBSchemaData(Object(MagentoSetupModuleDataSetup), ‘data’) #14 [internal function]: MagentoSetupModelInstaller->installDataFixtures() #15 C:wamp64wwwmagento2setupsrcMagentoSetupModelInstaller.php(342): call_user_func_array(Array, Array) #16 C:wamp64wwwmagento2setupsrcMagentoSetupControllerInstall.php(109): MagentoSetupModelInstaller->install(Array) #17 C:wamp64wwwmagento2vendorzendframeworkzend-mvcsrcControllerAbstractActionController.php(82): MagentoSetupControllerInstall->startAction() #18 [internal function]: ZendMvcControllerAbstractActionController->onDispatch(Object(ZendMvcMvcEvent)) #19 C:wamp64wwwmagento2vendorzendframeworkzend-eventmanagersrcEventManager.php(490): call_user_func(Array, Object(ZendMvcMvcEvent)) #20 C:wamp64wwwmagento2vendorzendframeworkzend-eventmanagersrcEventManager.php(214): ZendEventManagerEventManager->triggerListeners(‘dispatch’, Object(ZendMvcMvcEvent), Object(Closure)) #21 C:wamp64wwwmagento2vendorzendframeworkzend-mvcsrcControllerAbstractController.php(118): ZendEventManagerEventManager->trigger(‘dispatch’, Object(ZendMvcMvcEvent), Object(Closure)) #22 C:wamp64wwwmagento2vendorzendframeworkzend-mvcsrcDispatchListener.php(93): ZendMvcControllerAbstractController->dispatch(Object(ZendHttpPhpEnvironmentRequest), Object(ZendHttpPhpEnvironmentResponse)) #23 [internal function]: ZendMvcDispatchListener->onDispatch(Object(ZendMvcMvcEvent)) #24 C:wamp64wwwmagento2vendorzendframeworkzend-eventmanagersrcEventManager.php(490): call_user_func(Array, Object(ZendMvcMvcEvent)) #25 C:wamp64wwwmagento2vendorzendframeworkzend-eventmanagersrcEventManager.php(214): ZendEventManagerEventManager->triggerListeners(‘dispatch’, Object(ZendMvcMvcEvent), Object(Closure)) #26 C:wamp64wwwmagento2vendorzendframeworkzend-mvcsrcApplication.php(314): ZendEventManagerEventManager->trigger(‘dispatch’, Object(ZendMvcMvcEvent), Object(Closure)) #27 C:wamp64wwwmagento2setupindex.php(35): ZendMvcApplication->run() #28 {main}
it said that the column exists but I checked in my database , the column does not exist :/
I tried to change the max_input_time,max_execution_time and memory_limit in php.ini and I restarted wamp but still have the same error!!
Thanks in advance
I really appreciate your help!!
2
Answers
Okay guys finally :'( , I hope this will help many of you! This is what I did after too many tries : First I got Installation is incomplete each time at 73% so
=>1) in php.ini change max_execution_time = 180000 --and --memory_limit = 2G
2) drop the database, create again and relaunch wamp
3) refresh and reinstall Magento2
Than I thought that finished but again I got a new problem :D
Installation is incomplete each time at 94%
=> 1) so you go in yourfolderappcodeMagentoTaxSetupRecurringData.php you put this line after line 69 if (empty($taxRateData->getData('percentage_rate'))) continue;
//After installation I've removed the line 70
2) refresh the page of installation and you're done :)
Good luck!
I tried for a week, always getting stuck on 72% tried everything, I then decided to install without sample data and it installed straight away.