Hello,<br><br>I have created a specific project without Geostat.<br>I need now to integrate this fonctionnality in the project but there's a matter.<br>The plugins is not found. With spy expression AjaxPlugins in firebug, AjaxPlugins array doesn't contain geostat nor mapOverlay.<br>
<br>It works when I test my configuration in the demoGeostat project.<br>So in my own project, I cute and paste my geostat.ini (server and client side) , I put in my mapfile the layer needed for geostat, I don't add new layers in layers.ini, mapOverlay and geostat are enabled on client.ini and myproject.ini<br>
toolPickerOn =true on client.ini<br>Forget to say I do the change made in client.ini to <a href="http://client.ini.in">client.ini.in</a><br><br>I put in the cartoclient_main.tpl (a tpl loaded after an authentification, called just after cartoclient.tpl) the <meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 9"><meta name="Originator" content="Microsoft Word 9"><link rel="File-List" href="file:///C:/DOCUME%7E1/GRATIER/LOCALS%7E1/Temp/msoclip1/01/clip_filelist.xml"><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
h1
        {mso-style-next:Normal;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        page-break-after:avoid;
        mso-outline-level:1;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-font-kerning:0pt;}
h2
        {mso-style-next:Normal;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        page-break-after:avoid;
        mso-outline-level:2;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:normal;
        font-style:italic;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<p class="MsoNormal"><i></i></p>
<p class="MsoNormal"> <br></p>
<p class="MsoNormal">{if $toolpicker_active|default:''}<link
rel="stylesheet" type="text/css" href="{r
type=css}toolPicker.css{/r}" title="stylesheet" />{/if} </p>
<p class="MsoNormal"><span style="" lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>{if $geostat|default:''}<link
rel="stylesheet" type="text/css" href="{r type=css
plugin=geostat}geostat.css{/r}" />{/if}</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"> </span></p>
<p class="MsoNormal"><i></i></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">{if $geostat|default:''}<script
type="text/javascript" src="{r type=js
plugin=geostat}Geostat.ajax.js{/r}"></script>{/if}</p><p class="MsoNormal"><br></p><p class="MsoNormal">in the head part, and in the body part<br></p><p class="MsoNormal"><br></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><div
id="folder8" class="folder"></span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span></span>{$geostat}</p>
<p class="MsoNormal"><span style=""> </span></div></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="" lang="EN-GB">{if
$toolpicker_active|default:''}</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span>{include file="toolPicker.tpl"}</span></p>
<p class="MsoNormal"><span style="" lang="EN-GB"><span style=""> </span></span>{/if}</p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="2"><br></font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal">
<font size="2">I have reloaded the change with cw3setup.php, clean the project, empty the cache in my browser and reloaded the page.</font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="2">When I tick the box "<label for="geostatStatus">Display geostatistics"</label> I get the error below<br>
</font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="2">Error: AjaxHandler.doAction(): object AjaxPlugins.Geostat not found. AJAX action aborted</font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal">
<font size="2">So as said previously, AjaxPlugins array don't call the geostat and mapOverlay function.</font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="2"><br></font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal">
<font size="2">I want to know which things can explain this state and how AjaxPlugins is populated with plugins call.<br></font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="2"><br>
</font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="2">Thanks for answers, advices</font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><br></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal">
<font size="2">Regards<br></font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="2"><br></font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="2"><font size="2">ThomasG</font><br>
</font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"><font size="2"><br></font></p><p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"> <font size="2"></font></p>
<p style="font-family: arial,helvetica,sans-serif;" class="MsoNormal"> <font size="2"></font></p><font style="font-family: arial,helvetica,sans-serif;" size="2"><br></font><br>