
GeoLocation2
MODX geodata — gl_* catalog, SxGeo, city picker modal, REST action.php


[[!GeoLocation2Initialize]] on the page?loadBootstrap=1 on Initialize)?data-gl2-open="1"?SxGeoCity.dat — CLI or Scheduler.gl_cities names: matching uses the catalog, not free text.127.0.0.1 SxGeo often returns nothing useful; test with a real IP or pick a city manually.Path: assets/components/geolocation2/vendor/sypexgeo/data/SxGeoCity.dat.
Run:
php assets/components/geolocation2/bin/update-sxgeo.phpor reinstall package assets.
csrf from action=state after reload.gl_cities in the manager or import CSV.action=search check query and active records in DB.modstore package: in Installer add provider modstore.pro → https://modstore.pro/extras/.
Set geolocation2_debug = 1, reproduce, check Manage → Error log. Set back to 0 on production.
Editing the catalog requires geolocation2_save for the user policy.