[Cartoweb-users] Couldn't load the toolTips plugin

Oliver Christen oliver.christen at camptocamp.com
Fri Nov 23 02:22:55 EST 2007


hi

well, the problem is simply ToolTips has only a client part but no server 
part, so you dont need to load it on server side (remove it from your 
project test_ho.ini)

(I should have noticed that before, im still a bit sleepy right now, sorry)

regards
Oliver

>
> Hi Oliver,
>
> Appreciate very much for your prompt reply.  Sorry that I didnt provide
> enough information, followings are the full error message in the Failure
> page (the name of my project is "test_ho"):
>
> Class : SoapFaultWrapper
> Message : Couldn't load plugin ServerToolTips
> Backtrace:
>
> file: 547 - C:\ms4w\apps\cartoweb3\server\ServerContext.php
> call: PluginManager->loadPlugins(Array(7), Object(ServerContext))
>
> file: 189 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: ServerContext->loadPlugins()
>
> file: 349 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: Cartoserver->doGetMapInfo("test_ho.test_ho")
>
> file: 389 - C:\ms4w\apps\cartoweb3\server\Cartoserver.php
> call: Cartoserver->callWithExceptionCheck("doGetMapInfo", 
> "test_ho.test_ho")
>
> file: 104 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
> call: Cartoserver->getMapInfo("test_ho.test_ho")
>
> file: 165 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callDirect("getMapInfo", "test_ho.test_ho")
>
> file: 224 - C:\ms4w\apps\cartoweb3\client\CartoserverService.php
> call: CartoserverService->callFunction("getMapInfo", "test_ho.test_ho")
>
> file: 60 - C:\ms4w\apps\cartoweb3\client\ClientMapInfoCache.php
> call: CartoserverService->getMapInfo("test_ho.test_ho")
>
> file: 163 - C:\ms4w\apps\cartoweb3\common\MapInfoCache.php
> call: ClientMapInfoCache->computeMapInfo()
>
> file: 757 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
> call: MapInfoCache->getMapInfo("test_ho.test_ho")
>
> file: 413 - C:\ms4w\apps\cartoweb3\client\Cartoclient.php
> call: Cartoclient->getMapInfo()
>
> file: 31 - C:\ms4w\apps\cartoweb3\htdocs\client.php
> call: Cartoclient->__construct()
>
> file: 3 - C:\ms4w\apps\cartoweb3\htdocs\test_ho.php
> call: require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php")
>
> Thank you very much again for your help.
>
> Best regards,
> Jady
>
>
>
>
> Oliver Christen wrote:
>>
>> Hi
>>
>> in the error message, the more interessant part is just below the first 3
>> lines, so it would help if you actually past a bit more of the error
>> message
>>
>> regards
>> Oliver
>>
>>
>>
>>
>>>
>>> Hi all,
>>>
>>> I am using cartoweb 3.4.0, I would like to add the toolTips plugin but 
>>> it
>>> always directs me to the Failure page whenever the project is loaded.
>>> The
>>> first 3 rows of the failure page are :
>>>
>>> Class : SoapFaultWrapper
>>> Message : Couldn't load plugin ServerToolTips
>>> Backtrace:
>>>
>>> What I have done for setting up the plugin are:
>>> 1) loaded the plugin on both clilent side (client.ini) and server side
>>> (myproject.ini)
>>> 2) prepared the toolTips.ini in \client_conf
>>> 3) in cartoclient.tpl, I have added in the header :
>>>
>>> {if $toolTips_active|default:''}
>>>    <script type="text/javascript"
>>>       src="{r type=js plugin=toolTips}overlib_mini.js{/r}"></script>
>>>    <script type="text/javascript"
>>>      src="{r type=js plugin=toolTips}ToolTips.ajax.js{/r}"></script>
>>> {/if}
>>>
>>> and added in the body :
>>>
>>> {if $toolTips_active|default:''}
>>>        <label for="toolTipsSwitch">ToolTips active</label>
>>>        <input type="checkbox" name="toolTipsSwitch" id="toolTipsSwitch"
>>> checked="checked" />
>>> {/if}
>>>
>>> Have I done anything wrong or missed anything?
>>>
>>> Many thanks!
>>>
>>> Jady
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Couldn%27t-load-the-toolTips-plugin-tf4859598.html#a13906486
>>> Sent from the cartoweb-users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Cartoweb-users mailing list
>>> Cartoweb-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Couldn%27t-load-the-toolTips-plugin-tf4859598.html#a13907856
> Sent from the cartoweb-users mailing list archive at Nabble.com.
>
> _______________________________________________
> 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