[Mapbender-users] I can not adjust SearchRouter. Please help
Den
ronin856 at mail.ru
Tue Nov 15 05:59:09 PST 2016
Having worked with settings and having transferred all folders of the server
to the root directory C: received the following -
http://localhost/mapbender3/config.php
Welcome!
Welcome to your new Symfony project.
This script will guide you through the basic configuration of your project.
You can also do the same by editing the ‘app/config/parameters.yml’ file
directly.
Your configuration looks good to run Symfony.
Configure your Symfony Application online
Bypass configuration and go to the Welcome page
http://localhost/mapbender3/app_dev.php
Whoops, looks like something went wrong.
1/1ParameterNotFoundException: You have requested a non-existent parameter
"fallback_locale".
in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag.php
line 96
at ParameterBag->get('fallback_locale') in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag.php
line 216
at ParameterBag->resolveString('%fallback_locale%', array()) in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag.php
line 187
at ParameterBag->resolveValue('%fallback_locale%', array()) in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag.php
line 177
at ParameterBag->resolveValue(array('fallback' => '%fallback_locale%'),
array()) in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag.php
line 177
at ParameterBag->resolveValue(array('translator' => array('fallback' =>
'%fallback_locale%'), 'secret' => '%secret%', 'router' => array('resource'
=> '%kernel.root_dir%/config/routing.yml', 'strict_requirements' =>
'%kernel.debug%'), 'form' => true, 'csrf_protection' => true, 'validation'
=> array('enable_annotations' => true), 'templating' => array('engines' =>
array('twig')), 'default_locale' => '%locale%', 'session' =>
array('cookie_httponly' => true, 'cookie_secure' => '%cookie_secure%',
'cookie_lifetime' => '%cookie_lifetime%')), array()) in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag.php
line 177
at ParameterBag->resolveValue(array(array('translator' => array('fallback'
=> '%fallback_locale%'), 'secret' => '%secret%', 'router' =>
array('resource' => '%kernel.root_dir%/config/routing.yml',
'strict_requirements' => '%kernel.debug%'), 'form' => true,
'csrf_protection' => true, 'validation' => array('enable_annotations' =>
true), 'templating' => array('engines' => array('twig')), 'default_locale'
=> '%locale%', 'session' => array('cookie_httponly' => true, 'cookie_secure'
=> '%cookie_secure%', 'cookie_lifetime' => '%cookie_lifetime%')),
array('router' => array('resource' =>
'%kernel.root_dir%/config/routing_dev.yml'), 'profiler' =>
array('only_exceptions' => false)))) in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass.php
line 44
at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass.php
line 39
at MergeExtensionConfigurationPass->process(object(ContainerBuilder)) in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Compiler\Compiler.php
line 108
at Compiler->compile(object(ContainerBuilder)) in
C:\mapbender3\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ContainerBuilder.php
line 572
at ContainerBuilder->compile() in C:\mapbender3\app\bootstrap.php.cache line
2521
at Kernel->initializeContainer() in C:\mapbender3\app\bootstrap.php.cache
line 2300
at Kernel->boot() in C:\mapbender3\app\bootstrap.php.cache line 2331
at Kernel->handle(object(Request)) in C:\mapbender3\web\app_dev.php line 28
http://localhost/mapbender3/app.php
Normally loaded Mapbender page. Authorization works.
config.yml contents
doctrine:
dbal:
default_connection: default
connections:
default:
driver: %database_driver%
host: %database_host%
port: %database_port%
dbname: %database_name%
path: %database_path%
user: %database_user%
password: %database_password%
charset: UTF8
logging: %kernel.debug%
profiling: %kernel.debug%
search_db:
driver: %database2_driver%
host: %database2_host%
port: %database2_port%
dbname: %database2_name%
path: %database2_path%
user: %database2_user%
password: %database2_password%
charset: UTF8
logging: %kernel.debug%
profiling: %kernel.debug%
orm:
auto_generate_proxy_classes: %kernel.debug%
auto_mapping: true
and parameters.yml
parameters:
default:
database_driver: pdo_pgsql
database_host: localhost
database_port: 5432
database_name: mapbender3
database_path: ~
database_user: postgres
database_password: n36rp21
search_db:
database2_driver: pdo_pgsql
database2_host: localhost
database2_port: 5432
database2_name: search_db
database2_path: ~
database2_user: postgres
database2_password: n36rp21
configuration
Oracle Virtualbox, Win7 32bit Pro, Apache/2.4.23 (Win32) PHP/5.6.26.
PHPinfo
pdo_pgsql
PDO Driver for PostgreSQL enabled
PostgreSQL(libpq) Version 9.4.5
Module version 1.0.2
Revision $Id: 0e858dd2051ca8c2fd3c781909a0670ab5fecd36 $
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 9.4.5
PostgreSQL(libpq) 9.4.5 (win32)
Multibyte character support enabled
SSL support enabled
Active Persistent Links 0
Active Links 0
Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited
I have no confidence that will earn search if there is an error in the
app_dev mode.
You couldn't clear a situation or prompt at least where to look for an
error?
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/I-can-not-adjust-SearchRouter-Please-help-tp5295321p5295856.html
Sent from the mapbender-users mailing list archive at Nabble.com.
More information about the Mapbender_users
mailing list