<div>Okay, i destroyed the error "undefined function" by installing the package php5-pgsql. Now everything works fine<br></div><div>thank you</div><div></div><div>kind regards</div><div>mehmet shirin</div><br><div class="gmail_quote">
Am 12. September 2009 01:39 schrieb Mehmet Sirin <span dir="ltr"><<a href="mailto:m.sirin07@googlemail.com">m.sirin07@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hi, thanks, It really seems to solve that problem! But now I got another one:<br></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&finalpoint=893983.89669951%206848777.0075477&method=SPD&srid=900913" target="_blank">http://localhost/OpenLayers/examples/routing2.php?startpoint=890544.23042729%206847095.3929257&finalpoint=893983.89669951%206848777.0075477&method=SPD&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 'about:config', set boolean value 'extensions.firebug.allowDoublePost' 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" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=430155</a> is shipped.<br>
<br>
When I push "Load Response": 890544.23042729<br>6847095.3929257<br><br /><br><b>Fatal error</b>: Call to undefined function pg_connect() in <b>/home/jars/workshop/OpenLayers/examples<br>
/routing2.php</b> on line <b>42</b><br /><br><br><br></div><div>I think the last error is the main problem..<br></div><div class="gmail_quote">Am 12. September 2009 00:12 schrieb Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org" target="_blank">ahocevar@opengeo.org</a>></span>:<div>
<div class="h5"><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><br>
Mehmet Sirin wrote:<br>
> Hi, I got an error like "No access for for method XMLHttpRequest.open,<br>
> when trying to calculate a route with pgrouting (data comes from postgis).<br>
> Hi, derzeit versuche ich mich am Tutorial<br>
> <a href="http://pgrouting.postlbs.org/wiki/WorkshopOL2.7andOSM" target="_blank">http://pgrouting.postlbs.org/wiki/WorkshopOL2.7andOSM</a> bzw. habe schon<br>
> alle dortigen Schritte ausgeführt. Nun, wenn ich Start und Endpunkte<br>
> setze, dann auf "Calculate Route" drücke, bekomme ich einfach gar<br>
> nichts angezeigt. Firebug sagt das hier:<br>
> Die Erlaubnis für den Aufruf der Methode XMLHttpRequest.open wurde<br>
> verweigert<br>
> file:///home/jars/OpenLayers/lib/OpenLayers/Request/XMLHttpRequest.js<br>
> Line 177<br>
><br>
><br>
> Die Erlaubnis für den Aufruf der Methode XMLHttpRequest.open wurde<br>
> verweigert<br>
> open()()XMLHttpRequest.js (Linie 177)<br>
> issue()(Object)Request.js (Linie 134)<br>
> GET()(Object)Request.js (Linie 222)<br>
> loadURL()("routing2.php?startpoint=889168.36391841<br>
> 6851146.5554241&finalpoint=896888.50377383<br>
> 6850611.4962262&method=SPD&srid=900913", null, null,<br>
> displayRoute(response), null)Ajax.js (Linie 82)<br>
> compute()index.html (Linie 199)<br>
> onclick(click clientX=413, clientY=394)1YJQEPyB...BjA%3D%3D (Linie 2)<br>
> [Break on this error] this._object.open(sMethod, sUrl, bAsync, sUser,<br>
> sPassword);<br>
><br>
> System: Ubuntu 8.04, Openlayers 2.8<br>
><br>
> Hat jemand eine Idee zur Behebung dieses Problems? Ich bin dankbar für<br>
> jede Hilfe.<br>
> MfG<br>
> Mehmet<br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
><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></div></div><br>
</blockquote></div><br>