Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento CLI Zend PDO Mysql error running bin/magento after install #1830

Closed
ljrweb opened this issue Sep 9, 2015 · 4 comments
Closed

Magento CLI Zend PDO Mysql error running bin/magento after install #1830

ljrweb opened this issue Sep 9, 2015 · 4 comments

Comments

@ljrweb
Copy link

ljrweb commented Sep 9, 2015

Error trying to run bin/magento after install from develop branch

[root@ip-172-31-30-205 html]# php bin/magento
SQLSTATE[HY000] [2002] No such file or directory#0 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(110): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /usr/share/nginx/html/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php(332): Zend_Db_Adapter_Pdo_Mysql->connect()
#2 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->connect()
#3 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('1', NULL)
#4 /usr/share/nginx/html/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php(1351): Zend_Db_Adapter_Abstract->quoteInto('store.store_...', '1', NULL, NULL) #5 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Select.php(1005): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('store.store
...', '1', NULL)
#6 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Select.php(475): Zend_Db_Select->where('store.store_...', '1', NULL, true) #7 /usr/share/nginx/html/lib/internal/Magento/Framework/DB/Select.php(107): Zend_Db_Select->where('store.store...', '1', NULL)
#8 /usr/share/nginx/html/lib/internal/Magento/Framework/Model/Resource/Db/AbstractDb.php(366): Magento\Framework\DB\Select->where('store.`store
...', '1')
#9 /usr/share/nginx/html/app/code/Magento/Store/Model/Resource/Store.php(168): Magento\Framework\Model\Resource\Db\AbstractDb->_getLoadSelect('store_id', '1', Object(Magento\Store\Model\Store\Interceptor))
#10 /usr/share/nginx/html/lib/internal/Magento/Framework/Model/Resource/Db/AbstractDb.php(340): Magento\Store\Model\Resource\Store->_getLoadSelect('store_id', '1', Object(Magento\Store\Model\Store\Interceptor))
#11 /usr/share/nginx/html/var/generation/Magento/Store/Model/Resource/Store/Interceptor.php(89): Magento\Framework\Model\Resource\Db\AbstractDb->load(Object(Magento\Store\Model\Store\Interceptor), '1', NULL)
#12 /usr/share/nginx/html/lib/internal/Magento/Framework/Model/AbstractModel.php(518): Magento\Store\Model\Resource\Store\Interceptor->load(Object(Magento\Store\Model\Store\Interceptor), '1', NULL)
#13 /usr/share/nginx/html/app/code/Magento/Store/Model/Store.php(477): Magento\Framework\Model\AbstractModel->load('1', NULL)
#14 /usr/share/nginx/html/var/generation/Magento/Store/Model/Store/Interceptor.php(24): Magento\Store\Model\Store->load('1', NULL)
#15 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreRepository.php(90): Magento\Store\Model\Store\Interceptor->load('1')
#16 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreRepository.php(104): Magento\Store\Model\StoreRepository->getById('1')
#17 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreResolver.php(157): Magento\Store\Model\StoreRepository->getActiveStoreById('1')
#18 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreResolver.php(90): Magento\Store\Model\StoreResolver->getDefaultStoreById('1')
#19 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreManager.php(151): Magento\Store\Model\StoreResolver->getCurrentStoreId()
#20 /usr/share/nginx/html/var/generation/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL)
#21 /usr/share/nginx/html/app/code/Magento/Store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL)
#22 /usr/share/nginx/html/lib/internal/Magento/Framework/App/Config/ScopePool.php(119): Magento\Store\Model\Resolver\Store->getScope(NULL)
#23 /usr/share/nginx/html/lib/internal/Magento/Framework/App/Config/ScopePool.php(74): Magento\Framework\App\Config\ScopePool->_getScopeCode('store', NULL)
#24 /usr/share/nginx/html/lib/internal/Magento/Framework/App/Config.php(45): Magento\Framework\App\Config\ScopePool->getScope('store', NULL)
#25 /usr/share/nginx/html/lib/internal/Magento/Framework/Locale/Resolver.php(90): Magento\Framework\App\Config->getValue('general/locale/...', 'store')
#26 /usr/share/nginx/html/lib/internal/Magento/Framework/Locale/Resolver.php(107): Magento\Framework\Locale\Resolver->getDefaultLocale()
#27 /usr/share/nginx/html/lib/internal/Magento/Framework/Locale/Resolver.php(64): Magento\Framework\Locale\Resolver->setLocale(NULL)
#28 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(103): Magento\Framework\Locale\Resolver->__construct(Object(Magento\Framework\App\Config), 'general/locale/...', 'store', NULL)
#29 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Framewo...', Array)
#30 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...')
#31 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Framewo...')
#32 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Framewo...', NULL, 'localeResolver', 'Magento\Framewo...')
#33 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Framewo...', Array, Array)
#34 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...')
#35 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Framewo...')
#36 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Framewo...', NULL, 'localeDate', 'Magento\Framewo...')
#37 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Framewo...', Array, Array)
#38 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...')
#39 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Framewo...')
#40 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Framewo...', NULL, 'dateFilter', 'Magento\Catalog...')
#41 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Catalog...', Array, Array)
#42 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Catalog...')
#43 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Catalog...')
#44 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Catalog...', NULL, 'initializationH...', 'Magento\Catalog...')
#45 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Catalog...', Array, Array)
#46 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Catalog...')
#47 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Catalog...')
#48 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Catalog...', NULL, 'productReposito...', 'Magento\Catalog...')
#49 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Catalog...', Array, Array)
#50 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Catalog...')
#51 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Catalog...')
#52 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(249): Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray(Array)
#53 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, NULL, Array, 'commands', 'Magento\Framewo...')
#54 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Framewo...', Array, Array)
#55 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...', Array)
#56 /usr/share/nginx/html/lib/internal/Magento/Framework/Console/Cli.php(61): Magento\Framework\ObjectManager\ObjectManager->create('Magento\Framewo...')
#57 /usr/share/nginx/html/lib/internal/Magento/Framework/Console/Cli.php(30): Magento\Framework\Console\Cli->getApplicationCommands()
#58 /usr/share/nginx/html/vendor/symfony/console/Symfony/Component/Console/Application.php(91): Magento\Framework\Console\Cli->getDefaultCommands()
#59 /usr/share/nginx/html/bin/magento(24): Symfony\Component\Console\Application->__construct('Magento CLI', '1.0.0-beta')
#60 {main}

