Open the Site in the Browser
The Site is shown as expected
Error message appears: "Missing required argument $routerList of Magento\Framework\App\RouterList.".
Missing required argument $routerList of Magento\Framework\App\RouterList.
#0 /Volumes/workspace/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array)
#1 /Volumes/workspace/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#2 /Volumes/workspace/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#3 /Volumes/workspace/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'routerList', 'Magento\\Framewo...')
#4 /Volumes/workspace/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array)
#5 /Volumes/workspace/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#6 /Volumes/workspace/magento2/vendor/magento/framework/App/Http.php(114): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#7 /Volumes/workspace/magento2/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#8 /Volumes/workspace/magento2/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#9 {main}
This is quite a pitty as the same procedure was working in Magento 1.
@mhauri Do you have a working app/etc/config.php file present? If either that or env.php are missing, Magento 2 will not consider itself installed as the config.php is used to know which modules are enabled, etc.
@davidalger Thank you, that was it.
The error message isn't really helpful then, would be great to throw an clear exception if the config is missing. I've expected that the config.php would be generated based on the values in the database.
But thank you for clarifying.
@mhauri The config.php file is generated when you run through the installation procedure, and it's expected that the file be there after installation. So I'm not sure if it makes sense to give an uninstalled error when the app is in a partially setup state (i.e. env.php is there but config.php is not).
Glad you got it working! :)
Thanks a lot... This solution worked for me too. In my case, config.php is missing.. After taking the same from colleague, it started working fine.
I'm getting this error. I'm trying to install a fresh setup of magento. can anyone give me any guidance.
check ur config.xml is exists or not.
Regards
PavanKumar Chamarthi
+91-8861733311
On Tue, Oct 4, 2016 at 5:13 PM, jatasya [email protected] wrote:
I'm getting this error. I'm trying to install a fresh setup of magento.
can anyone give me any guidance.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/5031#issuecomment-251365225,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI35Q-eqQHAzcCcy62xgPuDiH69HnWKvks5qwjvKgaJpZM4I1tVs
.
In which folder?
run
bin/magento module:enable --all
bin/magento setup:di:compile
Most helpful comment
run
bin/magento module:enable --all
bin/magento setup:di:compile