Hi Simone - I came across this recently. You can fix the error, by adding SYMBOLSET and END on the first and last line respectively of the file: server_conf/yourmap/symbols.txt file.
Best Regards, Daniel. R. Paul Warriner wrote: > Hi Simone, > > This is a link to the required changes: > http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html > > Best Regards, > Paul > > -----Original Message----- > From: Simone Frigerio [mailto:[email protected]] > Sent: Thursday, March 11, 2010 9:03 AM > To: R. Paul Warriner > Subject: RE: [Cartoweb-users] transfer Windows unix server > > Hi Paul, > the version of mapserver installed on server is recent. I compiled the > mapfile using 2.2.9 version of mapserver. > Probably is due to this one. > So. What I have to do with SYMBOLSET in mapfile to move in FONTSET? In > cartoweb default folder there are both FONTS.TXT AND SYMBOLS.TXT > In map file ther is: > ... > SYMBOLSET "FONTSET.TXT " > FONTSET "FONTS.TXT" > .... > > What do I have to change? > > > > > > > > > > On Thu, March 11, 2010 14:41, R. Paul Warriner wrote: >> Hello Simone, >> >> This appears to be the result of a newer version of Mapserver, which now >> requires the correct FONTSET and SYMBOLSET contexts in the mapfile. >> Are your Windows->Unix Mapserver versions different? >> >> Regards, >> Paul >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Simone >> Frigerio >> Sent: Thursday, March 11, 2010 8:24 AM >> To: ML CW3 ML CW3 >> Subject: [Cartoweb-users] transfer Windows unix server >> >> Hi, >> I'm moving a project made in Cw3 on Windows localhost. No failure messages >> archivied, all the tools perfectly running. >> I`m actually moving on Unix environment and these failure messages >> appears: >> >> Warning: [MapServer Error]: msLoadSymbolSet(): First token must be >> SYMBOLSET, this doesn't look like a symbol file. in >> /home/srv/www/htdocs/omiv/Cartoweb/server/ServerContext.php on line 354 >> >> Warning: Failed to open map file >> /home/srv/www/htdocs/omiv/Cartoweb/projects/demoCW3/server_conf/demoCW3/demo >> CW3.map >> in /home/srv/www/htdocs/omiv/Cartoweb/server/ServerContext.php on line 354 >> >> Warning: Cannot modify header information - headers already sent by >> (output started at >> /home/srv/www/htdocs/omiv/Cartoweb/server/ServerContext.php:354) in >> /home/srv/www/htdocs/omiv/Cartoweb/client/FormRenderer.php on line 463 >> >> >> FAILURE: >> Class : SoapFaultWrapper >> Message : MapServer error: Error in msLoadSymbolSet(): First token must be >> SYMBOLSET, this doesn't look like a symbol file. >> >> >> Backtrace: >> >> file: 355 - /home/srv/www/htdocs/omiv/Cartoweb/server/ServerContext.php >> call: ServerContext->checkMsErrors() >> >> file: 90 - /home/srv/www/htdocs/omiv/Cartoweb/server/MapInfoHandler.php >> call: ServerContext->getMapObj() >> >> file: 162 - /home/srv/www/htdocs/omiv/Cartoweb/server/MapInfoHandler.php >> call: MapInfoHandler->fillDynamicMap() >> >> file: 49 - >> /home/srv/www/htdocs/omiv/Cartoweb/server/ServerMapInfoCache.php >> call: MapInfoHandler->loadMapInfo() >> >> file: 99 - /home/srv/www/htdocs/omiv/Cartoweb/common/MapInfoCache.php >> call: ServerMapInfoCache->computeMapInfo() >> >> file: 169 - /home/srv/www/htdocs/omiv/Cartoweb/common/MapInfoCache.php >> call: MapInfoCache->cacheMapInfo() >> >> file: 177 - /home/srv/www/htdocs/omiv/Cartoweb/server/MapInfoHandler.php >> call: MapInfoCache->getMapInfo() >> >> file: 396 - /home/srv/www/htdocs/omiv/Cartoweb/server/ServerContext.php >> call: MapInfoHandler->getMapInfo() >> >> file: 191 - /home/srv/www/htdocs/omiv/Cartoweb/server/Cartoserver.php >> call: ServerContext->getMapInfo() >> >> file: 349 - /home/srv/www/htdocs/omiv/Cartoweb/server/Cartoserver.php >> call: Cartoserver->doGetMapInfo("demoCW3.demoCW3") >> >> file: 389 - /home/srv/www/htdocs/omiv/Cartoweb/server/Cartoserver.php >> call: Cartoserver->callWithExceptionCheck("doGetMapInfo", >> "demoCW3.demoCW3") >> >> file: 104 - >> /home/srv/www/htdocs/omiv/Cartoweb/client/CartoserverService.php >> call: Cartoserver->getMapInfo("demoCW3.demoCW3") >> >> file: 165 - >> /home/srv/www/htdocs/omiv/Cartoweb/client/CartoserverService.php >> call: CartoserverService->callDirect("getMapInfo", "demoCW3.demoCW3") >> >> file: 224 - >> /home/srv/www/htdocs/omiv/Cartoweb/client/CartoserverService.php >> call: CartoserverService->callFunction("getMapInfo", "demoCW3.demoCW3") >> >> file: 60 - >> /home/srv/www/htdocs/omiv/Cartoweb/client/ClientMapInfoCache.php >> call: CartoserverService->getMapInfo("demoCW3.demoCW3") >> >> file: 99 - /home/srv/www/htdocs/omiv/Cartoweb/common/MapInfoCache.php >> call: ClientMapInfoCache->computeMapInfo() >> >> file: 169 - /home/srv/www/htdocs/omiv/Cartoweb/common/MapInfoCache.php >> call: MapInfoCache->cacheMapInfo() >> >> file: 790 - /home/srv/www/htdocs/omiv/Cartoweb/client/Cartoclient.php >> call: MapInfoCache->getMapInfo("demoCW3.demoCW3") >> >> file: 427 - /home/srv/www/htdocs/omiv/Cartoweb/client/Cartoclient.php >> call: Cartoclient->getMapInfo() >> >> file: 31 - /home/srv/www/htdocs/omiv/Cartoweb/htdocs/client.php >> call: Cartoclient->__construct() >> >> file: 3 - /home/srv/www/htdocs/omiv/Cartoweb/htdocs/barcelonnette.php >> call: require_once("/home/srv/www/htdocs/omiv/Cartoweb/htdocs/client.php") >> >> >> Why does it refer to SYMBOLSET parameter? It was not modified in mapfile >> and path was not changed. >> >> Thanks! >> Simone >> >> >> >> _______________________________________________ >> Cartoweb-users mailing list >> [email protected] >> http://lists.maptools.org/mailman/listinfo/cartoweb-users >> >> >> > > _______________________________________________ Cartoweb-users mailing list [email protected] http://lists.maptools.org/mailman/listinfo/cartoweb-users
