<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>I have a layer wich contains the street names, and i want to display it. Then, system crashes<br>saying that CGI / FastCGI detected a problem and it must close.<br><br>The error signature throws this:<br><br>szAppName : php-cgi.exe szAppVer : 5.2.5.5 szModName : libmap.dll <br>szModVer : 0.0.0.0 offset : 0002fded <br><br>So, i was wondering why ... and then, i noticed this:<br><br>I'm showing an embeded scalebar, so i need to call the drawLabelCache method to render<br>it.<br><br><div style="margin-left: 40px; font-family: courier,monaco,monospace,sans-serif;">$img = $map->draw();<br>$map->embedScalebar($img);<br>$map->drawLabelCache($img);<br></div><br>Then, my street names layer looks like this:<br><br><span style="font-family:
courier,monaco,monospace,sans-serif;">LAYER</span><br style="font-family: courier,monaco,monospace,sans-serif;"><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> NAME "streetnames"</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> CONNECTION "..."</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> CONNECTIONTYPE POSTGIS</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> DATA "the_geom from streetnames"</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> STATUS
OFF</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> TYPE POINT</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> TRANSPARENCY 100</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> LABELITEM "textstring"</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> CLASS</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> LABEL</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family:
courier,monaco,monospace,sans-serif;"> FONT "arial"</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> TYPE TRUETYPE</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> COLOR 255 128 0</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> OUTLINECOLOR 255 255 255</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> SIZE 5</span><br style="font-family:
courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> ANGLE [text_angle]</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> PARTIALS FALSE</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> END</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> END</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;"> MINSCALE 0</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family:
courier,monaco,monospace,sans-serif;"> MAXSCALE 10000</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">END</span><br><br>Then I added within the LAYER section the tag LABELCACHE OFF, and it works just fine.<br><br>Without seeing source code I figure that maybe the LabelCache pointers are to few, isn't ? <br><br>Or someone know what else could be happening ?<br><br><br><br><div><strong><font color="#0000bf">IC Carlos Ruiz</font></strong></div><div><strong><font color="#0000bf"></font></strong> </div></td></tr></table><br>