<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’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> </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’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> </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 > 8 </span></font><font
size=2 face=Wingdings><span lang=EN-US style='font-size:10.0pt;font-family:
Wingdings'>à</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 –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'>à</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'>à</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> </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'> In
the function connect </span></font><font size=2 face=Wingdings><span
lang=EN-US style='font-size:10.0pt;font-family:Wingdings'>à</span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>
DB::assertExtension(‘pgsql’) to PEAR::LoadExtension(‘pgsql’)<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’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> </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> </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'> Is the server running on host "192.160.1.36" 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'> 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> </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, "pg_connect() [</span><a
href="http://maproweb/function.pg-connect"><span lang=EN-US>function.pg-connect<...", "/usr/local/apache/phpcgi5/lib/php/DB/pgsql.php", 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'> </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("host=192.160.1.36 port=5432 dbname='demo_plugins' user='postgres...")<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'> </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->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'> </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->connect("pgsql://postgres:secret@192.160.1.36:5432/demo_plugins")<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'> </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->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'> </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->namesList("district", "dffd")<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'> </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->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'> </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->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'> </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->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'> </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->callPluginsImplementing(Object(ClientDemoLocation), "GuiProvider", "handleHttpPostRequest", 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'> </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->callPluginsImplementing("GuiProvider", "handleHttpPostRequest", 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'> </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->doMain("GuiProvider", "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'> </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->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'> </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("/usr/local/apache/htdocs/maproweb/htdocs/client.php")</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> </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> </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’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> </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> </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> </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> </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> </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>