<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=ES link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Hello; I have been developing applications along some
months with mapserver; somehow one day I was navigating at the Internet and I
found Cartoweb. I read a little about it and finally now I know that it is a
robust and reliable GIS platform. I&#8217;m glad that I found this great tool!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>So by know I&#8217;m just asking for somebody to help
me with the installation of the Plugins, Routing and Edit Demos. I started
trying to install the Plugins Demo and I realized that I needed the following:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>1.- Install PostgreSQL &gt; 8 </span></font><font
size=2 face=Wingdings><span lang=EN-US style='font-size:10.0pt;font-family:
Wingdings'>&agrave;</span></font><font size=2 face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial'> and I did it<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>2.- Habilitate PHP with the option &#8211;with=pgsql configuring
and recompiling it </span></font><font size=2 face=Wingdings><span lang=EN-US
style='font-size:10.0pt;font-family:Wingdings'>&agrave;</span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>
and I did it<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>3.- Then I loaded the postgis support to Pgsql and
the demoPlugins dbs </span></font><font size=2 face=Wingdings><span lang=EN-US
style='font-size:10.0pt;font-family:Wingdings'>&agrave;</span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'> I
did it successfully <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>4.- After the above steps I tried to run cartoweb,
but I got an error, I searched it at the Internet and I found that I had to
change in the lib/php/DB/pgsql.php file the following:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In
the function connect </span></font><font size=2 face=Wingdings><span
lang=EN-US style='font-size:10.0pt;font-family:Wingdings'>&agrave;</span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>
DB::assertExtension(&#8216;pgsql&#8217;) to PEAR::LoadExtension(&#8216;pgsql&#8217;)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>So I did it and apparently it worked well (since I
finally accessed the demoPlugins application) but when I tried to search a
place in the map, I got the following error and I don&#8217;t really know how
to solve it:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Failure</span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<pre><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>Class : CartocommonException<br>
Message : Error [2, pg_connect() [</span><a
href="http://maproweb/function.pg-connect"><span lang=EN-US>function.pg-connect</span></a></font><span
lang=EN-US>]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused<o:p></o:p></span></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Is the server running on host &quot;192.160.1.36&quot; and accepting<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TCP/IP connections on port 5432?, /usr/local/apache/phpcgi5/lib/php/DB/pgsql.php, 125]<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>Backtrace:<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>file: UNKNOWN - UNKNOWN<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt'>call: Common::cartowebErrorHandler(2, &quot;pg_connect() [</span><a
href="http://maproweb/function.pg-connect"><span lang=EN-US>function.pg-connect&lt;...&quot;, &quot;/usr/local/apache/phpcgi5/lib/php/DB/pgsql.php&quot;, 125, Array(5))<o:p></o:p></span></a></font></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 125 - /usr/local/apache/phpcgi5/lib/php/DB/pgsql.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: pg_connect(&quot;host=192.160.1.36 port=5432 dbname='demo_plugins' user='postgres...&quot;)<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 556 - /usr/local/apache/htdocs/maproweb/include/pear/DB.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: DB_pgsql-&gt;connect(Array(9), False)<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 91 - /usr/local/apache/htdocs/maproweb/projects/demoPlugins/coreplugins/demoLocation/client/ClientDemoLocation.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: DB-&gt;connect(&quot;pgsql://postgres:secret@192.160.1.36:5432/demo_plugins&quot;)<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 153 - /usr/local/apache/htdocs/maproweb/projects/demoPlugins/coreplugins/demoLocation/client/ClientDemoLocation.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: ClientDemoLocation-&gt;getDb()<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 183 - /usr/local/apache/htdocs/maproweb/projects/demoPlugins/coreplugins/demoLocation/client/ClientDemoLocation.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: ClientDemoLocation-&gt;namesList(&quot;district&quot;, &quot;dffd&quot;)<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 619 - /usr/local/apache/htdocs/maproweb/coreplugins/location/client/ClientLocation.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: ClientDemoLocation-&gt;handleIdRecenter(Array(44))<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 270 - /usr/local/apache/htdocs/maproweb/common/PluginManager.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: ClientLocation-&gt;handleHttpPostRequest(Array(44))<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 285 - /usr/local/apache/htdocs/maproweb/common/PluginManager.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: PluginManager-&gt;callPluginImplementing(Array(2), Array(1))<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 574 - /usr/local/apache/htdocs/maproweb/client/Cartoclient.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: PluginManager-&gt;callPluginsImplementing(Object(ClientDemoLocation), &quot;GuiProvider&quot;, &quot;handleHttpPostRequest&quot;, Array(1))<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 850 - /usr/local/apache/htdocs/maproweb/client/Cartoclient.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: Cartoclient-&gt;callPluginsImplementing(&quot;GuiProvider&quot;, &quot;handleHttpPostRequest&quot;, Array(1))<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 1027 - /usr/local/apache/htdocs/maproweb/client/Cartoclient.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: Cartoclient-&gt;doMain(&quot;GuiProvider&quot;, &quot;handleHttpPostRequest&quot;, Array(44))<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 38 - /usr/local/apache/htdocs/maproweb/htdocs/client.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: Cartoclient-&gt;main()<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect"><o:p><span style='text-decoration:
 none'>&nbsp;</span></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">file: 3 - /usr/local/apache/htdocs/maproweb/htdocs/demoPlugins.php<o:p></o:p></a></span></font></u></span></pre><pre><span
class=MsoHyperlink><u><font size=2 color=blue face="Courier New"><span
lang=EN-US style='font-size:10.0pt'><a
href="http://maproweb/function.pg-connect">call: require_once(&quot;/usr/local/apache/htdocs/maproweb/htdocs/client.php&quot;)</a></span></font></u></span><span
lang=EN-US><o:p></o:p></span></pre>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>I&#8217;ll appreciate a lot if you can help me with
this issue in order to continue with the other examples installation and then
start learning more about cartoweb.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Thank you in advance<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Greetings<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Thomas Shaw<o:p></o:p></span></font></p>

</div>

</body>

</html>