[Cartoweb-users] Re: Cartoweb-users Digest, Vol 12, Issue 41

Jacolin Yves yjacolin at free.fr
Tue Apr 25 08:19:31 EDT 2006


Hi,
No answer, so I try one ;-)

Do test demo example, you have to run something like
php-cgi cw3setup.php --install --base-url http://localhost/cartoweb/htdocs/
in order to create client.ini file using client.ini.in.
So CW3 doesn't find client.ini : it doesn't exist !
"php-cgi" can be just "php" depend of your linux distribution.
You have to be in /var/www/cartoweb/ directory to use this script 

Y.
Le Lundi 24 Avril 2006 16:55, Baroudi Malek a écrit :
> It is possible to run demo example in cartoweb ?
> I can't lunch it, many error appear ?
>
> *Warning*: parse_ini_file(/var/www/cartoweb/client_conf/client.ini) [
> function.parse-ini-file<http://localhost/cartoweb/htdocs/function.parse-ini
>-file>]: failed to open stream: No such file or directory in *
> /var/www/cartoweb/common/Config.php* on line *159*
>
> *Warning*: Cannot modify header information - headers already sent by
> (output started at /var/www/cartoweb/common/Config.php:159) in *
> /var/www/cartoweb/client/Cartoclient.php* on line *394*
> An exception in early stage occured:
>
> On 4/24/06, cartoweb-users-request at lists.maptools.org <
>
> cartoweb-users-request at lists.maptools.org> wrote:
> > Send Cartoweb-users mailing list submissions to
> >         cartoweb-users at lists.maptools.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         http://lists.maptools.org/mailman/listinfo/cartoweb-users
> > or, via email, send a message with subject or body 'help' to
> >         cartoweb-users-request at lists.maptools.org
> >
> > You can reach the person managing the list at
> >         cartoweb-users-owner at lists.maptools.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Cartoweb-users digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: Layer.ini (oliver)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 24 Apr 2006 14:37:00 +0200
> > From: "oliver" <oliver.christen at camptocamp.com>
> > Subject: Re: [Cartoweb-users] Layer.ini
> > To: "R. Paul Warriner" <warrinerr at orchardparkny.org>,   "'Paul Shapley'"
> >         <p.shapley at gmail.com>
> > Cc: cartoweb-users at lists.maptools.org
> > Message-ID: <005301c6679b$c9aae5d0$1500a8c0 at maunakea>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > you have nice sight, i missed that too :)
> > and now i see mastermappoly has also that problem
> >
> > Oliver
> >   ----- Original Message -----
> >   From: R. Paul Warriner
> >   To: 'Paul Shapley' ; 'oliver'
> >   Cc: cartoweb-users at lists.maptools.org
> >   Sent: Monday, April 24, 2006 2:08 PM
> >   Subject: RE: [Cartoweb-users] Layer.ini
> >
> >
> >   Paul,
> >
> >
> >
> >   You have an extra END statement after the OUTLINECOLOR.
> >
> >
> >
> >   Rgards,
> >
> >   Paul
> >
> >
> >
> >   R. Paul Warriner
> >
> >   Network Coordinator
> >
> >   Town of Orchard Park
> >
> >   4295 South Buffalo St
> >
> >   Orchard Park, NY 14127
> >
> >   (716) 662-6403
> >
> >   (716) 662-6479 fax
> >
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> >-----
> >
> >   From: cartoweb-users-bounces at lists.maptools.org [mailto:
> > cartoweb-users-bounces at lists.maptools.org] On Behalf Of Paul Shapley
> >   Sent: Monday, April 24, 2006 7:03 AM
> >   To: oliver
> >   Cc: cartoweb-users at lists.maptools.org
> >   Subject: Re: [Cartoweb-users] Layer.ini
> >
> >
> >
> >   Yes there is a layer in the mapfile called 'planning' which makes this
> > very strange. Here is the .mapfile for you to check
> >
> >
> >
> >   Many thanks,
> >
> >
> >
> >   Paul
> >
> >
> >
> >   On 24/04/06, oliver <oliver.christen at camptocamp.com> wrote:
> >
> >   this will sound like a stupid question but do you have a 'planning'
> > layer in your mapfile ?
> >
> >
> >
> >   Regards
> >
> >   Oliver
> >
> >   ----- Original Message -----
> >
> >   From: Paul Shapley
> >
> >   To: cartoweb-users at lists.maptools.org
> >
> >   Sent: Monday, April 24, 2006 9:32 AM
> >
> >   Subject: [Cartoweb-users] Layer.ini
> >
> >
> >
> >
> >   Hi All,
> >
> >
> >
> >   I'm trying to add a second shapefile to Cartoweb3.2 but i think there
> > may be a problem with the layers.ini file but unable to identify this
> > error:
> >
> >
> >
> >
> >
> >   Warning: getLayerByName failed for : planning in
> > c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.php on
> > line 198
> >
> >   Warning: Cannot modify header information - headers already sent by
> > (output started at
> > c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.php:19
> >8) in c:\wamp\www\cartoweb3\client\FormRenderer.php on line 297
> >
> >
> >
> >
> >
> >
> >         Failure
> >
> > Class : SoapFaultWrapper
> > Message : Could not find msLayer planningBacktrace: file: 289 -
> > c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.phpcal
> >l: LayersInitProvider->fillDynamicLayer(Object(Layer)) file: 325 -
> > c:\wamp\www\cartoweb3\coreplugins\layers\server\LayersInitProvider.phpcal
> >l: LayersInitProvider->fillDynamicLayers() file: 240 -
> > c:\wamp\www\cartoweb3\coreplugins\layers\server\ServerLayers.phpcall:
> > LayersInitProvider->getInit() file: 168 -
> > c:\wamp\www\cartoweb3\server\ServerPluginHelper.phpcall:
> > ServerLayers->getInit() file: UNKNOWN - UNKNOWNcall:
> > InitProviderHelper->getInitHelper(Object(ServerLayers)) file: 267 -
> > c:\wamp\www\cartoweb3\common\PluginManager.phpcall:
> > call_user_func_array(Array(2), Array(1)) file: 285 -
> > c:\wamp\www\cartoweb3\common\PluginManager.phpcall:
> > PluginManager->callPluginImplementing(Object(ServerLayers),
> > "InitProvider", "getInit", Array(0)) file: 166 -
> > c:\wamp\www\cartoweb3\server\MapInfoHandler.phpcall:
> > PluginManager->callPluginsImplementing("InitProv!
> > ider", "getInit") file: 49 -
> > c:\wamp\www\cartoweb3\server\ServerMapInfoCache.phpcall:
> > MapInfoHandler->loadMapInfo() file: 99 -
> > c:\wamp\www\cartoweb3\common\MapInfoCache.phpcall:
> > ServerMapInfoCache->computeMapInfo() file: 169 -
> > c:\wamp\www\cartoweb3\common\MapInfoCache.phpcall:
> > MapInfoCache->cacheMapInfo() file: 177 -
> > c:\wamp\www\cartoweb3\server\MapInfoHandler.phpcall:
> > MapInfoCache->getMapInfo() file: 378 -
> > c:\wamp\www\cartoweb3\server\ServerContext.phpcall:
> > MapInfoHandler->getMapInfo() file: 190 -
> > c:\wamp\www\cartoweb3\server\Cartoserver.phpcall:
> > ServerContext->getMapInfo() file: 337 -
> > c:\wamp\www\cartoweb3\server\Cartoserver.phpcall:
> > Cartoserver->doGetMapInfo("Paul.Paul") file: 377 -
> > c:\wamp\www\cartoweb3\server\Cartoserver.phpcall:
> > Cartoserver->callWithExceptionCheck("doGetMapInfo", "Paul.Paul") file:
> > 102 - c:\wamp\www\cartoweb3\client\CartoserverService.phpcall:
> > Cartoserver->getMapInfo("Paul.Paul") file: 156 -
> > c:\wamp\www\cartoweb3\client\CartoserverService.phpcall: Car!
> > toserverService->callDirect("getMapInfo", "Paul.Paul") file: 215 - c:\
> > wamp\www\cartoweb3\client\CartoserverService.phpcall:
> > CartoserverService->callFunction("getMapInfo", "Paul.Paul") file: 60 -
> > c:\wamp\www\cartoweb3\client\ClientMapInfoCache.phpcall:
> > CartoserverService->getMapInfo("Paul.Paul") file: 99 -
> > c:\wamp\www\cartoweb3\common\MapInfoCache.phpcall:
> > ClientMapInfoCache->computeMapInfo() file: 169 -
> > c:\wamp\www\cartoweb3\common\MapInfoCache.phpcall:
> > MapInfoCache->cacheMapInfo() file: 590 -
> > c:\wamp\www\cartoweb3\client\Cartoclient.phpcall:
> > MapInfoCache->getMapInfo(" Paul.Paul") file: 374 -
> > c:\wamp\www\cartoweb3\client\Cartoclient.phpcall:
> > Cartoclient->getMapInfo() file: 36 -
> > c:\wamp\www\cartoweb3\htdocs\client.phpcall: Cartoclient->__construct()
> > file: 3 - c:\wamp\www\cartoweb3\htdocs\Paul.phpcall:
> > require_once("c:\wamp\www\cartoweb3\htdocs\client.php")
> >
> >
> >
> >   Could someone have a look at this layers.ini file and tell me where the
> > problem is?
> >
> >
> >
> >   Thanks,
> >
> >
> >
> >   Paul Shapley
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> >-----
> >
> >   _______________________________________________
> >   Cartoweb-users mailing list
> >   Cartoweb-users at lists.maptools.org
> >   http://lists.maptools.org/mailman/listinfo/cartoweb-users
> >
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060424/6
> >d48ff91/attachment.html
> >
> > ------------------------------
> >
> > _______________________________________________
> > Cartoweb-users mailing list
> > Cartoweb-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/cartoweb-users
> >
> >
> > End of Cartoweb-users Digest, Vol 12, Issue 41
> > **********************************************
>
> --
> "Qui allume sa bougie à la mienne reçoit de la lumière sans me plonger dans
> l'obscurité…"
>                                                  ' Thomas Jefferson'

-- 
Yves Jacolin
http://yjacolin.gloobe.org
----
Stagaire 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