A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Map_model.php

Line Number: 117

Backtrace:

File: /home/distancebetween/public_html/application/models/Map_model.php
Line: 117
Function: _error_handler

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 501
Function: getfromtoid

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

Filename: models/Country_state_city_model.php

Line Number: 186

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 186
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(https://maps.googleapis.com/maps/api/geocode/json?address=Silver&key=AIzaSyB6hJbTkKikTEZwPNRgQzd0v0fSs5uqEUM&sensor=true): failed to open stream: no suitable wrapper could be found

Filename: models/Country_state_city_model.php

Line Number: 186

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 186
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/distancebetween/public_html/system/core/Exceptions.php:272)

Filename: models/Country_state_city_model.php

Line Number: 189

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 189
Function: header

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0

Filename: models/Country_state_city_model.php

Line Number: 215

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 215
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(http://api.geonames.org/findNearbyPlaceNameJSON?lat=0&lng=0&style=short&cities=cities15000&radius=65&maxRows=30&username=quickycoders): failed to open stream: no suitable wrapper could be found

Filename: models/Country_state_city_model.php

Line Number: 215

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 215
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

Filename: models/Country_state_city_model.php

Line Number: 234

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 234
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(https://maps.googleapis.com/maps/api/timezone/json?location=0,0&timestamp=1544574969&key=AIzaSyB6hJbTkKikTEZwPNRgQzd0v0fSs5uqEUM): failed to open stream: no suitable wrapper could be found

Filename: models/Country_state_city_model.php

Line Number: 234

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 234
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

Filename: models/Country_state_city_model.php

Line Number: 241

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 241
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(https://maps.googleapis.com/maps/api/elevation/json?locations=0,0&key=AIzaSyB6hJbTkKikTEZwPNRgQzd0v0fSs5uqEUM): failed to open stream: no suitable wrapper could be found

Filename: models/Country_state_city_model.php

Line Number: 241

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 241
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: models/Country_state_city_model.php

Line Number: 244

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 244
Function: _error_handler

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

Filename: models/Country_state_city_model.php

Line Number: 249

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 249
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: file_get_contents(https://airport.api.aero/airport/nearest/0/0?maxAirports=5&user_key=9747395839237bd9577f516210c858ca): failed to open stream: no suitable wrapper could be found

Filename: models/Country_state_city_model.php

Line Number: 249

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 249
Function: file_get_contents

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: models/Country_state_city_model.php

Line Number: 252

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 252
Function: _error_handler

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Country_state_city_model.php

Line Number: 315

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 315
Function: _error_handler

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Country_state_city_model.php

Line Number: 315

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 315
Function: _error_handler

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: models/Country_state_city_model.php

Line Number: 315

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 315
Function: _error_handler

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 153
Function: getlatlongjson

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: airport

Filename: models/Country_state_city_model.php

Line Number: 155

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 155
Function: _error_handler

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: all_airports

Filename: models/Country_state_city_model.php

Line Number: 156

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 156
Function: _error_handler

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: elevation

Filename: models/Country_state_city_model.php

Line Number: 163

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 163
Function: _error_handler

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/distancebetween/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/distancebetween/public_html/application/models/Country_state_city_model.php
Line: 171
Function: insert

File: /home/distancebetween/public_html/application/controllers/Map.php
Line: 516
Function: getlatlong

File: /home/distancebetween/public_html/index.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1048

Column 'timezone' cannot be null

INSERT INTO `lat_long` (`name`, `latitude`, `longitude`, `timezone`, `elevation`, `country`, `state`, `city`, `airport_details`, `all_airports`, `nearby_places`) VALUES ('Silver', 0, 0, NULL, NULL, '', '', '', 'N;', 'N;', 'a:0:{}')

Filename: models/Country_state_city_model.php

Line Number: 171