<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>hi</FONT></DIV>
<DIV><FONT size=2>usually, an error like AjaxPlugins.Geostat not
found</FONT></DIV>
<DIV><FONT size=2>mean the javascript file is not loaded at all.</FONT></DIV>
<DIV><FONT size=2>in your browser, look at the page source and see if the
</FONT><FONT size=3>Geostat.ajax.js is present in the header and if the file can
be found using the path generated.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=thomas.gratier@gmail.com
href="mailto:thomas.gratier@gmail.com">thomas gratier</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, March 11, 2009 11:53
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Problem for
integrating geostat in a specificproject</DIV>
<DIV><BR></DIV>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 content=Word.Document name=ProgId>
<META content="Microsoft Word 9" name=Generator>
<META content="Microsoft Word 9" name=Originator><LINK
href="file:///C:/DOCUME%7E1/GRATIER/LOCALS%7E1/Temp/msoclip1/01/clip_filelist.xml"
rel=File-List>
<STYLE>@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; }
UNKNOWN {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: " mso-style-parent: " quot: ; mso-pagination: widow-orphan; Times: ; mso-fareast-font-family: "
}
H1 {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: " mso-pagination: widow-orphan; Times: ; mso-style-next: Normal; mso-outline-level: 1; mso-font-kerning: 0pt
}
H2 {
        FONT-WEIGHT: normal; FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-STYLE: italic; FONT-FAMILY: " mso-pagination: widow-orphan; Times: ; mso-style-next: Normal; mso-outline-level: 2
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
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 lang=EN-GB></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-GB><SPAN> </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 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 lang=EN-GB><div id="folder8"
class="folder"></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB><SPAN>
</SPAN></SPAN>{$geostat}</P>
<P class=MsoNormal><SPAN> </SPAN></div></P>
<P class=MsoNormal> </P>
<P class=MsoNormal><SPAN lang=EN-GB>{if
$toolpicker_active|default:''}</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB><SPAN>
</SPAN>{include file="toolPicker.tpl"}</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB><SPAN> </SPAN></SPAN>{/if}</P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2><BR></FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><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 class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2>When I tick the box "<LABEL for=geostatStatus>Display
geostatistics"</LABEL> I get the error below<BR></FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2>Error: AjaxHandler.doAction(): object AjaxPlugins.Geostat not found.
AJAX action aborted</FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2>So as said previously, AjaxPlugins array don't call the geostat and
mapOverlay function.</FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2><BR></FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><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 class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2><BR></FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2>Thanks for answers, advices</FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><BR></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2>Regards<BR></FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2><BR></FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2><FONT size=2>ThomasG</FONT><BR></FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2><BR></FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2></FONT></P>
<P class=MsoNormal style="FONT-FAMILY: arial,helvetica,sans-serif"><FONT
size=2></FONT></P><FONT style="FONT-FAMILY: arial,helvetica,sans-serif"
size=2><BR></FONT><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>