Symfony 如何解决此问题:StandardServiceContainer.php中的ContextErrorException第276行:注意:未定义索引:thelia

Symfony 如何解决此问题:StandardServiceContainer.php中的ContextErrorException第276行:注意:未定义索引:thelia,symfony,indexing,e-commerce,undefined,Symfony,Indexing,E Commerce,Undefined,我想在本地主机wamp上尝试IA电子商务symfony2解决方案,但出现以下错误: StandardServiceContainer.php第276行中的ContextErrorException:注意: 未定义索引:thelia 在StandardServiceContainer.php第276行中 在ErrorHandler->handleError('8','Undefined index:thelia','C:\wamp\www\thelia\core\vendor\spreep\spr

我想在本地主机wamp上尝试IA电子商务symfony2解决方案,但出现以下错误:

StandardServiceContainer.php第276行中的ContextErrorException:注意: 未定义索引:thelia 在StandardServiceContainer.php第276行中 在ErrorHandler->handleError('8','Undefined index:thelia','C:\wamp\www\thelia\core\vendor\spreep\spreep\src\spreep\Runtime\ServiceContainer\StandardServiceContainer.php', StandardServiceContainer.php行中的“276”,数组('name'=>'thelia')) 276 在StandardServiceContainer.php第356行中的StandardServiceContainer->getConnectionManager('thelia') 在ModelCriteria.php第970行中的StandardServiceContainer->getReadConnection('thelia') 在ModuleQuery.php第32行的ModelCriteria->find()处 在Thelia.php第226行的ModuleQuery::getActivated()处 在Thelia.php行427中的Thelia->loadConfiguration(对象(TheliaContainerBuilder)) 在Kernel.php第533行的Thelia->buildContainer()处 在Kernel.php第130行的Kernel->initializeContainer()处 在Thelia.php第147行的Kernel->boot()处 在Kernel.php第185行的Thelia->boot()处 在index_dev.php第36行的Kernel->handle(对象(请求))处


您是否有文件C:\wamp\www\thelia\local\config\database.yml

如果不是这样,请运行命令

composer run-script post-create-project-cmd

您是否有文件C:\wamp\www\thelia\local\config\database.yml

如果不是这样,请运行命令

composer run-script post-create-project-cmd

在C:\wamp\www\thelia\local\config\i have database.yml.sample中,第一个回复MrGuillou的tnx是一样的吗?现在它给我的脚本“post create project cmd”没有在这个包的行命令中定义,很抱歉,但我是symfony2的新手。第一个回复MrGuillou的tnx,在C:\wamp\www\thelia\local\config\i have database.yml.sample中是否相同?现在它给了我脚本“post create project cmd”没有在这个包的行命令中定义,很抱歉,我是symfony2的新手。