EDirectory: Symfony: параметр & lt; alias_faq_url_divisor & quot; должен быть определен

Когда я начинаю (настроить) EDirectory приложение, это дает мне эту ошибку, когда я посещаю http://localhost:8000/config.php, Что мне установить этот параметр и где я могу его установить?

InvalidArgumentException in appDevDebugProjectContainer.php line 9176:
The parameter "alias_faq_url_divisor" must be defined.
in appDevDebugProjectContainer.php line 9176
at appDevDebugProjectContainer->getParameter('alias_faq_url_divisor') in classes.php line 2330
at Router->Symfony\Bundle\FrameworkBundle\Routing\{closure}(array('%alias_faq_url_divisor%', 'alias_faq_url_divisor'))
at preg_replace_callback('/%%|%([^%\s]++)%/', object(Closure), '/%alias_faq_url_divisor%') in classes.php line 2340
at Router->resolve('/%alias_faq_url_divisor%') in classes.php line 2299
at Router->resolveParameters(object(RouteCollection)) in classes.php line 2276
at Router->getRouteCollection() in classes.php line 2056
at Router->getMatcherDumperInstance() in classes.php line 2006
at Router->Symfony\Component\Routing\{closure}(object(ResourceCheckerConfigCache))
at call_user_func(object(Closure), object(ResourceCheckerConfigCache)) in ResourceCheckerConfigCacheFactory.php line 46
at ResourceCheckerConfigCacheFactory->cache('/cygdrive/c/Users/Chloe/workspace/wiseher/edirectory/app/cache/dev/127.0.0.1/appDevDebugProjectContainerUrlMatcher.php', object(Closure)) in classes.php line 2016
at Router->getMatcher() in classes.php line 1980
at Router->matchRequest(object(MultiDomainRequest)) in classes.php line 2772
at RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in WrappedListener.php line 61
at WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher))
at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in classes.php line 2544
at EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) in classes.php line 2459
at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in TraceableEventDispatcher.php line 140
at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in HttpKernel.php line 125
at HttpKernel->handleRaw(object(MultiDomainRequest), '1') in HttpKernel.php line 64
at HttpKernel->handle(object(MultiDomainRequest), '1', true) in ContainerAwareHttpKernel.php line 69
at ContainerAwareHttpKernel->handle(object(MultiDomainRequest), '1', true) in Kernel.php line 185
at Kernel->handle(object(MultiDomainRequest)) in app_dev.php line 32
at require('/cygdrive/c/Users/Chloe/workspace/wiseher/edirectory/web/app_dev.php') in router_dev.php line 40

Я также получаю эту ошибку (2/2):

Exception in Settings.php line 79:
Cannot find host localhost for this eDirectory installation
in Settings.php line 79
at Settings->setActiveHost('localhost') in Settings.php line 38

Я настроил приложение с composer update:

https://symfony.com/doc/2.8/setup.html#installing-an-existing-symfony-application

Symfony 2.8, PHP 5.6.27

0

Решение

Я решил это, скопировав содержимое app/config/domains/domain.route.yml.sample в localhost.route.yml, Я также добавил следующие 2 строки, которые были в <domain>.route.yml:

alias_forum_module: forum
alias_forum_allcategories_url_divisor: forum
1

Другие решения

Других решений пока нет …

По вопросам рекламы [email protected]