<DIV>Hi Jacob,</DIV> <DIV> </DIV> <DIV>finely I found a solution for my broken image problem. I just wrote to httpd.config of my ms4w server: keepalive off</DIV> <DIV>And the broken image problem for JPEG Files is gone. No idea why. But it works now! :)</DIV> <DIV> </DIV> <DIV>Thank you for your help :)))</DIV> <DIV><BR><BR><B><I>"Delfos, Jacob" <jacob.delfos@maunsell.com></I></B> schrieb:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Ded,<BR><BR>I know that not all machines running IE have it. Most computers I ran<BR>into did, and the registry entries fixed it for each. Although in your<BR>instance (a single image), it would not be logical if the problem was<BR>related to too many requests. Not sure what it could be.....<BR>Unfortunately I have not been able to get Microsoft feedback. They're<BR>hard to reach, and tend to forward you to a third party forum, full of<BR>people telling
you that the problem is my own fault because I must have<BR>installed bad software...<BR><BR>I'm not sure what you could do, except using an 'onError' patch, to<BR>reload when the image fails. In MapDHTML.js, line 557, I have:<BR><BR><BR>content = "<IMG id='\"MapLayerDivImg\"<br'>onError=\"imageErrorOccurred(gMapDHTMLURL)\" name=\"MapLayerDivImg\"<BR>src=\""+gAPixel+"\" width=\""+gMapWiWidth+"\"<BR>height=\""+gMapWiHeight+"\" border=\"0\"<BR>onload=\"MapWHideActivityLayer();\"<BR>onmouseover=\"MapWCaptureMouse(arguments[0]);\"<BR>onmouseout=\"MapWReleaseMouse(arguments[0]);\">";<BR><BR><BR>Then at the end of MapDHTML.js, I put:<BR><BR><BR>//------------------------------------------------------------<BR>var backupURL = "";<BR>function imageErrorOccurred (mapurl)<BR>{<BR>//alert (mapurl);<BR>document.images["MapLayerDivImg"].src =<BR>document.images["mapimage"].src;<BR>backupURL = mapurl;<BR>setTimeout("reloadImage()",500);<BR>}<BR><BR>function
reloadImage()<BR>{<BR>document.images['MapLayerDivImg'].src = backupURL;<BR>}<BR>//-----------------------------------------------------------<BR><BR><BR>This does not prevent it from occuring, but as soon as the image fails,<BR>it reloads it. Typically the user won't realise anything went wrong.<BR><BR>Regards,<BR><BR>Jacob<BR><BR><BR><BR><BR>> -----Original Message-----<BR>> From: Ded Moroz [mailto:hacker_ivanovich@yahoo.de] <BR>> Sent: 17 January 2006 15:59<BR>> To: Delfos, Jacob; Chameleon@lists.maptools.org<BR>> Subject: RE: [Chameleon] Broken image instead of a map in IE <BR>> <BR>> Dear Jacob,<BR>> <BR>> thank you for the fast answer. I've looked in the<BR>> registry on the client machine, but there were no<BR>> values like MaxConnectionsPer1_0Server or<BR>> MaxConnectionsPerServer, so I've made them as new<BR>> values and added to the registry. Unfortunately the<BR>> broken link problem is still there. So I have really<BR>> no
idea what I should do now. :-(<BR>> <BR>> <BR>> <BR>> --- Jacob Delfos <JACOB.DELFOS@MAUNSELL.COM>schrieb:<BR>> <BR>> > <BR>> > Ded,Paul,<BR>> > <BR>> > I think this is related to the problem I described<BR>> > on the Ka-Map list, <BR>> > although I can't understand why a single image would<BR>> > fail due to too <BR>> > large a value for "maximum allowable simultaneous<BR>> > connections".<BR>> > The bug for this problem is:<BR>> > http://bugzilla.maptools.org/show_bug.cgi?id=654<BR>> > <BR>> > If this is the same problem, then it is caused by<BR>> > Internet Explorer <BR>> > having a value of 10,000 for the maximum allowable<BR>> > simultaneous <BR>> > connections. This is of course a ridiculous and<BR>> > impractical value. It <BR>> > would basically mean that IE sends a request for<BR>> > every possible object <BR>> > in the page at the
same time. This can cause the<BR>> > webserver (be it Apache <BR>> > or IIS) to fail to satisfy all those requests,<BR>> > resulting in broken <BR>> > images (not just the map-image).<BR>> > <BR>> > According to<BR>> > http://support.microsoft.com/?kbid=282402 the value <BR>> > shouldn't be this high, but yet it seems default on<BR>> > most up-to-date <BR>> > Windows installations I have seen (XP and 2k). To<BR>> > try to fix it, you <BR>> > have to edit the registry on the client (machine<BR>> > running IE) :<BR>> > <BR>> > In:<BR>> ><BR>> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet<BR>> > <BR>> > Settings<BR>> > Change value of MaxConnectionsPer1_0Server and<BR>> > MaxConnectionsPerServer <BR>> > to something more decent (I used 4; Firefox uses<BR>> > 24).<BR>> > <BR>> > I'm waiting to hear back from Microsoft
on this. I<BR>> > hope they can fix <BR>> > this in a patch, so we don't have to put a note on<BR>> > all websites asking <BR>> > visitors to hack their registry. I'm tired of having<BR>> > to tell clients <BR>> > during demonstrations "This really doesn't normally<BR>> > happen, you know.... <BR>> > it's not our fault!"<BR>> > <BR>> > Please let us know whether this fixed it for you.<BR>> > I'll update the bug <BR>> > once I know more from Microsoft.<BR>> > <BR>> > regards,<BR>> > <BR>> > Jacob<BR>> > <BR>> > <BR>> > <BR>> > >This sounds like a problem Jacob and Bart have run<BR>> > into. From what<BR>> > >Jacob described recently, it may have been a<BR>> > problem in IIS<BR>> > >configuration ... looking for comments from Jacob<BR>> > :)<BR>> > <BR>> > >Cheers<BR>> > <BR>> > >Paul<BR>> >
<BR>> > >On 6-Jan-06, at 2:54 PM, Ded Moroz wrote:<BR>> > <BR>> > >> Hi dear community.<BR>> > >><BR>> > >> I've the following strange problem on my<BR>> > chameleon installation.<BR>> > >> When I just send a simple request directly at a<BR>> > drawmap.php like:<BR>> > >><BR>> > http://server/chameleon/common/wrapper/drawmap.php?<BR>> > >><BR>> ><BR>> map_session_mode=1&run_query=0&sid=43be7fee135b7&dummy=0.17998100<BR>> > >> +1136558079&UniqId=1136558467418989<BR>> > >><BR>> > >> I just can see a normal map as a response. But<BR>> > sometimes I just get<BR>> > >> a broken image instead of a normal picture of my<BR>> > map. The strange<BR>> > >> thing is when I just made a request like already<BR>> > showed and I push<BR>> > >> the F5 it reloads the map but sometime
it shows<BR>> > me the broken image<BR>> > >> as a response! . This error happens only when I<BR>> > use the IE 6.0. On<BR>> > >> Firefox or Opera every reload of the drawmap.php<BR>> > is successful and<BR>> > >> this error also takes place only when I request<BR>> > huge JPEG images<BR>> > >> (1000 x 600 Px). The error.log on my Apache<BR>> > server doesn't<BR>> > >> subscribe any errors and when I try to simulate<BR>> > the same error<BR>> > >> directly on the server<BR>> > (http://localhost/chameleon/common/wrapper/<BR>> > >> drawmap.php?...) it just doesn't happen. So I<BR>> > suspect that the<BR>> > >> error is maybe in the properties of the client<BR>> > or in the properties<BR>> > >> of my network.<BR>> > >><BR>> > >> Thanks.<BR>> > >><BR>> > >> P.S.: Sorry for my
terrible English :-(<BR>> > >><BR>> > >> Telefonieren Sie ohne weitere Kosten mit Ihren<BR>> > Freunden von PC zu PC!<BR>> > >> Jetzt Yahoo! Messenger installieren!<BR>> > >> _______________________________________________<BR>> > >> Chameleon mailing list<BR>> > >> Chameleon at lists.maptools.org<BR>> > >><BR>> > http://lists.maptools.org/mailman/listinfo/chameleon<BR>> > <BR>> > <BR>> ><BR>> >+-----------------------------------------------------------------+<BR>> > >|Paul Spencer pspencer at dmsolutions.ca |<BR>> > <BR>> ><BR>> >+-----------------------------------------------------------------+<BR>> > >|Applications & Software Development |<BR>> > >|DM Solutions Group Inc<BR>> > http://www.dmsolutions.ca/|<BR>> > <BR>> ><BR>>
>+-----------------------------------------------------------------+<BR>> > <BR>> > _______________________________________________<BR>> > Chameleon mailing list<BR>> > Chameleon@lists.maptools.org<BR>> > http://lists.maptools.org/mailman/listinfo/chameleon<BR>> > <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> ___________________________________________________________ <BR>> Telefonate ohne weitere Kosten vom PC zum PC: <BR>> http://messenger.yahoo.de<BR>> <BR><BR>_______________________________________________<BR>Chameleon mailing list<BR>Chameleon@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/chameleon<BR></BLOCKQUOTE> <DIV><BR></DIV><p>
                <hr size=1>Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!<br>Jetzt <a href=http://de.messenger.yahoo.com>Yahoo! Messenger</a> installieren!