[Cartoweb-users] error when running new project
Jacolin Yves
yjacolin at free.fr
Thu Apr 20 03:18:39 EDT 2006
Hi,
The problem come from the outline plugins. It seems you try to use a bad
property/parameter. Check your outline.ini, for exemple my outline.ini file
in serveur_sonf/myproject/ is :
pointLayer = cartoweb_point_outline
lineLayer = cartoweb_line_outline
polygonLayer = cartoweb_polygon_outline
maskColor = 250 250 250
areaFactor = 1
pointSymbols = "circle, triangle, airport, triangle2"
pointSymbols.labels = "Circle, Triangle, Aéroport, Triangle vide"
Check your mapfile, is this layer exist ?
###################
## Outline layer ##
###################
LAYER
NAME "cartoweb_point_outline"
TYPE POINT
CLASS
STYLE
SYMBOL "point"
COLOR 0 0 205
SIZE 10
END
LABEL
TYPE TRUETYPE
FONT "Vera"
SIZE 7
COLOR 0 0 0
OUTLINECOLOR 255 255 255
POSITION lc
END
END
END
LAYER
NAME "cartoweb_line_outline"
TYPE LINE
TRANSPARENCY 100
CLASS
STYLE
OUTLINECOLOR 255 0 0
SYMBOL "line"
SIZE 3
END
LABEL
TYPE TRUETYPE
FONT "Vera"
SIZE 7
COLOR 0 0 0
OUTLINECOLOR 255 255 255
ANGLE auto
POSITION uc
END
END
END
LAYER
NAME "cartoweb_polygon_outline"
TYPE POLYGON
TRANSPARENCY 60
CLASS
STYLE
COLOR 255 153 0
OUTLINECOLOR 0 0 0
END
LABEL
TYPE TRUETYPE
FONT "Vera"
SIZE 7
OUTLINECOLOR 255 255 255
COLOR 0 0 0
POSITION cc
END
END
END
Regards,
Y.
Le Mercredi 19 Avril 2006 20:47, Kenton Williams a écrit :
> Hello,
>
> I previously sent an error problem I had on my first Cartoweb project. I
> solved that error and numerous others, but I have an error now that I am
> not sure how to fix. Here is the output when I try to access the project
> in my browser:
>
> Failure
>
> Class : SoapFaultWrapper
> Message : Error [8, Trying to get property of non-object,
> /home/cgdweb/site/cgddemo/cartoweb3/plugins/outline/server/ServerOutline.ph
>p, 359] Backtrace:
>
> file: 359 -
> /home/cgdweb/site/cgddemo/cartoweb3/plugins/outline/server/ServerOutline.ph
>p call: Common::cartowebErrorHandler(8, "Trying to get property of
> non-object",
> "/home/cgdweb/site/cgddemo/cartoweb3/plugins/outline/server/Serve...", 359,
> Array(9))
>
> file: 168 -
> /home/cgdweb/site/cgddemo/cartoweb3/server/ServerPluginHelper.php call:
> ServerOutline->getInit()
>
> file: UNKNOWN - UNKNOWN
> call: InitProviderHelper->getInitHelper(Object(ServerOutline))
>
> file: 267 - /home/cgdweb/site/cgddemo/cartoweb3/common/PluginManager.php
> call: call_user_func_array(Array(2), Array(1))
>
> file: 285 - /home/cgdweb/site/cgddemo/cartoweb3/common/PluginManager.php
> call: PluginManager->callPluginImplementing(Object(ServerOutline),
> "InitProvider", "getInit", Array(0))
>
> file: 166 - /home/cgdweb/site/cgddemo/cartoweb3/server/MapInfoHandler.php
> call: PluginManager->callPluginsImplementing("InitProvider", "getInit")
>
> file: 49 -
> /home/cgdweb/site/cgddemo/cartoweb3/server/ServerMapInfoCache.php call:
> MapInfoHandler->loadMapInfo()
>
> file: 99 - /home/cgdweb/site/cgddemo/cartoweb3/common/MapInfoCache.php
> call: ServerMapInfoCache->computeMapInfo()
>
> file: 169 - /home/cgdweb/site/cgddemo/cartoweb3/common/MapInfoCache.php
> call: MapInfoCache->cacheMapInfo()
>
> file: 177 - /home/cgdweb/site/cgddemo/cartoweb3/server/MapInfoHandler.php
> call: MapInfoCache->getMapInfo()
>
> file: 375 - /home/cgdweb/site/cgddemo/cartoweb3/server/ServerContext.php
> call: MapInfoHandler->getMapInfo()
>
> file: 190 - /home/cgdweb/site/cgddemo/cartoweb3/server/Cartoserver.php
> call: ServerContext->getMapInfo()
>
> file: 337 - /home/cgdweb/site/cgddemo/cartoweb3/server/Cartoserver.php
> call: Cartoserver->doGetMapInfo("cgd_mapfile.cgd_mapfile")
>
> file: 377 - /home/cgdweb/site/cgddemo/cartoweb3/server/Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMapInfo",
> "cgd_mapfile.cgd_mapfile")
>
> file: 437 - /home/cgdweb/site/cgddemo/cartoweb3/server/Cartoserver.php
> call: Cartoserver->getMapInfo("cgd_mapfile.cgd_mapfile")
>
> file: UNKNOWN - UNKNOWN
> call: SoapServer->getMapInfo("cgd_mapfile.cgd_mapfile")
>
> file: 86 - /home/cgdweb/site/cgddemo/cartoweb3/server/SoapXMLCache.php
> call: SoapServer->handle()
>
> file: 117 - /home/cgdweb/site/cgddemo/cartoweb3/server/SoapXMLCache.php
> call: SoapXMLCache->printSoapXMLFromServer("
> cacheSoapXML("
> printSoapXML("
>
>
> Does anyone have a suggestion for what might be the cause of this error and
> how I can fix it? Thanks very much in advance!
>
> Kenton W.
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
--
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