<div>Hi, thanks, It really seems to solve that problem! But now I got another one:<br></div><div></div><div></div><div>Firebug needs to POST to the server to get this information for url:<br><a href="http://localhost/OpenLayers/examples/routing2.php?startpoint=890544.23042729%206847095.3929257&amp;finalpoint=893983.89669951%206848777.0075477&amp;method=SPD&amp;srid=900913">http://localhost/OpenLayers/examples/routing2.php?startpoint=890544.23042729%206847095.3929257&amp;finalpoint=893983.89669951%206848777.0075477&amp;method=SPD&amp;srid=900913</a><br>
<br>This second POST can interfere with some sites. If you want to send the POST again, open a new tab in Firefox, use URL &#39;about:config&#39;, set boolean value &#39;extensions.firebug.allowDoublePost&#39; to true<br>
This value is reset every time you restart Firefox This problem will disappear when <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=430155">https://bugzilla.mozilla.org/show_bug.cgi?id=430155</a> is shipped.<br><br>
When I push &quot;Load Response&quot;: 890544.23042729&lt;br&gt;6847095.3929257&lt;br&gt;&lt;br /&gt;<br>&lt;b&gt;Fatal error&lt;/b&gt;:  Call to undefined function pg_connect() in &lt;b&gt;/home/jars/workshop/OpenLayers/examples<br>
/routing2.php&lt;/b&gt; on line &lt;b&gt;42&lt;/b&gt;&lt;br /&gt;<br><br><br></div><div></div><div>I think the last error is the main problem..<br></div><div></div><div></div><div class="gmail_quote">Am 12. September 2009 00:12 schrieb Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
you have to run your application off a web server, not the file system.<br>
<br>
Du mußt deine Anwendung auf einem Webserver installieren, statt sie vom<br>
Dateisystem zu starten, d.h. du brauchst URLs, die mit http:// beginnen<br>
statt mit file://<br>
<br>
lg<br>
Andreas.<br>
<div><div class="h5"><br>
Mehmet Sirin wrote:<br>
&gt; Hi, I got an error like &quot;No access for for method XMLHttpRequest.open,<br>
&gt; when trying to calculate a route with pgrouting (data comes from postgis).<br>
&gt; Hi, derzeit versuche ich mich am Tutorial<br>
&gt;  <a href="http://pgrouting.postlbs.org/wiki/WorkshopOL2.7andOSM" target="_blank">http://pgrouting.postlbs.org/wiki/WorkshopOL2.7andOSM</a> bzw. habe schon<br>
&gt; alle dortigen Schritte ausgeführt. Nun, wenn ich Start und Endpunkte<br>
&gt; setze, dann auf &quot;Calculate Route&quot; drücke, bekomme ich einfach gar<br>
&gt; nichts angezeigt. Firebug sagt das hier:<br>
&gt; Die Erlaubnis für den Aufruf der Methode XMLHttpRequest.open wurde<br>
&gt; verweigert<br>
&gt; file:///home/jars/OpenLayers/lib/OpenLayers/Request/XMLHttpRequest.js<br>
&gt; Line 177<br>
&gt;<br>
&gt;<br>
&gt; Die Erlaubnis für den Aufruf der Methode XMLHttpRequest.open wurde<br>
&gt; verweigert<br>
&gt; open()()XMLHttpRequest.js (Linie 177)<br>
&gt; issue()(Object)Request.js (Linie 134)<br>
&gt; GET()(Object)Request.js (Linie 222)<br>
&gt; loadURL()(&quot;routing2.php?startpoint=889168.36391841<br>
&gt; 6851146.5554241&amp;finalpoint=896888.50377383<br>
&gt; 6850611.4962262&amp;method=SPD&amp;srid=900913&quot;, null, null,<br>
&gt; displayRoute(response), null)Ajax.js (Linie 82)<br>
&gt; compute()index.html (Linie 199)<br>
&gt; onclick(click clientX=413, clientY=394)1YJQEPyB...BjA%3D%3D (Linie 2)<br>
&gt; [Break on this error] this._object.open(sMethod, sUrl, bAsync, sUser,<br>
&gt; sPassword);<br>
&gt;<br>
&gt; System: Ubuntu 8.04, Openlayers 2.8<br>
&gt;<br>
&gt; Hat jemand eine Idee zur Behebung dieses Problems? Ich bin dankbar für<br>
&gt; jede Hilfe.<br>
&gt; MfG<br>
&gt; Mehmet<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
&gt;<br>
<font color="#888888"><br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
</font></blockquote></div><br>