[Cartoweb-users] OverLIB plugin probs

Pierre GIRAUD pierre.giraud at camptocamp.com
Fri Mar 10 06:40:24 EST 2006


Can you show us your templates where you try to load some overLib scripts.
I worked on a project in which I was using overLib without problems.

You have to keep in mind that when include javascript scripts in your 
templates you have to use "{literal}" tags to escape braces ("{").

{literal}
function myfunction() {
{/literal}
  var myVar = {$myVar};
{literal}
}
{/literal}

Pierre

Oliver Ishmael wrote:

> Hi List,
>
> I have been attempting to install the OverLIB 
> (www.bosrup.com/web/overlib/) plugin to help enhance feature 
> labelling, however, it seemed to create many problems so i removed it 
> and now i'm stuck with the following errors:
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or 
> T_VARIABLE or '{' or '$' in 
> c:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on 
> line 1
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or 
> T_VARIABLE or '{' or '$' in 
> c:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on 
> line 1
>
> Warning: dl() [function.dl]: Unable to load dynamic library 
> 'c:/wamp/php/ext/php_mapscript.dll' - The specified module could not 
> be found. in c:\wamp\www\cartoweb3\server\ServerContext.php on line 316
>
> Warning: Cannot modify header information - headers already sent by 
> (output started at c:\wamp\www\cartoweb3\common\StructHandler.php(47) 
> : eval()'d code:1) in c:\wamp\www\cartoweb3\client\FormRenderer.php on 
> line 297
>
> Class : SoapFaultWrapper
> Message : can't load mapscript library
> Backtrace:
>
> file: 90 - c:\wamp\www\cartoweb3\server\MapInfoHandler.php
> call: ServerContext->getMapObj()
>
> file: 162 - c:\wamp\www\cartoweb3\server\MapInfoHandler.php
> call: MapInfoHandler->fillDynamicMap()
>
> file: 49 - c:\wamp\www\cartoweb3\server\ServerMapInfoCache.php
> call: MapInfoHandler->loadMapInfo()
>
> file: 99 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
> call: ServerMapInfoCache->computeMapInfo()
>
> file: 179 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
> call: MapInfoCache->cacheMapInfo()
>
> file: 177 - c:\wamp\www\cartoweb3\server\MapInfoHandler.php
> call: MapInfoCache->getMapInfo()
>
> file: 378 - c:\wamp\www\cartoweb3\server\ServerContext.php
> call: MapInfoHandler->getMapInfo()
>
> file: 190 - c:\wamp\www\cartoweb3\server\Cartoserver.php
> call: ServerContext->getMapInfo()
>
> file: 337 - c:\wamp\www\cartoweb3\server\Cartoserver.php
> call: Cartoserver->doGetMapInfo("bap.bap")
>
> file: 377 - c:\wamp\www\cartoweb3\server\Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMapInfo", "bap.bap")
>
> file: 102 - c:\wamp\www\cartoweb3\client\CartoserverService.php
> call: Cartoserver->getMapInfo("bap.bap")
>
> file: 156 - c:\wamp\www\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callDirect("getMapInfo", "bap.bap")
>
> file: 215 - c:\wamp\www\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callFunction("getMapInfo", "bap.bap")
>
> file: 60 - c:\wamp\www\cartoweb3\client\ClientMapInfoCache.php
> call: CartoserverService->getMapInfo("bap.bap")
>
> file: 163 - c:\wamp\www\cartoweb3\common\MapInfoCache.php
> call: ClientMapInfoCache->computeMapInfo()
>
> file: 590 - c:\wamp\www\cartoweb3\client\Cartoclient.php
> call: MapInfoCache->getMapInfo("bap.bap")
>
> file: 374 - c:\wamp\www\cartoweb3\client\Cartoclient.php
> call: Cartoclient->getMapInfo()
>
> file: 36 - c:\wamp\www\cartoweb3\htdocs\client.php
> call: Cartoclient->__construct()
>
>
> Anyone see a fix....i just want to roll back to previously stable setup.
>
> Cheers
> Olly
>
> _________________________________________________________________
> Are you using the latest version of MSN Messenger? Download MSN 
> Messenger 7.5 today! http://messenger.msn.co.uk
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users



-- 
_________________________________________________________
Pierre GIRAUD
Géomaticien, Analyste

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex 

Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com  




More information about the Cartoweb-users mailing list