- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2018
12:14 AM
01-05-2018
12:14 AM
hello guys, i need help .... I'm trying to install magento 2 but send me errors
24%
Starting Magento installation: File permissions check... Required extensions check... Enabling Maintenance Mode... Installing deployment configuration... Installing database schema: Schema creation/updates: Module 'Cmsmart_Brandcategory': Installing schema... Module 'Cmsmart_Categoryicon': Installing schema... Module 'Cmsmart_Megamenu': Installing schema... Module 'Cmsmart_Quickview': Module 'Magento_Store': Installing schema... Module 'Magento_AdvancedPricingImportExport': Module 'Magento_Directory': Installing schema... Module 'Magento_Theme': Installing schema... Module 'Magento_Backend': Module 'Magento_Backup': Module 'Magento_Eav': Installing schema... Module 'Magento_Customer': Installing schema... Upgrading schema... Module 'Magento_BundleImportExport': Module 'Magento_AdminNotification': Installing schema... Module 'Magento_CacheInvalidate': Module 'Magento_Indexer': Installing schema... Module 'Magento_Cms': Installing schema... Upgrading schema... Module 'Magento_CatalogImportExport': Module 'Magento_Catalog': Installing schema... Upgrading schema... Module 'Magento_Rule': Module 'Magento_Msrp': Module 'Magento_Search': Installing schema... Upgrading schema... Module 'Magento_Bundle': Installing schema... Upgrading schema... Module 'Magento_Quote': Installing schema... Upgrading schema... Module 'Magento_CatalogUrlRewrite': Installing schema... Module 'Magento_Widget': Installing schema... Module 'Magento_SalesSequence': Installing schema... Module 'Magento_CheckoutAgreements': Installing schema... Upgrading schema... Module 'Magento_Payment': Module 'Magento_SampleData': Module 'Magento_CmsUrlRewrite': Module 'Magento_Config': Installing schema... Module 'Magento_ConfigurableImportExport': Module 'Magento_Downloadable': Installing schema... Module 'Magento_CatalogSearch': Installing schema... Module 'Magento_Contact': Module 'Magento_Cookie': Module 'Magento_Cron': Installing schema... Module 'Magento_CurrencySymbol': Module 'Magento_User': Installing schema... Upgrading schema... Module 'Magento_CustomerImportExport': Module 'Magento_CustomerSampleData': Module 'Magento_Deploy': Module 'Magento_Developer': Module 'Magento_Dhl': Module 'Magento_Authorization': Installing schema... Module 'Magento_CatalogInventory': Installing schema... Module 'Magento_ImportExport': Installing schema... Upgrading schema... Module 'Magento_CatalogRule': Installing schema... Upgrading schema... Module 'Magento_Sales': Installing schema... Upgrading schema... Module 'Magento_Email': Installing schema... Module 'Magento_EncryptionKey': Module 'Magento_Fedex': Module 'Magento_GiftMessage': Installing schema... Module 'Magento_Checkout': Module 'Magento_GoogleAnalytics': Module 'Magento_Ui': Installing schema... Module 'Magento_GroupedImportExport': Module 'Magento_GroupedProduct': Module 'Magento_Tax': Installing schema... Module 'Magento_DownloadableImportExport': Module 'Magento_Vault': Installing schema... Module 'Magento_Security': Installing schema... Upgrading schema... Module 'Magento_LayeredNavigation': Module 'Magento_Marketplace': Module 'Magento_MediaStorage': Module 'Magento_ConfigurableProduct': Installing schema... Module 'Magento_MsrpSampleData': Module 'Magento_Multishipping': Module 'Magento_NewRelicReporting': Installing schema... Module 'Magento_Newsletter': Installing schema... Module 'Magento_OfflinePayments': Module 'Magento_SalesRule': Installing schema... Upgrading schema... Module 'Magento_OfflineShipping': Installing schema... Module 'Magento_PageCache': Module 'Magento_Weee': Installing schema... Module 'Magento_Paypal': Installing schema... Module 'Magento_Persistent': Installing schema... Module 'Magento_ProductAlert': Installing schema... Module 'Magento_CatalogSampleData': Module 'Magento_ProductVideo': Installing schema... Module 'Magento_Captcha': Installing schema... Module 'Magento_Reports': Installing schema... Module 'Magento_RequireJs': Module 'Magento_Review': Installing schema... Module 'Magento_DownloadableSampleData': Module 'Magento_Rss': Module 'Magento_CatalogRuleConfigurable': Module 'Magento_Authorizenet': Module 'Magento_OfflineShippingSampleData': Module 'Magento_BundleSampleData': Module 'Magento_ConfigurableSampleData': Module 'Magento_ThemeSampleData': Module 'Magento_ProductLinksSampleData': Module 'Magento_ReviewSampleData': Module 'Magento_Integration': Installing schema... Upgrading schema... Module 'Magento_SendFriend': Installing schema... Module 'Magento_Shipping': Module 'Magento_Sitemap': Installing schema... Module 'Magento_CatalogRuleSampleData': Module 'Magento_Swagger': Module 'Magento_Swatches': Installing schema... Module 'Magento_SwatchesLayeredNavigation': Module 'Magento_SwatchesSampleData': Module 'Magento_GroupedProductSampleData': Module 'Magento_TaxImportExport': Module 'Magento_TaxSampleData': Module 'Magento_GoogleAdwords': Module 'Magento_CmsSampleData': Module 'Magento_Translation': Installing schema... Module 'Magento_GoogleOptimizer': Installing schema... Module 'Magento_Ups': Module 'Magento_UrlRewrite': Installing schema... Module 'Magento_SalesRuleSampleData': Module 'Magento_Usps': Module 'Magento_Variable': Installing schema... Module 'Magento_Braintree': Module 'Magento_Version': Module 'Magento_Webapi': Module 'Magento_WebapiSecurity': Module 'Magento_SalesSampleData': Module 'Magento_CatalogWidget': Module 'Magento_WidgetSampleData': Module 'Magento_Wishlist': Installing schema... Module 'Magento_WishlistSampleData': Module 'Netbase_Product': Installing schema... Upgrading schema... [ERROR] Magento\Framework\Exception\LocalizedException: Cannot execute multiple queries in /var/www/html/multistore/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:505 Stack trace: #0 /var/www/html/multistore/app/code/Netbase/Product/Setup/UpgradeSchema.php(154): Magento\Framework\DB\Adapter\Pdo\Mysql->query('\n\t\t\t\tINSERT INT...') #1 /var/www/html/multistore/setup/src/Magento/Setup/Model/Installer.php(849): Netbase\Product\Setup\UpgradeSchema->upgrade(Object(Magento\Setup\Module\Setup), Object(Magento\Setup\Model\ModuleContext)) #2 /var/www/html/multistore/setup/src/Magento/Setup/Model/Installer.php(779): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\Setup), 'schema') #3 [internal function]: Magento\Setup\Model\Installer->installSchema() #4 /var/www/html/multistore/setup/src/Magento/Setup/Model/Installer.php(344): call_user_func_array(Array, Array) #5 /var/www/html/multistore/setup/src/Magento/Setup/Controller/Install.php(109): Magento\Setup\Model\Installer->install(Array) #6 /var/www/html/multistore/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82): Magento\Setup\Controller\Install->startAction() #7 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #8 /var/www/html/multistore/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #9 /var/www/html/multistore/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #10 /var/www/html/multistore/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #11 /var/www/html/multistore/vendor/zendframework/zend-mvc/src/DispatchListener.php(93): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response)) #12 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) #13 /var/www/html/multistore/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #14 /var/www/html/multistore/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #15 /var/www/html/multistore/vendor/zendframework/zend-mvc/src/Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #16 /var/www/html/multistore/setup/index.php(31): Zend\Mvc\Application->run() #17 {main}
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2018
04:08 PM
01-05-2018
04:08 PM
oh yes .. the problem was in a module file that executed several sql queries, the way it does was wrong.
# app/code/netbase/product/setup/upgradeschema.php
now all ok ! thanks you!
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2018
09:14 AM
01-05-2018
09:14 AM
Re: ERROR] Magento\Framework\Exception\LocalizedException: Cannot execute multiple queries in
Hi @rsalinasval,
It seems the issue was a 3rd-party module.
Can yo utry to install without that module and once you got the installlation ready you can try to activate the module?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2018
09:58 AM
01-05-2018
09:58 AM
Re: ERROR] Magento\Framework\Exception\LocalizedException: Cannot execute multiple queries in
It seems issue reside inside third party module Netbeas_Product.
So try to remove those module and run upgrade command again. After installing run command successful you need to install those module.
So try to remove those module and run upgrade command again. After installing run command successful you need to install those module.
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2018
04:08 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2018
02:43 PM
04-30-2018
02:43 PM
Re: ERROR] Magento\Framework\Exception\LocalizedException: Cannot execute multiple queries in
How did you solve that particular problem - I have the same issue with the same product