<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi and thanks for your answer.<br>
<br>
<b>For bboxhistory:</b><br>
on the demoCW3 project (delivered with CW 3.4RC1, ajax enabled) the
plugin is loaded and i can see the 2 arrows. But i had an error on
first zoomin action (i hadn't replaced line 186 yet):<br>
<pre><i>Requested plugin bboxHistory is not loaded. Check your AJAX call parameters (currently ajaxActionRequest=BboxHistory.moveTo)</i>
So i jumped on my custom project (ajax enabled) and i replaced line 186 with the isset function but now the error is on line 112:
message: Error [8, Undefined property: stdClass::$position, D:\Program Files\cartoweb-withdemo-3.4.0-RC1\cartoweb3\plugins\bboxHistory\client\ClientBboxHistory.php, 112]
So i put isset on position property and no error anymore.
         <i> if (isset($this->state->position)) {
                 $smarty->assign('has_prev', is_null($this->state->position) &&
count($this->state->history) > 1 || $this->state->position > 0);
                        $smarty->assign('has_next', !is_null($this->state->position) &&
$this->state->position < count($this->state->history) - 2);
                }</i>
So now on both projects i have the two arrows, i have no error at loading or zoom, but nothing happens: the 2 arrows keep disabled after several zoom operations.
I guess the isset() i added paralysed the plugin.
Now I'm going to test wmsBrowserLight.
Thanks again
</pre>
<br>
Oliver Christen a écrit :
<blockquote cite="mid:1b2501c7d37a$e6282550$15e3a8c0@maunakea"
type="cite">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<meta content="MSHTML 6.00.5730.11" name="GENERATOR">
<style></style>
<div><font size="2">hi</font></div>
<div><font size="2">thank you for testing</font></div>
<div> </div>
<div><font size="2">I cant seem to be able to reproduce the error
with bboxhistory.</font></div>
<div><font size="2">can you try to replace line 186 in </font><font
size="3">ClientBboxHistory.php</font></div>
<div><font size="2">if (count($this->state->history) > 0) {</font></div>
<div><font size="2">by</font></div>
<div><font size="2">if (isset($this->state->history) &&
count($this->state->history) > 0) {<br>
</font><font size="2">and tell me if this solve the problem</font></div>
<div> </div>
<div><font size="2">by the way, the bboxhistory only work with ajax,
so you need to enable ajax in your project.</font></div>
<div> </div>
<div><font size="2">about the wmslayerlight, try to replace the
$wmsBrowser template variable by $wmsBrowserLight, there should be at
least 3 occurences in the default cartoclient.tpl.</font></div>
<div><font size="2">this is effectively an error and it will be
corrected,</font></div>
<div><font size="2">thank you.</font></div>
<div> </div>
<div><font size="2">regards</font></div>
<div><font size="2">Oliver</font></div>
<div><font size="2"> </font></div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div
style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
<a moz-do-not-send="true" title="simon.ortet@silogic.fr"
href="mailto:simon.ortet@silogic.fr">Simon ORTET</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
<a moz-do-not-send="true" title="cartoweb-users@lists.maptools.org"
href="mailto:cartoweb-users@lists.maptools.org">cartoweb</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Tuesday, July 31, 2007 3:09 PM</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
[Cartoweb-users] Cartoweb 3.4 and new plugins</div>
<div><br>
</div>
Hi list,<br>
<br>
I installed Cartoweb 3.4 RC1 and the install process went ok.<br>
So i tried to modify a demo application to load new plugins and i can't
make them work.<br>
<br>
bboxHistory:<br>
<blockquote>I added 'bboxHistory' to LoadPugins line in my
client.ini and {$bboxHistoryForm} to my cartoclient.tpl but i've got
error at project loading:<br>
<pre>message: Error [8, Trying to get property of non-object, D:\Program Files\cartoweb-withdemo-3.4.0-RC1\cartoweb3\plugins\bboxHistory\client\ClientBboxHistory.php, 186]
</pre>
</blockquote>
WmsBrowserLight and ogcLayerLoader<br>
<blockquote>I added mapOverlay, ogcLayerLoader, wmsBrowserLight in
both client.ini and 'mapid'.ini <br>
I copied ogcLayerLoader.ini and wmsBrowserLight.ini in client_conf and
ogcLayerLoader.ini in server_conf<br>
but nothing happens: no errors but no new tabs or tools. Did i forgot
something to enable plugins loading?<br>
<br>
</blockquote>
Thanks<br>
<blockquote><br>
</blockquote>
<p> </p>
<hr> _______________________________________________<br>
Cartoweb-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
</blockquote>
</blockquote>
</body>
</html>