[Cartoweb-users] Installing Demo Plugins

Thomas Shaw tshaw at ubicalo.com.mx
Tue Aug 22 11:51:04 EDT 2006


Hi

I have successfully corrected the $last_parameters error.

I just upgraded the php PEAR, it seems that the version that I had installed
only had the support for php 4, with the new version now I have support also
for the php 5.

Greetings

Thomas

-----Original Message-----
From: cartoweb-users-bounces at lists.maptools.org
[mailto:cartoweb-users-bounces at lists.maptools.org] On Behalf Of Thomas Shaw
Sent: Lunes, 21 de Agosto de 2006 11:37 a.m.
To: 'Jacolin Yves'; Cartoweb-users at lists.maptools.org
Subject: RE: [Cartoweb-users] Installing Demo Plugins

Hello,
 
Sure I'll take care about replying to the list.

I just have a question; where I can check the connection parameters?

By the way do you think that the variable $last_parameters should be the
problem here (like it says in the Message : Error 8? 

Greetings
Thomas

-----Original Message-----
From: cartoweb-users-bounces at lists.maptools.org
[mailto:cartoweb-users-bounces at lists.maptools.org] On Behalf Of Jacolin Yves
Sent: Lunes, 21 de Agosto de 2006 10:38 a.m.
To: Cartoweb-users at lists.maptools.org
Subject: Re: [Cartoweb-users] Installing Demo Plugins

Hi,
Take care toreply to the list ;-)

The problem come from (but i am not sure) a typo in your config file. check 
the edit.ini, your mapfile and especially the connection parameters?

Y.
Le Lundi 21 Août 2006 17:31, Thomas Shaw a écrit :
> Hello Yves;
>
> Right!... thank you... I already have set my postgresql Server to accept
> connections from the IP where is installed cartoweb. But now I'm getting
> the following:
>
> Class : CartocommonException
> Message : Error [8, Undefined property:  DB_pgsql::$last_parameters,
> /usr/local/apache/htdocs/maproweb/include/pear/DB.php, 1025]
> Backtrace:
>
> file: 1025 - /usr/local/apache/htdocs/maproweb/include/pear/DB.php
> call: Common::cartowebErrorHandler(8, "Undefined property:
> DB_pgsql::$last_parameters",
> "/usr/local/apache/htdocs/maproweb/include/pear/DB.php", 1025, Array(3))
>
> file: 1148 - /usr/local/apache/phpcgi5/lib/php/DB/common.php
> call: DB_result->DB_result(Object(DB_pgsql), Resource(#140))
>
> file: 154 -
>
/usr/local/apache/htdocs/maproweb/projects/demoPlugins/coreplugins/demoLoca
>t ion/client/ClientDemoLocation.php
> call: DB_common->query("SELECT NAM, OGC_FID FROM district WHERE NAM LIKE
> UPPER('dfsdfsd%...")
>
> file: 183 -
>
/usr/local/apache/htdocs/maproweb/projects/demoPlugins/coreplugins/demoLoca
>t ion/client/ClientDemoLocation.php
> call: ClientDemoLocation->namesList("district", "dfsdfsd")
>
> file: 619 -
>
/usr/local/apache/htdocs/maproweb/coreplugins/location/client/ClientLocatio
>n .php
> call: ClientDemoLocation->handleIdRecenter(Array(34))
>
> file: 270 - /usr/local/apache/htdocs/maproweb/common/PluginManager.php
> call: ClientLocation->handleHttpPostRequest(Array(34))
>
> file: 285 - /usr/local/apache/htdocs/maproweb/common/PluginManager.php
> call: PluginManager->callPluginImplementing(Array(2), Array(1))
>
> file: 574 - /usr/local/apache/htdocs/maproweb/client/Cartoclient.php
> call: PluginManager->callPluginsImplementing(Object(ClientDemoLocation),
> "GuiProvider", "handleHttpPostRequest", Array(1))
>
> file: 850 - /usr/local/apache/htdocs/maproweb/client/Cartoclient.php
> call: Cartoclient->callPluginsImplementing("GuiProvider",
> "handleHttpPostRequest", Array(1))
>
> file: 1027 - /usr/local/apache/htdocs/maproweb/client/Cartoclient.php
> call: Cartoclient->doMain("GuiProvider", "handleHttpPostRequest",
> Array(34))
>
> file: 38 - /usr/local/apache/htdocs/maproweb/htdocs/client.php
> call: Cartoclient->main()
>
> file: 3 - /usr/local/apache/htdocs/maproweb/htdocs/demoPlugins.php
> call: require_once("/usr/local/apache/htdocs/maproweb/htdocs/client.php")
>
>
> Thank you in advance
>
>
> Greetings
>
> -----Original Message-----
> From: cartoweb-users-bounces at lists.maptools.org
> [mailto:cartoweb-users-bounces at lists.maptools.org] On Behalf Of Jacolin
> Yves Sent: Lunes, 21 de Agosto de 2006 09:36 a.m.
> To: cartoweb-users at lists.maptools.org
> Subject: Re: [Cartoweb-users] Installing Demo Plugins
>
> hello,
>
> Does your postgresql server accept connection from another host than the
> localhost ?
>
> Y.
>
> Le Lundi 21 Août 2006 16:27, Thomas Shaw a écrit :
> > connect to server: Connection refused
> >         Is the server running on host "192.160.1.36" and accepting
> >         TCP/IP connections on port 5432?,

-- 
Yves Jacolin
http://yjacolin.gloobe.org
----
Stagiaire Conservatoire Régional des Espaces Naturels de la région Centre
http://cahiersnaturalistes.free.fr/cpnrc/
----
- Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause 
puisque je suis de bonne foi?
- Et qu'est-ce que ça peut faire que je sois de mauvaise foi
puisque c'est pour la bonne cause. (Jacques Prévert)

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users


_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users




More information about the Cartoweb-users mailing list