SQLSTATE[HY000] [2002] No such file or directory#0 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:host=;dbn...', '', '', Array)
#1 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(110): Zend_Db_Adapter_Pdo_Abstract->_connect()
#2 /usr/share/nginx/html/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php(332): Zend_Db_Adapter_Pdo_Mysql->connect()
#3 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->connect()
#4 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('1', NULL)
#5 /usr/share/nginx/html/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php(1351): Zend_Db_Adapter_Abstract->quoteInto('store.store_...', '1', NULL, NULL) #6 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Select.php(1005): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('store.store
...', '1', NULL)
#7 /usr/share/nginx/html/vendor/magento/zendframework1/library/Zend/Db/Select.php(475): Zend_Db_Select->where('store.store_...', '1', NULL, true) #8 /usr/share/nginx/html/lib/internal/Magento/Framework/DB/Select.php(107): Zend_Db_Select->where('store.store...', '1', NULL)
#9 /usr/share/nginx/html/lib/internal/Magento/Framework/Model/Resource/Db/AbstractDb.php(366): Magento\Framework\DB\Select->where('store.`store
...', '1')
#10 /usr/share/nginx/html/app/code/Magento/Store/Model/Resource/Store.php(168): Magento\Framework\Model\Resource\Db\AbstractDb->_getLoadSelect('store_id', '1', Object(Magento\Store\Model\Store\Interceptor))
#11 /usr/share/nginx/html/lib/internal/Magento/Framework/Model/Resource/Db/AbstractDb.php(340): Magento\Store\Model\Resource\Store->_getLoadSelect('store_id', '1', Object(Magento\Store\Model\Store\Interceptor))
#12 /usr/share/nginx/html/var/generation/Magento/Store/Model/Resource/Store/Interceptor.php(89): Magento\Framework\Model\Resource\Db\AbstractDb->load(Object(Magento\Store\Model\Store\Interceptor), '1', NULL)
#13 /usr/share/nginx/html/lib/internal/Magento/Framework/Model/AbstractModel.php(518): Magento\Store\Model\Resource\Store\Interceptor->load(Object(Magento\Store\Model\Store\Interceptor), '1', NULL)
#14 /usr/share/nginx/html/app/code/Magento/Store/Model/Store.php(477): Magento\Framework\Model\AbstractModel->load('1', NULL)
#15 /usr/share/nginx/html/var/generation/Magento/Store/Model/Store/Interceptor.php(24): Magento\Store\Model\Store->load('1', NULL)
#16 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreRepository.php(90): Magento\Store\Model\Store\Interceptor->load('1')
#17 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreRepository.php(104): Magento\Store\Model\StoreRepository->getById('1')
#18 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreResolver.php(157): Magento\Store\Model\StoreRepository->getActiveStoreById('1')
#19 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreResolver.php(90): Magento\Store\Model\StoreResolver->getDefaultStoreById('1')
#20 /usr/share/nginx/html/app/code/Magento/Store/Model/StoreManager.php(151): Magento\Store\Model\StoreResolver->getCurrentStoreId()
#21 /usr/share/nginx/html/var/generation/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL)
#22 /usr/share/nginx/html/app/code/Magento/Store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL)
#23 /usr/share/nginx/html/lib/internal/Magento/Framework/App/Config/ScopePool.php(119): Magento\Store\Model\Resolver\Store->getScope(NULL)
#24 /usr/share/nginx/html/lib/internal/Magento/Framework/App/Config/ScopePool.php(74): Magento\Framework\App\Config\ScopePool->_getScopeCode('store', NULL)
#25 /usr/share/nginx/html/lib/internal/Magento/Framework/App/Config.php(45): Magento\Framework\App\Config\ScopePool->getScope('store', NULL)
#26 /usr/share/nginx/html/lib/internal/Magento/Framework/Locale/Resolver.php(90): Magento\Framework\App\Config->getValue('general/locale/...', 'store')
#27 /usr/share/nginx/html/lib/internal/Magento/Framework/Locale/Resolver.php(107): Magento\Framework\Locale\Resolver->getDefaultLocale()
#28 /usr/share/nginx/html/lib/internal/Magento/Framework/Locale/Resolver.php(64): Magento\Framework\Locale\Resolver->setLocale(NULL)
#29 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(103): Magento\Framework\Locale\Resolver->__construct(Object(Magento\Framework\App\Config), 'general/locale/...', 'store', NULL)
#30 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Framewo...', Array)
#31 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...')
#32 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Framewo...')
#33 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Framewo...', NULL, 'localeResolver', 'Magento\Framewo...')
#34 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Framewo...', Array, Array)
#35 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...')
#36 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Framewo...')
#37 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Framewo...', NULL, 'localeDate', 'Magento\Framewo...')
#38 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Framewo...', Array, Array)
#39 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...')
#40 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Framewo...')
#41 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Framewo...', NULL, 'dateFilter', 'Magento\Catalog...')
#42 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Catalog...', Array, Array)
#43 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Catalog...')
#44 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Catalog...')
#45 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Catalog...', NULL, 'initializationH...', 'Magento\Catalog...')
#46 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Catalog...', Array, Array)
#47 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Catalog...')
#48 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Catalog...')
#49 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\Catalog...', NULL, 'productReposito...', 'Magento\Catalog...')
#50 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Catalog...', Array, Array)
#51 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Catalog...')
#52 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Catalog...')
#53 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(249): Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray(Array)
#54 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, NULL, Array, 'commands', 'Magento\Framewo...')
#55 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\Framewo...', Array, Array)
#56 /usr/share/nginx/html/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...', Array)
#57 /usr/share/nginx/html/lib/internal/Magento/Framework/Console/Cli.php(61): Magento\Framework\ObjectManager\ObjectManager->create('Magento\Framewo...')
#58 /usr/share/nginx/html/lib/internal/Magento/Framework/Console/Cli.php(30): Magento\Framework\Console\Cli->getApplicationCommands()
#59 /usr/share/nginx/html/vendor/symfony/console/Symfony/Component/Console/Application.php(91): Magento\Framework\Console\Cli->getDefaultCommands()
#60 /usr/share/nginx/html/bin/magento(24): Symfony\Component\Console\Application->__construct('Magento CLI', '1.0.0-beta')
#61 {main}

