<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello there, <br>
</p>
<p><br>
</p>
<pre wrap="">1/1ParameterNotFoundException: You have requested a non-existent parameter
"fallback_locale".
</pre>
<p>Is the following parameter in your parameters.yml set correct? </p>
<p>[db connections... please don't show your passwords....]<br>
</p>
<p> # locale en, de, it, es, ru, nl, pt are available<br>
<b> fallback_locale: en</b><br>
locale: en<br>
secret: ThisTokenIsNotSoSecretChangeIt</p>
<p><br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">Am 15.11.2016 um 14:59 schrieb Den:<br>
</div>
<blockquote cite="mid:1479218349622-5295856.post@n6.nabble.com"
type="cite">
<pre wrap="">Having worked with settings and having transferred all folders of the server
to the root directory C: received the following -
<a class="moz-txt-link-freetext" href="http://localhost/mapbender3/config.php">http://localhost/mapbender3/config.php</a>
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
<a class="moz-txt-link-freetext" href="http://localhost/mapbender3/app_dev.php">http://localhost/mapbender3/app_dev.php</a>
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
<a class="moz-txt-link-freetext" href="http://localhost/mapbender3/app.php">http://localhost/mapbender3/app.php</a>
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: <a class="moz-txt-link-freetext" href="http://osgeo-org.1560.x6.nabble.com/I-can-not-adjust-SearchRouter-Please-help-tp5295321p5295856.html">http://osgeo-org.1560.x6.nabble.com/I-can-not-adjust-SearchRouter-Please-help-tp5295321p5295856.html</a>
Sent from the mapbender-users mailing list archive at Nabble.com.
_______________________________________________
Mapbender_users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Mit freundlichen Grüßen
Charlotte Toma
GIS-Consultant
********************************************
Where2B Konferenz 2016
15. Dezember 2016 in Bonn
<a class="moz-txt-link-abbreviated" href="http://www.where2b-conference.com">www.where2b-conference.com</a>
********************************************
Charlotte Toma
WhereGroup GmbH & Co.KG
Eifelstraße 7
53119 Bonn
Germany
Fon: +49(0)228 90 90 38 - 24
Fax: +49(0)228 90 90 38 - 11
<a class="moz-txt-link-abbreviated" href="mailto:charlotte.toma@wheregroup.com">charlotte.toma@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Folgen Sie der WhereGroup auf twitter: <a class="moz-txt-link-freetext" href="http://twitter.com/WhereGroup_com">http://twitter.com/WhereGroup_com</a>
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
------------------------------- </pre>
</body>
</html>