<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello Charlotte,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">maybe you can help me again.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I´ve added the element "digitizer" and entered following yml-file:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><b>bohrdaten:<br> label: Punkt Digitalisierung<br> inlineSearch: true<br> maxResults: 500<br> featureType:<br> connection: Bohrpunkte_NP<br> table: bohrdaten<br> uniqueId: id<br> geomType: point<br> geomField: geom<br> srid: 4326<br> openFormAfterEdit: true<br> zoomScaleDenominator: 500<br> allowEditData: true<br> allowDelete: true<br> allowDigitize: true<br> useContextMenu: true<br> useCancelButton: true<br> toolset:<br> - type: drawPoint<br> - type: moveFeature<br> popup:<br> title: Editieren Bohrpunkte <br> width: 500px<br> searchType: currentExtent<br> tableFields:<br> id: {label: Nr.}<br> projektnummer: {label: Projekt}<br> adresse: {label: Adresse}<br> beschreibung: {label: Beschreibung}<br> datum: {label: Datum}<br> gw_flurabstand: {label: GW-Flurabstand [m]}<br> gw_maechtigkeit: {label: GW-Mächtigkeit [m]}<br> gok: {label: GOK [m ü. NN]}<br> gwo: {label: GWO [m ü. NN]}<br> tertiaer_ok: {label: Tertiär-OK [m ü. NN]}<br> erschliessung: {label: Erschließung}<br> nutzung: {label: Nutzung}<br> styles:<br> default:<br> strokeWidth: 2<br> strokeColor: '#0e6a9e'<br> fillColor: '#1289CD'<br> fillOpacity: 1<br> fillWidth: 2<br> pointRadius: 10<br> select:<br> strokeWidth: 3<br> strokeColor: '#0e6a9e'<br> fillOpacity: 0.7<br> pointRadius: 10<br> formItems:<br> - type: tabs<br> children:<br> - type: form<br> title: Basisinformationen<br> css: {padding: 10px}<br> children:<br> - type: label<br> title: Hier kannst du einen neuen Bohrpunkt erfassen!<br> - type: input<br> title: Projekt <br> mandatory: true<br> name: projektnummer<br> mandatoryText: Hoppla. Unvollständige Eingabe!<br> infoText: "Bitte gib eine Projektnummer an!"<br> placeholder: "z.B. 1234 oder 1234-1"<br> - type: textArea<br> title: Adresse<br> name: adresse<br> rows: 2<br> - type: select<br> title: Erschließung<br> name: erschliessung<br> multiple: false<br> options: {1: Rammsondierung, 2: Kleinbohrung, 3: Bohrung}<br> infoText: "Hier kann angegeben werden, wie der Bohrpunkt erschlossen wurde"<br> - type: select<br> title: Nutzung<br> name: nutzung<br> multiple: false<br> options: {1:Erkundung, 2:GWM, 3:Geothermie}<br> infoText: "Hier kann angegeben werden, wie der Bohrpunkt genutzt wird"<br> - type: input<br> title: Beschreibung<br> name: beschreibung<br> mandatory: false<br> placeholder: "Hier können zusätzliche Informationen angegeben werden."<br> - type: date<br> title: Datum<br> name: datum <br> placeholder: "z.B. 01.01.2017"<br> dateFormat: dd.mm.yy<br> infoText: "Das Datum wird im Format dd.mm.yy angegeben."<br> - type: form<br> title: Details<br> css: {padding: 10px}<br> children:<br> - type: label<br> title: Bitte gib hier weitere Informationen zum Bohrpunkt an!<br> - type: fieldSet<br> children:<br> - type: input<br> title: GW-Flurabstand [m]<br> name: gw_flurabstand<br> css: {width: 33%}<br> - type: input<br> title: GW-Mächtigkeit [m]<br> name: gw_maechtigkeit<br> css: {width: 33%}<br> - type: input<br> title: GWO [m ü. NN]<br> name: gwo<br> css: {width: 33%}<br> - type: fieldSet<br> children:<br> - type: input<br> title: GOK [m ü. NN]<br> name: gok<br> css: {width: 50%}<br> - type: input<br> title: Tertiär-OK [m ü. NN bzw. m unter GOK]<br> name: tertiaer_ok<br> css: {width: 50%}</b><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div style="top: 0px; right: 0px;" class="gmail-notifyjs-corner"><div class="gmail-notifyjs-wrapper gmail-notifyjs-hidable"><div class="gmail-notifyjs-container"><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span><br></span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span>I added two database-connection to my config.yml and my parameters.yml (like explained in <a href="https://doc.mapbender3.org/de/book/database.html">https://doc.mapbender3.org/de/book/database.html</a>):</span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span><br></span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span>1) in the config.yml<br></span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><b><span>doctrine:<br> dbal:<br> default_connection: default <br> connections:<br> # Datenbankverbindung default<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> # Datenbankverbindung Bohrpunkte_NP<br> Bohrpunkte_NP:<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> persistent: true<br> charset: UTF8<br> logging: %kernel.debug%<br> profiling: %kernel.debug%<br></span></b></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><b><span><br></span></b></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span>2) In the parameters.yml</span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span><b>parameters:<br> # Datenbankverbindugn default<br> database_driver: pdo_pgsql<br> database_host: localhost<br> database_port: 5432<br> database_name: mapbender3<br> database_path: ~<br> database_user: postgres<br> database_password: ****<br><br> #Datenbankverbindung Bohrpunkte_NP<br> database2_driver: pdo_pgsql<br> database2_host: localhost<br> database2_port: 5432<br> database2_name: Bohrpunkte_NP<br> database2_path: ~<br> database2_user: postgres<br> database2_password: ****<br> <br> mailer_transport: smtp<br> mailer_host: localhost<br> mailer_user: ~<br> mailer_password: ~</b><br></span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">After updating and return to my application following error occured:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div>
<div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error">
<i><span>Feature API query error."<!DOCTYPE
html>\n<html>\n <head>\n <meta
charset=\"UTF-8\" />\n <title>An Error Occurred:
Internal Server Error</title>\n </head>\n
<body>\n <h1>Oops! An Error Occurred</h1>\n
<h2>The server returned a \"500 Internal Server
Error\".</h2>\n\n <div>\n Something is
broken. Please let us know what you were doing when this error
occurred.\n We will fix it as soon as possible. Sorry for any
inconvenience caused.\n </div>\n
</body>\n</html>\n"</span></i></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span><br></span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span>When I import my application in the develover environment <u><a href="http://localhost/mapbender3/app_dev.php/application/bp">http://localhost/mapbender3/app_dev.php/application/bp</a></u> </span><span>and open my application, everything´s working (no error).</span><i><span> </span></i><span>So I´m confused, why in the app_dev.php it works, but not at the frontend <u><a href="http://localhost/mapbender3/application/bp">http://localhost/mapbender3/application/bp</a></u>? Do I have to do special oder additional configurations?<br></span><i><span></span></i></div><span></span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span><br></span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span>Thank you in advance and have a nice weekend</span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span>Cheers,</span></div><div class="gmail-notifyjs-bootstrap-base gmail-notifyjs-bootstrap-error"><span>Teresa<br></span>
</div></div>
</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-21 8:09 GMT+02:00 Teresa Graßl <span dir="ltr"><<a href="mailto:teresagrassl91@gmail.com" target="_blank">teresagrassl91@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello Charlotte,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">thank you again. I tried again and found the mistake. I have to put the layertree element in the layout part "content" instead of "toolbar". Now I´m trying to include my database WMS. Hopefully it works too.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Best regards</div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Teresa<br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">Am 20. September 2017 um 15:40 schrieb Charlotte Toma <span dir="ltr"><<a href="mailto:charlotte.toma@wheregroup.com" target="_blank">charlotte.toma@wheregroup.com</a><wbr>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Teresa,<br>
<br>
perhaps the layertree isn't working fine in your application... is the<br>
layerset "YAML - main" activated? <br>
<br>
Here is an image from the documentation, that shows you where you can<br>
find the checkbox:<br>
<br>
<a href="https://doc.mapbender3.org/_images/layertree_configuration_2.png" rel="noreferrer" target="_blank">https://doc.mapbender3.org/_im<wbr>ages/layertree_configuration_<wbr>2.png</a><br>
<div class="m_-6108844624677888627HOEnZb"><div class="m_-6108844624677888627h5"><br>
<br>
--<br>
Mit freundlichen Grüßen<br>
<br>
Charlotte Toma<br>
GIS-Consultant<br>
<br>
******************************<wbr>************************<br>
INTERGEO 2017<br>
26.-28. September 2017 in Berlin<br>
Treffen Sie die WhereGroup in Halle 3.1, Stand A3.053<br>
<a href="http://www.intergeo.de" rel="noreferrer" target="_blank">www.intergeo.de</a><br>
******************************<wbr>************************<br>
<br>
<br>
Charlotte Toma<br>
WhereGroup GmbH & Co.KG<br>
Eifelstraße 7<br>
53119 Bonn<br>
Germany<br>
<br>
Fon: <a href="tel:%2B49%280%29228%2090%2090%2038%20-%2024" value="+4922890903824" target="_blank">+49(0)228 90 90 38 - 24</a><br>
Fax: <a href="tel:%2B49%280%29228%2090%2090%2038%20-%2011" value="+4922890903811" target="_blank">+49(0)228 90 90 38 - 11</a><br>
<br>
<a href="mailto:charlotte.toma@wheregroup.com" target="_blank">charlotte.toma@wheregroup.com</a><br>
<a href="http://www.wheregroup.com" rel="noreferrer" target="_blank">www.wheregroup.com</a><br>
<br>
Folgen Sie der WhereGroup auf twitter: <a href="http://twitter.com/WhereGroup_com" rel="noreferrer" target="_blank">http://twitter.com/WhereGroup_<wbr>com</a><br>
<br>
Amtsgericht Bonn, HRA 6788<br>
------------------------------<wbr>-<br>
Komplementärin:<br>
WhereGroup Verwaltungs GmbH<br>
vertreten durch:<br>
Olaf Knopp, Peter Stamm<br>
------------------------------<wbr>-<br>
<br>
______________________________<wbr>_________________<br>
Mapbender_users mailing list<br>
<a href="mailto:Mapbender_users@lists.osgeo.org" target="_blank">Mapbender_users@lists.osgeo.or<wbr>g</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapbender_users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/mapbender_users</a></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>