cancel
Showing results for 
Search instead for 
Did you mean: 

Can't login into admin panel

Can't login into admin panel

Hello,

I'am beginner in magento.

after upload and install Magento CE 2 i can't login to admin area,

after put username and password shown me this message

 

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 580840876866

 so when i open / var / report /

 

a:4:{i:0;s:353:"Warning: is_dir(): open_basedir restriction in effect. File(/etc/pki/tls/certs) is not within the allowed path(s): (/home/pmpstore/:/tmp/:/usr/share/pear/:/home/kloxo/client/pmpstore/session/:/home/kloxo/httpd/script/:/home/kloxo/httpd/disable/:) in /home/pmpstore/pmpstore.com/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php on line 914";i:1;s:7916:"#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'is_dir(): open_...', '/home/pmpstore/...', 914, Array)
#1 /home/pmpstore/pmpstore.com/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php(914): is_dir('/etc/pki/tls/ce...')
#2 /home/pmpstore/pmpstore.com/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php(801): Composer\Util\RemoteFilesystem->getSystemCaRootBundlePath()
#3 /home/pmpstore/pmpstore.com/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php(61): Composer\Util\RemoteFilesystem->getTlsDefaults(Array)
#4 /home/pmpstore/pmpstore.com/vendor/composer/composer/src/Composer/Factory.php(566): Composer\Util\RemoteFilesystem->__construct(Object(Composer\IO\BufferIO), Object(Composer\Config), Array, false)
#5 /home/pmpstore/pmpstore.com/vendor/composer/composer/src/Composer/Factory.php(306): Composer\Factory::createRemoteFilesystem(Object(Composer\IO\BufferIO), Object(Composer\Config))
#6 /home/pmpstore/pmpstore.com/vendor/composer/composer/src/Composer/Factory.php(532): Composer\Factory->createComposer(Object(Composer\IO\BufferIO), '/home/pmpstore/...', false)
#7 /home/pmpstore/pmpstore.com/vendor/magento/framework/Composer/ComposerFactory.php(48): Composer\Factory::create(Object(Composer\IO\BufferIO), '/home/pmpstore/...')
#8 /home/pmpstore/pmpstore.com/vendor/magento/framework/Composer/ComposerInformation.php(362): Magento\Framework\Composer\ComposerFactory->create()
#9 /home/pmpstore/pmpstore.com/vendor/magento/framework/Composer/ComposerInformation.php(375): Magento\Framework\Composer\ComposerInformation->getComposer()
#10 /home/pmpstore/pmpstore.com/vendor/magento/framework/Composer/ComposerInformation.php(242): Magento\Framework\Composer\ComposerInformation->getLocker()
#11 /home/pmpstore/pmpstore.com/vendor/magento/framework/App/ProductMetadata.php(104): Magento\Framework\Composer\ComposerInformation->getSystemPackages()
#12 /home/pmpstore/pmpstore.com/vendor/magento/framework/App/ProductMetadata.php(65): Magento\Framework\App\ProductMetadata->getSystemPackageVersion()
#13 /home/pmpstore/pmpstore.com/vendor/magento/module-admin-notification/Model/Feed.php(208): Magento\Framework\App\ProductMetadata->getVersion()
#14 /home/pmpstore/pmpstore.com/vendor/magento/module-admin-notification/Model/Feed.php(138): Magento\AdminNotification\Model\Feed->getFeedData()
#15 /home/pmpstore/pmpstore.com/vendor/magento/module-admin-notification/Observer/PredispatchAdminActionControllerObserver.php(51): Magento\AdminNotification\Model\Feed->checkUpdate()
#16 /home/pmpstore/pmpstore.com/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): Magento\AdminNotification\Observer\PredispatchAdminActionControllerObserver->execute(Object(Magento\Framework\Event\Observer))
#17 /home/pmpstore/pmpstore.com/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Magento\AdminNotification\Observer\PredispatchAdminActionControllerObserver), Object(Magento\Framework\Event\Observer))
#18 /home/pmpstore/pmpstore.com/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer))
#19 /home/pmpstore/pmpstore.com/var/generation/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('controller_acti...', Array)
#20 /home/pmpstore/pmpstore.com/vendor/magento/framework/App/Action/Action.php(91): Magento\Framework\Event\Manager\Proxy->dispatch('controller_acti...', Array)
#21 /home/pmpstore/pmpstore.com/vendor/magento/module-backend/App/AbstractAction.php(226): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#22 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Backend\App\AbstractAction->dispatch(Object(Magento\Framework\App\Request\Http))
#23 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->___callParent('dispatch', Array)
#24 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Backend...', 'dispatch', Object(Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor), Array, 'adminAuthentica...')
#25 /home/pmpstore/pmpstore.com/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#26 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(Object(Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#27 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Backend...', 'dispatch', Object(Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor), Array, 'adminMassaction...')
#28 /home/pmpstore/pmpstore.com/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#29 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Backend\App\Action\Plugin\MassactionKey->aroundDispatch(Object(Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#30 /home/pmpstore/pmpstore.com/var/generation/Magento/Backend/Controller/Adminhtml/Index/Index/Interceptor.php(39): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->___callPlugins('dispatch', Array, Array)
#31 /home/pmpstore/pmpstore.com/vendor/magento/framework/App/FrontController.php(55): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#32 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#33 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#34 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')
#35 /home/pmpstore/pmpstore.com/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#36 /home/pmpstore/pmpstore.com/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#37 /home/pmpstore/pmpstore.com/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#38 /home/pmpstore/pmpstore.com/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#39 /home/pmpstore/pmpstore.com/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#40 /home/pmpstore/pmpstore.com/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#41 {main}";s:3:"url";s:100:"/admin_login/admin/index/index/key/1fb760a291fca73f95217c585aec874565d2fa5765e4f66c50291102f8cc579a/";s:11:"script_name";s:10:"/index.php";}

and i don't understand what is the problem

1 REPLY

Re: Can't login into admin panel

I too had this issue. I had to edit my site config on my web server (nginx and php-fpm) and added "/etc/pki/tls/certs" to open_basedir.

 

Example,

php_admin_value[open_basedir] = /var/www/html/magento:/etc/pki/tls/certs

 

To any Magento dev - Is this a bug? This seems like an odd thing to have to add to open_basedir and I don't see this "requirement" documented. This also seems to be a new issue with Magento 2.1, as I did not have this issue on Magento 2.0 installations.