Re: Mapbender_users Digest, Vol 129, Issue 1

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

Re: Mapbender_users Digest, Vol 129, Issue 1

Nelson Lovestrom
So I made corrections within config.yml so now they are hardcoded as the same values as in parameter.yml.
Now I get the Date.Time error when running doctrine:database:create. This is despite having that defined in php.ini
code as written: 

[Date]
; Defines the default timezone used by the date functions
date.timezone = "America/Vancouver"




On Fri, Aug 4, 2017 at 12:00 PM, <[hidden email]> wrote:
Send Mapbender_users mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.osgeo.org/mailman/listinfo/mapbender_users
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mapbender_users digest..."


Today's Topics:

   1. Installation issue Mapbender 3 (Nelson Lovestrom)
   2. Re: Installation issue Mapbender 3 (Charlotte Toma)


----------------------------------------------------------------------

Message: 1
Date: Thu, 3 Aug 2017 13:20:14 -0700
From: Nelson Lovestrom <[hidden email]>
To: [hidden email]
Subject: [Mapbender-users] Installation issue Mapbender 3
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20170803/83a527af/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 4 Aug 2017 09:50:37 +0200
From: Charlotte Toma <[hidden email]>
To: [hidden email]
Subject: Re: [Mapbender-users] Installation issue Mapbender 3
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="utf-8"

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: <a href="tel:%2B49%280%29228%2090%2090%2038%20-%2024" value="+4922890903824">+49(0)228 90 90 38 - 24
 Fax: <a href="tel:%2B49%280%29228%2090%2090%2038%20-%2011" value="+4922890903811">+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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20170804/2e526c82/attachment-0001.html>

------------------------------

Subject: Digest Footer

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

------------------------------

End of Mapbender_users Digest, Vol 129, Issue 1
***********************************************



--
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

Astrid Emde (WhereGroup)
Hello Nelson,

you should not edit config.yml and refer hardcoded to the variables.
Make sure that parameters.yml is there and in use. There are some more
variables in parameters.yml that are nedded.

Copy parameters.yml.dist and create your parameters.yml file.

It is possible that you can ignore the message concerning date.timezone.
Your definition looks good.

Astrid


Am 2017-08-04 22:16, schrieb Nelson Lovestrom:

> So I made corrections within config.yml so now they are hardcoded as
> the same values as in parameter.yml.
> Now I get the Date.Time error when running doctrine:database:create.
> This is despite having that defined in php.ini
> code as written:
>
> [Date]
> ; Defines the default timezone used by the date functions
> ; http://php.net/date.timezone
> date.timezone = "America/Vancouver"
>
> On Fri, Aug 4, 2017 at 12:00 PM,
> <[hidden email]> wrote:
>
>> Send Mapbender_users mailing list submissions to
>> [hidden email]
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.osgeo.org/mailman/listinfo/mapbender_users [1]
>> or, via email, send a message with subject or body 'help' to
>> [hidden email]
>>
>> You can reach the person managing the list at
>> [hidden email]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Mapbender_users digest..."
>>
>> Today's Topics:
>>
>> 1. Installation issue Mapbender 3 (Nelson Lovestrom)
>> 2. Re: Installation issue Mapbender 3 (Charlotte Toma)
>>
>>
> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 3 Aug 2017 13:20:14 -0700
>> From: Nelson Lovestrom <[hidden email]>
>> To: [hidden email]
>> Subject: [Mapbender-users] Installation issue Mapbender 3
>> Message-ID:
>>
>> <[hidden email]>
>> Content-Type: text/plain; charset="utf-8"
>>
>> 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
>> [2]
>>
>> 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
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>>
> <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20170803/83a527af/attachment-0001.html
>> [3]>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Fri, 4 Aug 2017 09:50:37 +0200
>> From: Charlotte Toma <[hidden email]>
>> To: [hidden email]
>> Subject: Re: [Mapbender-users] Installation issue Mapbender 3
>> Message-ID: <[hidden email]>
>> Content-Type: text/plain; charset="utf-8"
>>
>> 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 [4]
>>
>> --
>> 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 [5]
>> ***********************************************************
>>
>> Charlotte Toma
>> WhereGroup GmbH & Co.KG
>> Eifelstraße 7
>> 53119 Bonn
>> Germany
>>
>> Fon: +49(0)228 90 90 38 - 24 [6]
>> Fax: +49(0)228 90 90 38 - 11 [7]
>>
>> [hidden email]
>> www.wheregroup.com [8]
>>
>> Folgen Sie der WhereGroup auf twitter:
>> http://twitter.com/WhereGroup_com [9]
>>
>> 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
>> [2]
>>>
>>> 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 [1]
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>>
> <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20170804/2e526c82/attachment-0001.html
>> [10]>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> Mapbender_users mailing list
>> [hidden email]
>> https://lists.osgeo.org/mailman/listinfo/mapbender_users [1]
>>
>> ------------------------------
>>
>> End of Mapbender_users Digest, Vol 129, Issue 1
>> ***********************************************
>
> --
>
> Nelson Lovestrom
> B.A., P.G. Dip.
> GIS Technician
>
>
> Links:
> ------
> [1] https://lists.osgeo.org/mailman/listinfo/mapbender_users
> [2]
> https://doc.mapbender3.org/en/book/installation/installation_windows.html
> [3]
> http://lists.osgeo.org/pipermail/mapbender_users/attachments/20170803/83a527af/attachment-0001.html
> [4] https://doc.mapbender3.org/en/book/database.html
> [5] http://www.foss-academy.com/sommerschule
> [6] tel:%2B49%280%29228%2090%2090%2038%20-%2024
> [7] tel:%2B49%280%29228%2090%2090%2038%20-%2011
> [8] http://www.wheregroup.com
> [9] http://twitter.com/WhereGroup_com
> [10]
> http://lists.osgeo.org/pipermail/mapbender_users/attachments/20170804/2e526c82/attachment-0001.html
> _______________________________________________
> Mapbender_users mailing list
> [hidden email]
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

--
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

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

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

  Fon: +49(0)228 90 90 38 - 22
  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
-------------------------------
_______________________________________________
Mapbender_users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapbender_users