danielsreichenbach / geoip2-update

Update Maxmind.com GeoIP2/GeoLite2 databases from your php script, application or via Composer.
MIT License
7 stars 2 forks source link

You must specify your Maxmind "account_id" #1

Open juangws opened 1 month ago

juangws commented 1 month ago

composer: danielsreichenbach\GeoIP2Update\ComposerClient::run GeoIP2 database update errors:

fix Client.php - LINE 109 Code if (preg_match('/^\s(?PLicenseKey|EditionIDs) ... change if (preg_match('/^\s(?PAccountID|LicenseKey|EditionIDs) ...

fix Client.php - LINE 117 Code $this->account_id = !empty($confParams['AccountId']) ? $confParams['AccountId'] ... change $this->account_id = !empty($confParams['AccountID']) ? $confParams['AccountID']

dgaidula commented 4 weeks ago

Putting this here for visibility. Just verified this fix. Can we get this merged? Thx.

juangws commented 2 weeks ago

Putting this here for visibility. Just verified this fix. Can we get this merged? Thx.

OK.