<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EstiloDeEmail17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-size:10.0pt;
font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:70.85pt 3.0cm 70.85pt 3.0cm}
div.WordSection1
{}
-->
</style>
</head>
<body lang="PT-BR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Good morning gentlemen,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">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.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">My installation of Mapbender was carried out in the following directory:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">C: \ OSGeo4W \ var \ www \ mapbender3</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Postgis created a database named Mapbender. I configured the parameter.yml as follows:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> database_driver: pdo_pgsql</span></p>
<p class="MsoNormal"><span lang="EN-US"> database_host: localhost</span></p>
<p class="MsoNormal"><span lang="EN-US"> database_port: 5432</span></p>
<p class="MsoNormal"><span lang="EN-US"> database_name: mapbender</span></p>
<p class="MsoNormal"><span lang="EN-US"> database_path: %kernel.root_dir%/db/demo.sqlite</span></p>
<p class="MsoNormal"><span lang="EN-US"> database_user: postgres</span></p>
<p class="MsoNormal"><span lang="EN-US"> database_password: dummy</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I think I should change the line "database_path:% kernel.root_dir% / db / demo.sqlite" but I'm not sure.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Running the script below:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">php.exe app / console doctrine: database: create</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal">I get this:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">An exception occurred while executing 'CREATE DATABASE C:\OSGeo4W\var\www\mapbender3\app/db/demo.sqlite':</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal">SQLSTATE[42601]: Syntax error: 7 ERRO: erro de sintaxe em ou pr<span style="font-family:"Arial","sans-serif"">ó</span>ximo a ":"</p>
<p class="MsoNormal"><span lang="EN-US">LINE 1: CREATE DATABASE C:\OSGeo4W\var\www\mapbender3\app/db/demo.sq...</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span>^</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Tanks for help,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif"}
span.TextodebaloChar
{font-family:"Tahoma","sans-serif"}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
.MsoPapDefault
{margin-bottom:10.0pt;
line-height:115%}
@page WordSection1
{margin:70.85pt 3.0cm 70.85pt 3.0cm}
-->
</style><br>
<div class="WordSection1">
<p class="MsoNormal"><b><span style="font-size:10pt; font-family:"Arial","sans-serif"; color:rgb(101,101,101)"><img src="http://www.cerradinho.com/CBio.png" height="77" width="108"></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10pt; font-family:"Arial","sans-serif"; color:rgb(101,101,101)"><br>
Franklin Januario da Silva<br>
</span></b><span style="font-size:8pt; font-family:"Arial","sans-serif"; color:rgb(101,101,101)"> Agricola<br>
<br>
64 3634-2806<br>
64 9979-0608</span></p>
<p class="MsoNormal"><span style="font-size:8pt; font-family:"Arial","sans-serif"; color:rgb(101,101,101)"><b> <a href="http://www.cerradinho.com.br">cerradinho.com.br</a>
<br>
<br>
</b></span></p>
</div>
</body>
</html>