<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.18953"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><FONT color=#0000ff>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN 
class=952413913-26032018>Hallo allerseits,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#000080 size=2 face=Arial><SPAN 
class=952413913-26032018></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT size=2><SPAN class=884244913-26032018>wegen der 
Flustückssuche verbleibt allerdings immer noch ein Problem das ich wohl mit der 
Konfiguration von mehreren Datenbanken in MB3 habe. Ich habe die 
Konfiguration nach der Beschreibung unter <A 
href="https://doc.mapbender3.org/en/book/database.html">https://doc.mapbender3.org/en/book/database.html</A> ( 
'Using multiple databases<A title="Permalink to this headline" class=headerlink 
href="https://doc.mapbender3.org/en/book/database.html#using-multiple-databases"></A>') 
vorgenommen.</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT size=2><SPAN 
class=884244913-26032018></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT size=2><SPAN class=884244913-26032018>Wenn ich nun die Suche 
in MB3 projekt ausführe bekomme ich folgenden Fehler im MB log ( prod.log 
):</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT size=2><SPAN 
class=884244913-26032018></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT size=2><SPAN class=884244913-26032018><EM><FONT 
color=#800000>request.CRITICAL: Uncaught PHP Exception 
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "You 
have requested a non-existent service "doctrine.dbal.search_db_connection". Did 
you mean this: "doctrine.dbal.default_connection"?" at 
/var/www/mapbender3/app/bootstrap.php.cache line 2242 {"exception":"[object] 
(Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException(code: 
0): You have requested a non-existent service 
\"doctrine.dbal.search_db_connection\". Did you mean this: 
\"doctrine.dbal.default_connection\"? at 
/var/www/mapbender3/app/bootstrap.php.cache:2242)"}</FONT></EM> 
</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT color=#800000 size=2><SPAN 
class=884244913-26032018><EM></EM></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT color=#800000 size=2><SPAN class=884244913-26032018><EM>Das 
bekommen ich wenn ich im Element Suche die Konfiguration 
eingebe:</EM></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT color=#800000 size=2><SPAN 
class=884244913-26032018><EM>class: 
Mapbender\CoreBundle\Component\SQLSearchEngine<BR>class_options:<BR>  
connection: search_db</EM></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT color=#800000 size=2><SPAN 
class=884244913-26032018><EM>....</EM></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080><FONT color=#800000 size=2><SPAN 
class=884244913-26032018><EM></EM></SPAN></FONT></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080 size=2><SPAN class=884244913-26032018>wenn ich jedoch anstatt 
dessen die connection: default verwende bekomme ich den Fehler das die 
benöltigte View public.qry_mb3_ax_flurstueck_suche nicht 
exitiert</SPAN></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT face=Arial><FONT 
color=#000080 size=2><SPAN 
class=884244913-26032018></SPAN></FONT></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT color=#000080 
size=2 face=Arial><SPAN class=884244913-26032018>Ich denke irgendwie ist meine 
search database mit Symfony nicht korrekt konfiguriert aber was stimmt da nicht 
?</SPAN></FONT></SPAN><SPAN class=952413913-26032018><SPAN 
class=884244913-26032018></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT color=#000080 
size=2 face=Arial><SPAN class=884244913-26032018>Die 
Configurationen config.yml und parameters.yml sind unten zu 
sehen.</SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT color=#000080 
size=2 face=Arial><SPAN 
class=884244913-26032018></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT color=#000080 
size=2 face=Arial>Viele Grüße</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=952413913-26032018><FONT color=#000080 
size=2 face=Arial>Karsten </FONT></SPAN></DIV>
<DIV><SPAN class=952413913-26032018><FONT color=#000080 size=2 face=Arial><A 
href="http://www.terragis.net">www.terragis.net</A></FONT></SPAN></DIV>
<DIV><SPAN class=952413913-26032018><FONT size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=952413913-26032018><FONT color=#800000 size=2 face=Arial><SPAN 
class=884244913-26032018>aus config.yml :</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=952413913-26032018><FONT color=#800000 size=2 face=Arial><SPAN 
class=884244913-26032018>...</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=952413913-26032018><FONT face=Arial><FONT size=2><FONT 
color=#800000>doctrine:<BR>    
dbal:<BR>        default_connection: 
search_db<BR>        
connections:<BR>            
default:<BR>                
driver:   
%database_driver%<BR>                
host:     
%database_host%<BR>                
port:     
%database_port%<BR>                
dbname:   
%database_name%<BR>                
path:     
%database_path%<BR>                
user:     
%database_user%<BR>                
password: 
%database_password%<BR>                
persistent: 
true<BR>                
charset:  
UTF8<BR>                
logging: 
%kernel.debug%<BR>                
profiling: 
%kernel.debug%<BR>            
search_db:<BR>                
driver:   
%database2_driver%<BR>                
host:     
%database2_host%<BR>                
port:     
%database2_port%<BR>                
dbname:   
%database2_name%<BR>                
path:     
%database2_path%<BR>                
user:     
%database2_user%<BR>                
password: 
%database2_password%<BR>                
charset:  
UTF8<BR>                
logging: 
%kernel.debug%<BR>                
profiling: %kernel.debug%<BR><SPAN 
class=884244913-26032018>...</SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=952413913-26032018><FONT face=Arial><FONT size=2><SPAN 
class=884244913-26032018></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=952413913-26032018><FONT face=Arial><FONT size=2><SPAN 
class=884244913-26032018></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=952413913-26032018><FONT face=Arial><FONT color=#008000 
size=2><SPAN class=884244913-26032018>aus 
parameters.yml:</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=952413913-26032018><FONT face=Arial><FONT color=#008000 
size=2><SPAN class=884244913-26032018></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=952413913-26032018><FONT face=Arial><FONT color=#008000 
size=2><SPAN class=884244913-26032018>parameters:<BR>    # 
database-connection "default"<BR>    database_driver:   
pdo_pgsql<BR>    # pdo_sqlite<BR>    
database_host:     localhost<BR>    
database_port:     5432<BR>    
database_name:     mapbender3<BR>    
database_path:     ~<BR>    # 
%kernel.root_dir%/db/demo.sqlite<BR>    
database_user:     postgres<BR>    
database_password: xyz</SPAN></FONT></FONT></SPAN></DIV>
<DIV><FONT color=#008000></FONT> </DIV>
<DIV><SPAN class=952413913-26032018><FONT face=Arial><FONT size=2><SPAN 
class=884244913-26032018><FONT color=#008000>    # 
database-connection "search_db"<BR>    
database2_driver:   pdo_pgsql<BR>    
database2_host:     localhost<BR>    
database2_port:     5432<BR>    
database2_name:     gisme2<BR>    
database2_path:     ~<BR>    
database2_user:     postgres<BR>    
database2_password: 
xyz</FONT><BR></SPAN></FONT></FONT></SPAN></DIV></FONT></DIV>
<BLOCKQUOTE cite=mid:F2176AE4E9FFAF45BEA8D84DD6F4AF1A448CDAD9@skrzmxmbx01 
type="cite"><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
  <DIV class=WordSection1>
  <P class=MsoNormal><SPAN 
  style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d'><O:P></O:P></SPAN></P></DIV></BLOCKQUOTE></BODY></HTML>