Error running php ./geoipUpdateRows.php [SOLVED]


#1

PHP Fatal error: Class ‘Piwik\Config’ not found in /misc/others/cli-script-bootstrap.php on line 35

Running this based on How do I apply accurate geolocation to old visits, tracked before I enabled geo location? - Analytics Platform - Matomo

I’m on piwik 2.7.


#2

Hi @IanKelling, if you replace the misc/others/cli-script-bootstrap.php file with this one it should work: https://raw.githubusercontent.com/piwik/piwik/master/misc/others/cli-script-bootstrap.php


#3

That did it. Thanks.