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/montsegura/site/application/models/pgsqlModel.php on line 34 Warning: pg_last_error(): No PostgreSQL link opened yet in /home/www/montsegura/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/montsegura/site/application/models/pgsqlModel.php on line 58 Warning: pg_last_error(): No PostgreSQL link opened yet in /home/www/montsegura/site/application/models/pgsqlModel.php on line 60 PostgreSQL Query Error: On: SELECT classes.id,classes.name,classes.icon FROM classes; Warning: pg_query() expects parameter 1 to be resource, boolean given in /home/www/montsegura/site/application/models/pgsqlModel.php on line 58 Warning: pg_last_error(): No PostgreSQL link opened yet in /home/www/montsegura/site/application/models/pgsqlModel.php on line 60 PostgreSQL Query Error: On: SELECT point_classes.id,point_classes.name,point_classes.icon,point_classes.type FROM point_classes WHERE point_classes.published='t' AND (point_classes.type='interest' OR point_classes.type='service') AND point_classes.name!='Sin Tipo'; Warning: pg_query() expects parameter 1 to be resource, boolean given in /home/www/montsegura/site/application/models/pgsqlModel.php on line 58 Warning: pg_last_error(): No PostgreSQL link opened yet in /home/www/montsegura/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 published='t' ORDER BY name LIMIT 10 ; Warning: pg_query() expects parameter 1 to be resource, boolean given in /home/www/montsegura/site/application/models/pgsqlModel.php on line 58 Warning: pg_last_error(): No PostgreSQL link opened yet in /home/www/montsegura/site/application/models/pgsqlModel.php on line 60 PostgreSQL Query Error: On: SELECT COUNT(*) FROM tips WHERE published='t'; Notice: Undefined offset: 0 in /home/www/montsegura/site/application/models/tipsDBModel.php on line 54 Warning: pg_query() expects parameter 1 to be resource, boolean given in /home/www/montsegura/site/application/models/pgsqlModel.php on line 58 Warning: pg_last_error(): No PostgreSQL link opened yet in /home/www/montsegura/site/application/models/pgsqlModel.php on line 60 PostgreSQL Query Error: On: SELECT COUNT(*) FROM routes WHERE published='t'; Notice: Undefined offset: 0 in /home/www/montsegura/site/application/models/routesDBModel.php on line 133