[Mapbender-users] Connection error with geometry server, internal error 500

zh.kerimkulov at gharysh.kz zh.kerimkulov at gharysh.kz
Tue May 3 01:12:38 PDT 2016


Thank you

It works now! 

-----Original Message-----
From: Astrid Emde [mailto:astrid.emde at wheregroup.com] 
Sent: Tuesday, May 3, 2016 12:18 PM
To: Mapbender User List
Cc: Керимкулов Жандос Сеитович
Subject: Re: [Mapbender-users] Connection error with geometry server, internal error 500

Hello Zhandos,

as you wrote everything works fine with ap_dev.php. That looks good.

So please run

app/console assets:install web (see installation of Mapbender
http://doc.mapbender3.org/en/book/installation.html)
and clear your cache.

Then you should be able to use app.php too.

Best regards Astrid

Am 2016-05-03 05:12, schrieb zh.kerimkulov at gharysh.kz:
> Hi Astrid
> 
> Thanks for your support!!!
> 
> I checked all path in DB and YML files, looks the same.
> 
> I tried clear cache, but still got problems. In app_dev mode it works 
> fine.
> 
> What I noticed in browser console that is error 500 on 
> localhost/mapbender3/application/Portal/element/107/select?
> 
> Thank you
> 
> Zhandos
> 
> FROM: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org]
> ON BEHALF OF Astrid Emde
> SENT: Monday, May 2, 2016 12:28 PM
> TO: mapbender_users at lists.osgeo.org
> SUBJECT: Re: [Mapbender-users] Connection error with geometry server, 
> internal error 500
> 
> Hi Zhandos,
> 
> please check the real name of your Database in PostgreSQL. Is it named 
> seach_db as you wrote in parameter.yml (_database2_name: search_db)_?
> 
> Are you allowed to access the database?
> Clear the cache
> Call Mapbender with app_dev.php to get the errors. Something like 
> http://localhost/mapbender3/app_dev.php [6]
> 
> The rest looks fine.
> 
> Best regards
> 
> Astrid
> 
> Am 30.04.2016 09:09, schrieb zh.kerimkulov at gharysh.kz:
> 
>> Hello Mapbender Users!!!
>> 
>> I tried to use Digitizer element, but faced connection error with 
>> geometry server.
>> 
>> Step by step:
>> 
>> 1/ I changed config.yml file:
>> 
>> _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%_
>> 
>> 2/ and parameters.yml file.
>> 
>> _parameters:_
>> 
>> _ # database-connection "default"_
>> 
>> _ database_driver: pdo_pgsql_
>> 
>> _ database_host: localhost_
>> 
>> _ database_port: 5432_
>> 
>> _ database_name: mapbender3_
>> 
>> _ database_path: ~_
>> 
>> _ database_user: postgres_
>> 
>> _ database_password: postgres_
>> 
>> _ _
>> 
>> _ # database-connection "search_db"_
>> 
>> _ database2_driver: pdo_pgsql_
>> 
>> _ database2_host: localhost_
>> 
>> _ database2_port: 5432_
>> 
>> _ database2_name: search_db_
>> 
>> _ database2_path: ~_
>> 
>> _ database2_user: postgres_
>> 
>> _ database2_password: postgres_
>> 
>> 3/ then I tried to create DB by console utility like this:
>> app/console doctrine:database:create
>> 
>> But this utility create only default DB, _search_db_ did not created 
>> by script. I create it manually and added extension Postgis. After 
>> that I added tables with SQL query for tables table public.poi, 
>> public.polygons, public.lines, then I added Digitizer element to the 
>> side panel of application and put YAML-Definition to the textarea 
>> schemes but it did not solve the problem, I still have "Connection 
>> error with geometry server, internal error 500".
>> 
>> Thank you,
>> 
>> Zhandos
>> 
>> _______________________________________________
>> 
>> Mapbender_users mailing list
>> 
>> Mapbender_users at lists.osgeo.org
>> 
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users [1]
> 
> --
> 
> Mit freundlichen Grüßen
> 
> Astrid Emde
> 
> GIS-Consultant
> 
> -----------------------------------
> 
> Aufwind durch Wissen!
> 
> Qualifizierte OpenSource-Schulungen
> 
> bei der www.foss-academy.eu [2]
> 
> -----------------------------------
> 
>  Astrid Emde
> 
>  WhereGroup GmbH & Co.KG
> 
>  Eifelstraße 7
> 
>  53119 Bonn
> 
>  Germany
> 
>  Fon: +49(0)228 90 90 38 - 19
> 
>  Fax: +49(0)228 90 90 38 - 11
> 
>  astrid.emde at wheregroup.com
> 
>  www.wheregroup.com [3]
> 
>  Folgen Sie der WhereGroup auf twitter:
> http://twitter.com/WhereGroup_com [4]
> 
> Amtsgericht Bonn, HRA 6788
> 
> -------------------------------
> 
> Komplementärin:
> 
> WhereGroup Verwaltungs GmbH
> 
> vertreten durch:
> 
> Olaf Knopp, Peter Stamm
> 
> -------------------------------
> 
>  pgp-public key:
> 
>  http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284 [5]
> 
>   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
> 
>   Signed and/or encrypted mail is highly appreciated
> 
> 
> Links:
> ------
> [1] http://lists.osgeo.org/mailman/listinfo/mapbender_users
> [2] http://www.foss-academy.eu
> [3] http://www.wheregroup.com
> [4] http://twitter.com/WhereGroup_com
> [5] http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284
> [6] http://localhost/mapbender3/app_dev.php
> 
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users

--
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

-----------------------------------
Aufwind durch Wissen!
Qualifizierte OpenSource-Schulungen
bei der www.foss-academy.eu
-----------------------------------

  Astrid Emde
  WhereGroup GmbH & Co.KG
  Eifelstraße 7
  53119 Bonn
  Germany

  Fon: +49(0)228 90 90 38 - 19
  Fax: +49(0)228 90 90 38 - 11

  astrid.emde at wheregroup.com
  www.wheregroup.com

  Folgen Sie der WhereGroup auf twitter: 
http://twitter.com/WhereGroup_com

Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
  pgp-public key:
  http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284
  Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
  Signed and/or encrypted mail is highly appreciated


More information about the Mapbender_users mailing list