Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? in /home/www/viacamp/site/application/models/pgsqlModel.php on line 34 Warning: pg_last_error(): No PostgreSQL link opened yet in /home/www/viacamp/site/application/models/pgsqlModel.php on line 36 PostgreSQL Connection Database Error: Warning: pg_query() expects parameter 1 to be resource, boolean given in /home/www/viacamp/site/application/models/pgsqlModel.php on line 58 Warning: pg_last_error(): No PostgreSQL link opened yet in /home/www/viacamp/site/application/models/pgsqlModel.php on line 60 PostgreSQL Query Error: On: SELECT id,name,description,point_class_id,url,email,telephone,reference,published,ST_X(ST_Transform(tips.geom, 23030)) as longitudeUTM,ST_Y(ST_Transform(tips.geom, 23030)) as latitudeUTM,ST_X(ST_Transform(tips.geom, 4326)) as longitudeGEO,ST_Y(ST_Transform(tips.geom, 4326)) as latitudeGEO,ST_Z(ST_Transform(tips.geom, 23030)) as elevation FROM tips WHERE name ILIKE('Guías Del Montsec') OR reference ILIKE('Guías Del Montsec');