<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=540223115-16052006><FONT face="Trebuchet MS"
size=2>Hey Jesse-</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=540223115-16052006><FONT face="Trebuchet MS"
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=540223115-16052006><FONT face="Trebuchet MS"
size=2>I don't fully understand your setup. If mapserver can render your
mapfile, then precache2 should work on it as well. There is no looping
through directories going on, so I can't make an exception for directories that
don't have certain data. It could be that your mapfile has an error that
you don't know about because you can't tell that the images aren't being
returned in ka-Map.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=540223115-16052006><FONT face="Trebuchet MS"
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=540223115-16052006><FONT face="Trebuchet MS"
size=2>If you send your mapfile (just to me) - I'll see if I can help figure out
what is going on.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=540223115-16052006><FONT face="Trebuchet MS"
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=540223115-16052006><FONT face="Trebuchet MS"
size=2>Tim</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=540223115-16052006></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ka-map-users-bounces@lists.maptools.org
[mailto:ka-map-users-bounces@lists.maptools.org] <B>On Behalf Of </B>Jesse
Lovelace<BR><B>Sent:</B> Monday, May 15, 2006 8:21 AM<BR><B>To:</B>
ka-Map-users@lists.maptools.org<BR><B>Subject:</B> [ka-Map-users] precache2
problem<BR></FONT><BR></DIV>
<DIV></DIV><PRE>Precache2 seems to have a problem when processing some directories for data:<BR><BR>Warning: [MapServer Error]: msSHPOpenFile():<BR>(/var/www/http/tiger2005fe/37/37053//place)<BR> in /var/www/http/tl-map/precache2.php on line 238
<BR><BR>Warning: [MapServer Error]: msSHPOpenFile():<BR>(/home/data/tiger2005fe/37/37053//place)<BR> in /var/www/http/tl-map/precache2.php on line 238<BR><BR>Fatal error: Call to a member function on a non-object in<BR>/var/www/http/tl-map/precache2.php on line 239
<BR><BR>The 37/37053 directory doesn't have a 'place' shapefile--I think precache should<BR>continue gracefully if it comes to a directory that is missing a layer--it could<BR>be that not all areas have all layers.<BR><BR>
This should be an easy fix, but I'm not sure what all is going on in precache2 so I hesitate to make to many changes.<BR><BR>Many thanks.<BR><BR>jesse<BR></PRE></BLOCKQUOTE></BODY></HTML>