[Mapbender-users] update mapbender installation on windows errors
karsten
karsten at terragis.net
Wed Mar 27 05:07:07 PDT 2019
Thanks Jeff,
yes fact yes I was using ms4w.
When setting the environment via setenv.bat
I checked inside the mapbender subdir in ms4w the available drivers with
php -m
and got PDO lsietd amoung others
However when running
c:\ms4w\apps\mapbender3-starter-3.0.7.7>php app/console
doctrine:schema:update
it throws these errors:
[Doctrine\DBAL\Exception\DriverException]
An exception occured in driver: could not find driver
[Doctrine\DBAL\Driver\PDOException]
could not find driver
[PDOException]
could not find driver
Any idea how to fix this ?
Cheers
Karsten
-----Original Message-----
From: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org] On
Behalf Of Jeff McKenna
Sent: Wednesday, March 27, 2019 12:45
To: mapbender_users at lists.osgeo.org
Subject: Re: [Mapbender-users] update mapbender installation on
windowserrors
If you are using MS4W, your first step always (as you know) is to open a
Command Prompt window, cd into /ms4w and then execute:
Then you can execute any MS4W tool, now that the proper PATHS are set
through setenv.bat
So while inside the directory of C:/ms4w/ (and after you execute
setenv.bat) you can then execute a command such as:
php --version
If you have any MS4W questions, be sure to send them to the ms4w-users list
at https://ms4w.com/forum/
If you notice any Mapbender enhancements for needed for MS4W, it would be
great if you could file them in the tracker at https://ms4w.com/trac/
Thanks,
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services https://gatewaygeomatics.com/
On 2019-03-27 5:44 AM, karsten wrote:
> Sorry I saw that the windows command are listed below the linux one on
that
> webpage, it is
>
> php.exe app/console doctrine:schema:update --dump-sql
>
> However when I run that ond e.g. I get the error:
> The program can't start because php7ts.dll is missing from your computer.
> Try reinstalling the program to fix this problem.
>
> Any hints what is wrong and how to fix this ?
>
> Cheers
> Karsten
>
> -----Original Message-----
> From: karsten [mailto:karsten at terragis.net]
> Sent: Wednesday, March 27, 2019 09:37
> To: 'Mapbender User List'
> Subject: update mapbender installation on windows errors
>
> Hi All,
>
> When trying to go update a mapbender installation via the commands from
> https://doc.mapbender.org/en/installation/update.html
> I noticed that the commands for the database update work on linux however
I
> am having trouble on windows.
> On windows the command
> app/console doctrine:schema:update --dump-sql for example I get this
error:
> 'app' is not recognized as an internal or external command, WQhen I add
the
> complete windows path like
> c:\ms4w\apps\mapbender3-starter-3.0.7.7\app\console ...
> the erropr is the ame.
>
> How can I sucessfully run that command on windows ?
>
> Cheers
> Karsten
>
> __
_______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapbender_users
More information about the Mapbender_users
mailing list