pgRouting

Forum #22 - Topic #90 - Message List

PHP-routing-script of the tutorial (getting error)

Well, I think I nearly got it, but:

If I start: http://localhost/routing/04.ax_routing.php I get the following errors:

Warning: pg_query() [function.pg-query]: Query failed: FEHLER: Invalid OGC WKT (too short) in /var/www/routinganwendung/04.ax_routing.php on line 41

Warning: pg_fetch_result(): supplied argument is not a valid PostgreSQL result resource in /var/www/routinganwendung/04.ax_routing.php on line 43

Warning: pg_fetch_result(): supplied argument is not a valid PostgreSQL result resource in /var/www/routinganwendung/04.ax_routing.php on line 44

Warning: pg_fetch_result(): supplied argument is not a valid PostgreSQL result resource in /var/www/routinganwendung/04.ax_routing.php on line 45

Warning: pg_fetch_result(): supplied argument is not a valid PostgreSQL result resource in /var/www/routinganwendung/04.ax_routing.php on line 46 .... .....

Why could this be? The connection to the database works well. Thank you, Kai