<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>Hi all.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Always fun when you  correct
your own code. Just in this morning I found out how to solve this using the
fantastic (not so much) debuggers associated with Internet Explorer. The errors
all lay within my own code so it was easy to track down but the reason it
worked in Firefox and not Internet Explorer is that a block of code like this,
gives errors and does not function properly in IE.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>var opt = {<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>                height: 50,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>                width:50,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>                top: 50,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>                left: 50,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>}<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>A keen eye can spot the errors
but since this works perfectly in FF3 I hadn&#8217;t noticed them. This is the
correct(est) version.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>var opt = {<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>                height: 50,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>                width: 50,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>                top: 50,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>                left:50<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>};<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Now, as you can hopefully see I
omitted the last comma (,) in the opt code block and I added the semicolon(;)
at the end of the declaration. So this is logged for future references in the
mailing list. Hope this helps as many as possible.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Tómas.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> fusion-users-bounces@lists.osgeo.org
[mailto:fusion-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Tómas
Guđmundsson<br>
<b>Sent:</b> 30. júní 2008 16:45<br>
<b>To:</b> fusion-users@lists.osgeo.org<br>
<b>Subject:</b> [fusion-users] A phantom bug. Empty string to getElementById()<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=IS>Hi all,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=IS><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=IS>I have been debugging for the last 4 hours and
no luck so I decided to send this post. For some reason Fusion is loading up
the legend panel, but no other panels. In Internet Explorer it stops after
loading the Legend, and the rest of the panels, overview map, toolbars are not
visible. I have no idea what is going on behind the scenes but some runs in FF
3 shows me &#8222;Empty string passed to getElementById()&#8220;. This
supposedly happens in jx_combined.js, in line 876 while the ajax callback is
being sent backed to some body. I figured it happened when it did not parse /
read the response of &#8222;CreateSession.php&#8220; callback but that is the
last file that is called before this error occurs.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=IS><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=IS>On another setup (almost identical, just
another computer) it does not occur and the page is shown beautifully. On that
setup Internet Explorer 7 does not show any icons regarding errors in page but
on the other setup where the error occurs it shows error in page symbol. Too
bad I don&#8216;t have some debugging tools for IE.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=IS><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=IS>Kind regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=IS>Tómas<o:p></o:p></span></p>

</div>

</body>

</html>