Installation issue Mapbender 3

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Installation issue Mapbender 3

Nelson Lovestrom
Having an issue with getting mapbender 3 up and running.

I have Apache24 64 bit. and PHP 5.6 64 bit.
I've configured both of those correctly to talk to each other.
I've went through the steps to install mapbender3 as found here. https://doc.mapbender3.org/en/book/installation/installation_windows.html

When I get to this part
c:
cd mapbender3
php.exe app/console doctrine:database:create
php.exe app/console doctrine:schema:create
php.exe app/console assets:install web
php.exe app/console fom:user:resetroot
php.exe app/console doctrine:fixtures:load --fixtures=./mapbender/src/Mapbender/CoreBundle/DataFixtures/ORM/Epsg/ --append
php.exe app/console doctrine:fixtures:load --fixtures=./mapbender/src/Mapbender/CoreBundle/DataFixtures/ORM/Application/ --append
the first php.exe line throws a fatal error with the message 'You have requested a non-existent parameter "database_host". 

How do I fix this and get Mapbender running?


--
Nelson Lovestrom
B.A., P.G. Dip.
GIS Technician


_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users
Reply | Threaded
Open this post in threaded view
|

Re: Installation issue Mapbender 3

Charlotte Toma
Good morning,

the "non-existent parameter" database_host is from the database definition in the parameters.yml (app/config). You propably defined a false value in the database connection in the config.yml

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

Documentation is here: https://doc.mapbender3.org/en/book/database.html
-- 
Mit freundlichen Grüßen

Charlotte Toma
GIS-Consultant

***********************************************************
FOSS Academy Sommerschule 2017
Aufbau von Geodateninfrastrukturen mit Open-Source-Software
11.-15. September 2017
www.foss-academy.com/sommerschule
***********************************************************


 Charlotte Toma
 WhereGroup GmbH & Co.KG
 Eifelstraße 7
 53119 Bonn
 Germany

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

 [hidden email]
 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
------------------------------- 
Am 03.08.2017 um 22:20 schrieb Nelson Lovestrom:
Having an issue with getting mapbender 3 up and running.

I have Apache24 64 bit. and PHP 5.6 64 bit.
I've configured both of those correctly to talk to each other.
I've went through the steps to install mapbender3 as found here. https://doc.mapbender3.org/en/book/installation/installation_windows.html

When I get to this part
c:
cd mapbender3
php.exe app/console doctrine:database:create
php.exe app/console doctrine:schema:create
php.exe app/console assets:install web
php.exe app/console fom:user:resetroot
php.exe app/console doctrine:fixtures:load --fixtures=./mapbender/src/Mapbender/CoreBundle/DataFixtures/ORM/Epsg/ --append
php.exe app/console doctrine:fixtures:load --fixtures=./mapbender/src/Mapbender/CoreBundle/DataFixtures/ORM/Application/ --append
the first php.exe line throws a fatal error with the message 'You have requested a non-existent parameter "database_host". 

How do I fix this and get Mapbender running?


--
Nelson Lovestrom
B.A., P.G. Dip.
GIS Technician



_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users


_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users