我想在我的localhost wamp上尝试thelia ecommerce symfony2解决方案,但我收到此错误:
StandardServiceContainer.php第276行中的ContextErrorException:注意: 未定义的索引:thelia 在StandardServiceContainer.php第276行中 在ErrorHandler-> handleError(' 8','未定义的索引:thelia',' C:\ wamp \ www \ thelia \ core \ vendor \ propel \ propel \ src \行走\运行\的ServiceContainer \ StandardServiceContainer.php&#39 ;, ' 276',在StandardServiceContainer.php行中的数组('名称' =>' thelia')) 276 在StandardServiceContainer-> getConnectionManager(' thelia')在StandardServiceContainer.php第356行 在ModelCriteria.php第970行的StandardServiceContainer-> getReadConnection(' thelia') 在ModelCriteria-> ModuleQuery.php第32行中的find() 在Thelia.php第226行的ModuleQuery :: getActivated() 在thelia-> loadConfiguration(对象(TheliaContainerBuilder))在Thelia.php第427行 位于Kernel.php第533行的Thelia-> buildContainer() 在Kernel.php第130行中的Kernel-> initializeContainer() at the Kernel->在thelia.php第147行的boot() at thelia-> boot()在Kernel.php第185行 在index_dev.php第36行中的Kernel->句柄(对象(请求))
答案 0 :(得分:0)
你有一个文件C:\ wamp \ www \ thelia \ local \ config \ database.yml?
如果不是这种情况,请运行命令
composer run-script post-create-project-cmd