@alankent
Copy link

alankent commented Sep 9, 2015

Did you do a "composer update" to download all the other libraries we depend on (like Zend)?

@ljrweb
Copy link
Author

ljrweb commented Sep 9, 2015

Ah, I missed that part of the install guide. Is this something that will always be required on a fresh install or are there plans to bring the dependency updater into the default code base?
http://devdocs.magento.com/guides/v2.0/install-gde/install/dev_updater.html

after running "composer update" in the magento root directory the issue still persists.

@ljrweb
Copy link
Author

ljrweb commented Sep 9, 2015

Actually, this may be related to something else. After installing via the web setup, my env.php file seems to be missing the database connection information. Closing. Thanks @alankent

@ljrweb ljrweb closed this as completed Sep 9, 2015
@MaximeAnsquer
Copy link

I have the same problem, but my env.php does contain the database connection information:

  'db' => 
  array (
    'table_prefix' => '',
    'connection' => 
    array (
      'default' => 
      array (
        'host' => 'localhost',
        'dbname' => 'magento',
        'username' => 'root',
        'password' => 'mypassword',
        'active' => '1',
      ),
    ),
  ),

Do you know how I could solve this ? Thanks a lot.

magento-team pushed a commit that referenced this issue Dec 11, 2017
Public Pull Requests
#12609 Update CrontabManager.php by @WaPoNe
magento-engcom-team added a commit that referenced this issue Sep 23, 2020
…inkProductGridTest and AdminMediaGalleryCatalogUiUsedInCategoryFilterTest #30034

 - Merge Pull Request #30034 from joweecaquicla/magento2:ASI-1830-stabilize-failing-mftf-tests-in-media-gallery-catalog-ui
 - Merged commits:
   1. e0ea1c3
   2. f61da2f
   3. 7ec2da9
   4. d1007f2
   5. 9f675b3
   6. f27f541
   7. 53c6998
   8. 5a7fc3b
   9. a3a3b7c
   10. f7c5f26
