[Mapbender-users] Difficulties installing demo
Astrid Emde
astrid.emde at wheregroup.com
Mon Jul 20 05:59:20 PDT 2015
Hello Franklin,
you want to use PostgreSQL as your database.
Then you have to leave database_path empty like:
database_path: ~
After this change you should be fine, else please write again.
Best regards
Astrid
Am 20.07.2015 14:50, schrieb Franklin Januario da Silva:
>
> Good morning gentlemen,
>
>
>
> Sorry for my bad english, I'm trying to run the script to install the
> demonstration bundler but I'm getting an error that appears to be
> linked to the directory path.
>
>
>
> My installation of Mapbender was carried out in the following directory:
>
>
>
> C: \ OSGeo4W \ var \ www \ mapbender3
>
>
>
> Postgis created a database named Mapbender. I configured the
> parameter.yml as follows:
>
>
>
> database_driver: pdo_pgsql
>
> database_host: localhost
>
> database_port: 5432
>
> database_name: mapbender
>
> database_path: %kernel.root_dir%/db/demo.sqlite
>
> database_user: postgres
>
> database_password: dummy
>
>
>
> I think I should change the line "database_path:% kernel.root_dir% /
> db / demo.sqlite" but I'm not sure.
>
>
>
> Running the script below:
>
>
>
> php.exe app / console doctrine: database: create
>
>
>
> I get this:
>
>
>
> An exception occurred while executing 'CREATE DATABASE
> C:\OSGeo4W\var\www\mapbender3\app/db/demo.sqlite':
>
>
>
> SQLSTATE[42601]: Syntax error: 7 ERRO: erro de sintaxe em ou próximo
> a ":"
>
> LINE 1: CREATE DATABASE C:\OSGeo4W\var\www\mapbender3\app/db/demo.sq...
>
> ^
>
>
>
> Tanks for help,
>
>
>
>
>
>
> **
>
> *
> Franklin Januario da Silva
> * Agricola
>
> 64 3634-2806
> 64 9979-0608
>
> * cerradinho.com.br <http://www.cerradinho.com.br>
>
> *
>
>
>
> _______________________________________________
> 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
*********************************************************
FOSS Academy Sommerschule 2015
Alles Wichtige zur Erstellung einer GDI in nur 5 Tagen!
http://www.foss-academy.eu/kompaktkurse_sommerschule_2015
*********************************************************
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20150720/2d0eb629/attachment-0001.html>
More information about the Mapbender_users
mailing list