<br clear="all">this is the chrome error<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="color: rgb(255, 0, 0); font-family: &#39;dejavu sans mono&#39;, monospace; font-size: 11px; line-height: 12px; white-space: pre-wrap; ">Uncaught TypeError: Cannot read property &#39;Vector&#39; of undefined</span><br>

<br></div><div>Is this a bug in OL or chrome?</div><div>How to solve it?</div><div><br></div><div>the application works fine on Firefox 3.6.6 but not in firefox4</div><div><br></div><div>this is the code creating problem </div>

<div><div>new_layer = new OpenLayers.Layer.Vector(&quot;layername_&quot;, {</div><div>        strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],</div><div>        projection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),</div>

<div>        protocol: new OpenLayers.Protocol.WFS({</div><div>            version: &quot;1.0.0&quot;,</div><div>            srsName: &quot;EPSG:4326&quot;,</div><div>            url: &quot;<a href="http://localhost/cgi-bin/tinyows">http://localhost/cgi-bin/tinyows</a>&quot;,</div>

<div>            featureNS :  &quot;<a href="http://www.tinyows.org/">http://www.tinyows.org/</a>&quot;,</div><div>            featureType: layername_ ,</div><div>            geometryName: &quot;the_geom&quot;,</div><div>

            schema: &quot;<a href="http://localhost/cgi-bin/tinyows?service=wfs&amp;request=DescribeFeatureType&amp;version=1.0.0&amp;typename=tows">http://localhost/cgi-bin/tinyows?service=wfs&amp;request=DescribeFeatureType&amp;version=1.0.0&amp;typename=tows</a>:&quot; + &#39;layername_&#39;</div>

<div>        })});</div><div>      map.addLayer(new_layer);new_layer.refresh();</div></div><div><br></div><div>if this is commented out the it works but no output</div><div>-- <br><div>Thanks &amp;&amp; Regards</div>Rashad<br>


</div>