magento-engcom-team pushed a commit that referenced this issue Sep 23, 2020
…inkProductGridTest and AdminMediaGalleryCatalogUiUsedInCategoryFilterTest #30034
magento-engcom-team pushed a commit that referenced this issue Sep 23, 2020
…op latest changes

Accepted Community Pull Requests:
 - #30057: #1833: Add ability to disable renditions functionality to stores configuration (by @joweecaquicla)
 - #29794: Fix issue product name in minicart render wrong with special characters (by @mrtuvn)
 - #30034: #1830: Stabilize AdminMediaGalleryCatalogUiVerifyUsedInLinkProductGridTest and AdminMediaGalleryCatalogUiUsedInCategoryFilterTest (by @joweecaquicla)
 - #29814: Fix of Asynchronous opetations status issue (by @nuzil)
 - #29972: Update zip_codes.xml (by @marcostrama)
 - #28818: Improvement PageLayout Config Builder. Added save in cache config files. (by @Knase)
 - #29081: Fix for wildcard section reload being broken by section-config refacor (by @complexthings)
 - #29080: UPS Shipment Tracking: Show "Delivered On" only when package has actually been delivered (by @danbtl)
 - #28164: Prevent side effect on category objects store_id and url_key on save (by @schmengler)
 - #27980: Fix SQL query quoting/casting when type is passed to where function (by @tmotyl)
 - #30095: Added configuration for Stale Issue bot (by @sdzhepa)


