[Cartoweb-users] ajax trouble with outline plugin

Oliver Christen oliver.christen at camptocamp.com
Wed Feb 28 04:37:07 EST 2007


Hi wochter,

"mainmap image not generated yet" happen usualy when mapserver can not reder 
a layer.

Be sure to have defined in the mapfile all 3 outline layers. By default, if 
an outline layer definition is missing (for exemple outline_point) it will 
try to use the outline_polygone layer definition. But sometimes the CLASS 
and LABEL used for polygone are simply incompatible with point. ( see 
http://bugzilla.maptools.org/show_bug.cgi?id=1316 )

Once you have 3 separate layer (point line and polygone) try commenting in 
the mapfile all CLASS and LABEL until you find what is causing the problem.

I hope this help
Regards,
Oliver


> Hi,
> I'd like to use the outline plugin, but I don't know what's wrong.
> I can draw line, point and polygon, but when I fill description of
> object and click OK I obtain this issue:
>
> Ajax response is no XML, probably a Cartoweb failure.
> Click OK to show it.
>
> jsTrace Debugger says:
>
> Error: AjaxHandler.actionRequest(): received response is malformed!
>
> And at the bottom of page is:
>
> Failure
>
> CartoWeb version: 3.3.0 [$Revision: 1.2 $]
> class:   SoapFaultWrapper
> message:   mainmap image not generated yet
> Backtrace:
>
> file: 269 - /var/www/cartoweb/coreplugins/images/server/ServerImages.php
> call: ServerContext->getMsMainmapImage()
>
> file: 74 - /var/www/cartoweb/server/ServerPluginHelper.php
> call: ServerImages->handleCorePlugin(Object(Images))
>
> file: 184 - /var/www/cartoweb/server/ServerPluginHelper.php
> call: ServerPluginHelper->callHandleFunction(Object(ServerImages),
> "handleCorePlugin")
>
> file: UNKNOWN - UNKNOWN
> call: CoreProviderHelper->handleCorePluginHelper(Object(ServerImages))
>
> file: 267 - /var/www/cartoweb/common/PluginManager.php
> call: call_user_func_array(Array(2), Array(1))
>
> file: 317 - /var/www/cartoweb/server/Cartoserver.php
> call: PluginManager->callPluginImplementing(Object(ServerImages),
> "CoreProvider", "handleCorePlugin")
>
> file: 349 - /var/www/cartoweb/server/Cartoserver.php
> call: Cartoserver->doGetMap(Object(MapRequest))
>
> file: 370 - /var/www/cartoweb/server/Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))
>
> file: 81 - /var/www/cartoweb/server/MapResultCache.php
> call: Cartoserver->cacheGetMap(Object(MapRequest))
>
> file: 186 - /var/www/cartoweb/server/MapResultCache.php
> call: MapResultCache->getMapResultFromServer(Object(MapRequest))
>
> file: 380 - /var/www/cartoweb/server/Cartoserver.php
> call: MapResultCache->getMap(Object(MapRequest))
>
> file: 104 - /var/www/cartoweb/client/CartoserverService.php
> call: Cartoserver->getMap(Object(MapRequest))
>
> file: 165 - /var/www/cartoweb/client/CartoserverService.php
> call: CartoserverService->callDirect("getMap", Object(MapRequest))
>
> file: 233 - /var/www/cartoweb/client/CartoserverService.php
> call: CartoserverService->callFunction("getMap", Object(MapRequest))
>
> file: 916 - /var/www/cartoweb/client/Cartoclient.php
> call: CartoserverService->getMap(Object(MapRequest))
>
> file: 1045 - /var/www/cartoweb/client/Cartoclient.php
> call: Cartoclient->getMapResultFromRequest(Object(MapRequest))
>
> file: 1220 - /var/www/cartoweb/client/Cartoclient.php
> call: Cartoclient->doMain()
>
> file: 38 - /var/www/cartoweb/htdocs/client.php
> call: Cartoclient->main()
>
>
> Can you help me please?
> Thank you.
>
> wochter
> _______________________________________________
> 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