( ! ) Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "10.10.10.11" and accepting TCP/IP connections on port 5432? in /data/www/api.adverto.sale/v1/vendor/pomm-project/foundation/sources/lib/Session/Connection.php on line 212 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0000 | 394464 | {main}( ) | .../get_location_by_gps.php:0 |
2 | 0.0043 | 598816 | getCountryAndCityByGPS( $latitude = '46.793', $longitude = '24.714' ) | .../get_location_by_gps.php:50 |
3 | 0.0043 | 598840 | getLocationByGPS( $lat = '46.793', $lng = '24.714' ) | .../lib.php:1370 |
4 | 0.0051 | 692728 | PommProject\Foundation\QueryManager\SimpleQueryManager->query( $sql = 'SELECT location_id FROM location_polygons WHERE ST_Intersects($*::text::geography, geom::geography)', $parameters = [0 => 'POINT(24.714 46.793)'] ) | .../lib.php:1300 |
5 | 0.0052 | 694624 | PommProject\Foundation\QueryManager\SimpleQueryManager->doQuery( $sql = 'SELECT location_id FROM location_polygons WHERE ST_Intersects($*::text::geography, geom::geography)', $parameters = [0 => 'POINT(24.714 46.793)'] ) | .../SimpleQueryManager.php:53 |
6 | 0.0053 | 694784 | PommProject\Foundation\Session\Connection->sendQueryWithParameters( $query = 'SELECT location_id FROM location_polygons WHERE ST_Intersects($1::text::geography, geom::geography)', $parameters = [0 => 'POINT(24.714 46.793)'] ) | .../SimpleQueryManager.php:88 |
7 | 0.0053 | 694784 | PommProject\Foundation\Session\Connection->getHandler( ) | .../Connection.php:418 |
8 | 0.0053 | 694784 | PommProject\Foundation\Session\Connection->launch( ) | .../Connection.php:132 |
9 | 0.0053 | 694896 | pg_connect( $connection_string = 'user=adv_geo dbname=adv_geo host=10.10.10.11 port=5432 password=OhPha9ux', $connect_type = 2 ) | .../Connection.php:212 |
( ! ) Fatal error: Uncaught PommProject\Foundation\Exception\ConnectionException: Error connecting to the database with parameters 'user=adv_geo dbname=adv_geo host=10.10.10.11 port=5432 password=xxxx'. in /data/www/api.adverto.sale/v1/vendor/pomm-project/foundation/sources/lib/Session/Connection.php on line 215 | ||||
---|---|---|---|---|
( ! ) PommProject\Foundation\Exception\ConnectionException: Error connecting to the database with parameters 'user=adv_geo dbname=adv_geo host=10.10.10.11 port=5432 password=xxxx'. in /data/www/api.adverto.sale/v1/vendor/pomm-project/foundation/sources/lib/Session/Connection.php on line 215 | ||||
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0000 | 394464 | {main}( ) | .../get_location_by_gps.php:0 |
2 | 0.0043 | 598816 | getCountryAndCityByGPS( $latitude = '46.793', $longitude = '24.714' ) | .../get_location_by_gps.php:50 |
3 | 0.0043 | 598840 | getLocationByGPS( $lat = '46.793', $lng = '24.714' ) | .../lib.php:1370 |
4 | 0.0051 | 692728 | PommProject\Foundation\QueryManager\SimpleQueryManager->query( $sql = 'SELECT location_id FROM location_polygons WHERE ST_Intersects($*::text::geography, geom::geography)', $parameters = [0 => 'POINT(24.714 46.793)'] ) | .../lib.php:1300 |
5 | 0.0052 | 694624 | PommProject\Foundation\QueryManager\SimpleQueryManager->doQuery( $sql = 'SELECT location_id FROM location_polygons WHERE ST_Intersects($*::text::geography, geom::geography)', $parameters = [0 => 'POINT(24.714 46.793)'] ) | .../SimpleQueryManager.php:53 |
6 | 0.0053 | 694784 | PommProject\Foundation\Session\Connection->sendQueryWithParameters( $query = 'SELECT location_id FROM location_polygons WHERE ST_Intersects($1::text::geography, geom::geography)', $parameters = [0 => 'POINT(24.714 46.793)'] ) | .../SimpleQueryManager.php:88 |
7 | 0.0053 | 694784 | PommProject\Foundation\Session\Connection->getHandler( ) | .../Connection.php:418 |
8 | 0.0053 | 694784 | PommProject\Foundation\Session\Connection->launch( ) | .../Connection.php:132 |