[pgrouting-users] pgrouting workshop

Pedro Costa pedrocostaarma at sapo.pt
Wed Jul 11 01:47:55 PDT 2012


Hi Daniel


In apache log i found this error:

[error] an unknown filter was not added: PHP
[error] [client my client] PHP Parse error:  syntax error, unexpected 
T_CONSTANT_ENCAPSED_STRING in 'my domain'/routing/php/pgrouting.php on 
line 42, referer:


Line 42 is my db data:


  // Connect to database
   $con = pg_connect("dbname=".PG_DB." host=".PG_HOST." user=".PG_USER 
"Password=".PG_PASS);



do you know what is the problem?


Thanks





Em 10-07-2012 17:12, Daniel Kastl escreveu:
>
>
>     server: http://pastebin.com/tdWDgj54
>
>
> You're missing quotation in line 11 ... that's when the code 
> highlighting becomes weird.
>
> Otherwise, try to output the SQL queries to the server log and then 
> run the query in the terminal.
> Like this you can see if your query is OK or not.
>
> Daniel
>
>
>
> -- 
> Georepublic UG & Georepublic Japan
> eMail: daniel.kastl at georepublic.de <mailto:daniel.kastl at georepublic.de>
> Web: http://georepublic.de <http://georepublic.de/>
>
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20120711/f6943ae3/attachment.html>


More information about the Pgrouting-users mailing list