[Cartoweb-users] Installing Demo Plugins

Jacolin Yves yjacolin at free.fr
Mon Aug 21 11:38:20 EDT 2006


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)



More information about the Cartoweb-users mailing list