Fixed GitHub Issues:
 - #29075: Minicart product name - not covered cases (reported by @Januszpl) has been fixed in #29794 by @mrtuvn in 2.4-develop branch
   Related commits:
     1. 9df9db2

 - #29718: Wrong handling some of asynchronous bulk operations and related mysql queue messages in Magento 2.4.0 (reported by @Neos2007) has been fixed in #29814 by @nuzil in 2.4-develop branch
   Related commits:
     1. 09b63c7
     2. 2450b14
     3. 77d62ef
     4. 4da31ea
     5. a0e65ed
     6. 5c87afe

 - #29984: [Issue] Update zip_codes.xml (reported by @m2-assistant[bot]) has been fixed in #29972 by @marcostrama in 2.4-develop branch
   Related commits:
     1. 1472740
     2. 16b8d6a
     3. 65b5ee4
     4. c336ccc
     5. 2f94846

 - #29546: [Issue] Improvement PageLayout Config Builder. Added save in cache config files. (reported by @m2-assistant[bot]) has been fixed in #28818 by @Knase in 2.4-develop branch
   Related commits:
     1. f2468b5
     2. cc2c5b9
     3. 26b41af
     4. eeecdf7
     5. 2ac6e0c
     6. 276cb1c

 - #28154: [Backward compatibility] Customer section load with one section causes an error (reported by @zhartaunik) has been fixed in #29081 by @complexthings in 2.4-develop branch
   Related commits:
     1. 4f10b5d
     2. 1505a36
     3. ff99146
     4. 8047497
     5. dd862a2
     6. cdfc681
     7. c2e254c
     8. c490073
     9. 176013f
     10. 2922c1c
     11. f7da23e
     12. 3b397e3
     13. 6f9a274
     14. 5de71f6
     15. fd4a2c7
     16. fae1c5c

 - #28428: Customer data not retrieved after executing a custom login controller (reported by @pitbulk) has been fixed in #29081 by @complexthings in 2.4-develop branch
   Related commits:
     1. 4f10b5d
     2. 1505a36
     3. ff99146
     4. 8047497
     5. dd862a2
     6. cdfc681
     7. c2e254c
     8. c490073
     9. 176013f
     10. 2922c1c
     11. f7da23e
     12. 3b397e3
     13. 6f9a274
     14. 5de71f6
     15. fd4a2c7
     16. fae1c5c

 - #29659: [Issue] UPS Shipment Tracking: Show "Delivered On" only when package has actually been delivered (reported by @m2-assistant[bot]) has been fixed in #29080 by @danbtl in 2.4-develop branch
   Related commits:
     1. 5031159
     2. 123a4f0

 - #29585: [Issue] Prevent side effect on category objects store_id and url_key on save (reported by @m2-assistant[bot]) has been fixed in #28164 by @schmengler in 2.4-develop branch
   Related commits:
     1. 7bd5e25
     2. 8bcd2fa
     3. 87c5c60
     4. 31c5963
     5. c051134
     6. 6083a7c

 - #29590: [Issue] Fix SQL query quoting/casting when type is passed to where function (reported by @m2-assistant[bot]) has been fixed in #27980 by @tmotyl in 2.4-develop branch
   Related commits:
     1. 0118d48
     2. b8dd6b3
     3. 6c41578
     4. 4860f31
     5. a103b64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants