<p dir="ltr">Thank so much for your advanced!,,,,, If I open <a href="https://localhost/mapbender/app_dev.php/">https://localhost/mapbender/app_dev.php/</a> ,, I see :<br>
InvalidArgumentException in YamlFileLoader.php line 366</p>
<p dir="ltr">The file "c:\ms4w\apps\mapbender3-starter-3.0.7.7\app/ config/config_dev.yml" does not contain valid YAML.</p>
<div class="gmail_quote">On Feb 28, 2019 9:55 AM, "Astrid Emde (WhereGroup)" <<a href="mailto:astrid.emde@wheregroup.com">astrid.emde@wheregroup.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Eric,<br>
<br>
it looks like Mapbender can't connect to your database.<br>
<br>
Your config files look fine<br>
<br>
your search database is: database2_name search_db<br>
<br>
Did you try the app_dev.php mode?<br>
<br>
<a href="http://your-server/mapbender/app_dev.php" rel="noreferrer" target="_blank">http://your-server/mapbender/a<wbr>pp_dev.php</a><br>
<br>
It will offer you more details in the developer tools response<br>
<br>
Also make sure that you empty the cache mapbender/app/cache as changes in the config files are cached in productive mode.<br>
<br>
Astrid<br>
<br>
<br>
<br>
Am 2019-02-27 19:07, schrieb eric rasamoelina eric:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Mapbender community<br>
<br>
thank you very much!!<br>
<br>
If i open the application in a browser i receive the following error:<br>
<br>
Feature API query error.”<!DOCTYPE html>\n<html>\n <head>\n <meta<br>
charset=\”UTF-8\” />\n <titel>An Error Occured: Internal Server<br>
Error</titel>\n </head>\n <body>\n <h1>Oops! An Error Occurred</h1>\n<br>
<h2>The server returned a \”500 Internal Server Error\”.</h2>\n\n<br>
<div>\n Something is broken. Please let us know what you were doing<br>
when this error occurred.\n We will fix it as soon as possible. Sorry<br>
for any inconvenience caused.\n </div>\n </body>\n</html>\n”<br>
<br>
Down below, there are the parameters.yml and config.yml. Do anybody<br>
know how to solve these problems?<br>
<br>
Thank you for your help and best regards,<br>
<br>
Eric<br>
<br>
I've this script<br>
<br>
config.yml<br>
<br>
imports: - { resource: parameters.yml } - { resource: security.yml }<br>
framework: #esi: ~ translator: { fallback: %fallback_locale% } secret:<br>
%secret% router: resource: "%kernel.root_dir%/config/rout<wbr>ing.yml"<br>
strict_requirements: %kernel.debug% form: true csrf_protection: true<br>
validation: { enable_annotations: true } templating: { engines:<br>
['twig'] } #assets_version: SomeVersionScheme default_locale: %locale%<br>
session: cookie_httponly: true cookie_secure: %cookie_secure%<br>
cookie_lifetime: %cookie_lifetime% # Twig Configuration twig: debug:<br>
%kernel.debug% strict_variables: %kernel.debug% globals: fom: %fom%<br>
form: resources: - 'FOMCoreBundle:Form:fields.htm<wbr>l.twig' # Assetic<br>
Configuration assetic: debug: %kernel.debug% use_controller: true<br>
filters: cssrewrite: ~ sass: ~ # Doctrine Configuration doctrine:<br>
dbal: default_connection: default connections: default: driver:<br>
"%database_driver%" host: "%database_host%" port: "%database_port%"<br>
dbname: "%database_name%" path: "%database_path%" user:<br>
"%database_user%" password: "%database_password%" #persistent: true<br>
(nodekomantena) charset: UTF8 logging: %kernel.debug% profiling:<br>
%kernel.debug% #second database search_db: driver:<br>
"%database2_driver%" host: "%database2_host%" port: "%database2_port%"<br>
dbname: "%database2_name%" path: "%database2_path%" user:<br>
"%database2_user%" password: "%database2_password%" charset: UTF8<br>
logging: "%kernel.debug%" profiling: "%kernel.debug%" orm:<br>
auto_generate_proxy_classes: %kernel.debug% auto_mapping: true #<br>
Swiftmailer Configuration swiftmailer: transport: %mailer_transport%<br>
host: %mailer_host% username: %mailer_user% password:<br>
%mailer_password% spool: { type: memory } # FOM Manager Configuration<br>
fom_manager: route_prefix: /manager # FOM User Configuration fom_user:<br>
selfregister: false reset_password: true max_registration_time: 1<br>
max_reset_time: 1 mail_from_address: <a href="mailto:wizard@oz.net" target="_blank">wizard@oz.net</a> mail_from_name:<br>
Wizard of Oz profile_entity: FOM\UserBundle\Entity\BasicPro<wbr>file<br>
profile_formtype: FOM\UserBundle\Form\Type\Basic<wbr>ProfileType<br>
profile_template: FOMUserBundle:User:basic_profi<wbr>le.html.twig<br>
self_registration_groups: - Self Registered - Demo Group # Allow to<br>
create user log table on the fly if the table doesn't exits. #<br>
Default: true auto_create_log_table: false # Time between to check<br>
login tries login_check_log_time: "-5 minutes" # Login attemps before<br>
delay starts login_attempts_before_delay: 3 # Login delay after all<br>
attemps are failed login_delay_after_fail: 5 # Seconds # OWSProxy<br>
Configuration ows_proxy3_core: logging: %ows_proxy3_logging%<br>
obfuscate_client_ip: %ows_proxy3_obfuscate_client_i<wbr>p% proxy: host:<br>
%ows_proxy3_host% port: %ows_proxy3_port% connecttimeout:<br>
%ows_proxy3_connecttimeout% timeout: %ows_proxy3_timeout% user:<br>
%ows_proxy3_user% password: %ows_proxy3_password% checkssl: true<br>
noproxy: %ows_proxy3_noproxy% # Mapbender Configuration<br>
mapbender_core: ~<br>
<br>
parameters.yml<br>
<br>
parameters: # database-connection "default" database_driver: pdo_pgsql<br>
database_host: localhost database_port: 5432 database_name:<br>
JDElectricite database_path: ~ database_user: postgres<br>
database_password: post # database-connection "search_db"<br>
database2_driver: pdo_pgsql database2_host: localhost database2_port:<br>
5432 database2_name: search_db database2_path: ~ database2_user:<br>
postgres database2_password: post<br>
<br>
#database_driver: pdo_sqlite #database_host: ~ #database_port: ~<br>
#database_name: ~ #database_path: %kernel.root_dir%/db/demo.sqli<wbr>te<br>
#database_user: ~ #database_password: ~ mailer_transport: smtp<br>
mailer_host: localhost mailer_user: ~ mailer_password: ~ # locale en,<br>
de, it, es, ru, nl, pt are available fallback_locale: en locale: en<br>
secret: ThisTokenIsNotSoSecretChangeIt fom: server_name: Mapbender3<br>
server_version: 3.0.6.3 server_logo:<br>
bundles/mapbendercore/image/lo<wbr>go_mb3.png # framework :<br>
<a href="http://symfony.com/doc/2.8/reference/configuration/framework.html#cookie-lifetime" rel="noreferrer" target="_blank">http://symfony.com/doc/2.8/ref<wbr>erence/configuration/framework<wbr>.html#cookie-lifetime</a><br>
cookie_secure: false cookie_lifetime: 3600 # OWSProxy Configuration<br>
ows_proxy3_logging: false ows_proxy3_obfuscate_client_ip<wbr>: true<br>
ows_proxy3_host: ~ ows_proxy3_port: ~ ows_proxy3_connecttimeout: 60<br>
ows_proxy3_timeout: 90 ows_proxy3_user: ~ ows_proxy3_password: ~<br>
ows_proxy3_noproxy: ~<br>
______________________________<wbr>_________________<br>
Mapbender_dev mailing list<br>
<a href="mailto:Mapbender_dev@lists.osgeo.org" target="_blank">Mapbender_dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapbender_dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/mapbender_dev</a><br>
</blockquote>
<br>
-- <br>
--<br>
Mit freundlichen Grüßen<br>
<br>
Astrid Emde<br>
GIS-Consultant<br>
<br>
******************************<wbr>******************************<wbr>****************<br>
FOSS Academy Kompaktkurs "Winterschule 2019"<br>
Grundwissen zum Aufbau von Geodateninfrastrukturen mit<br>
Open-Source-Software <a href="https://foss-academy.com/kompaktkurse" rel="noreferrer" target="_blank">https://foss-academy.com/kompa<wbr>ktkurse</a><br>
******************************<wbr>******************************<wbr>****************<br>
<br>
Astrid Emde<br>
WhereGroup GmbH & Co.KG<br>
Eifelstraße 7<br>
53119 Bonn<br>
Germany<br>
<br>
Fon: +49(0)228 90 90 38 - 22<br>
Fax: +49(0)228 90 90 38 - 11<br>
<br>
<a href="mailto:astrid.emde@wheregroup.com" target="_blank">astrid.emde@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:<br>
<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>
______________________________<wbr>_________________<br>
Mapbender_dev mailing list<br>
<a href="mailto:Mapbender_dev@lists.osgeo.org" target="_blank">Mapbender_dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapbender_dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/mapbender_dev</a></blockquote></div>