April 18, 2011, 5:05am
I have updated to Piwik 1.3 after the now usual database upgrade problems, see
PIWIK 1.3 db upgrade problem
we are now getting an error when running geoipUpdateRows.php from the browser
Fatal error: Call to undefined function _parse_ini_file() in
example.com/analytics/piwik/core/Config.php on line 373
I have the same problem after I make the update.
April 18, 2011, 1:05pm
Apply this patch to plugins/GeoIP/misc/geoipUpdateRows.php. (I’ve uploaded an updated .zip package to the ticket in Trac.)
--- geoipUpdateRows.php (revision 51)
+++ geoipUpdateRows.php (working copy)
@@ -20,8 +20,8 @@
. PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/libs'
. PATH_SEPARATOR . PIWIK_INCLUDE_PATH . '/plugins');
+require_once PIWIK_INCLUDE_PATH . '/libs/upgradephp/upgrade.php';
require_once PIWIK_INCLUDE_PATH . '/core/testMinimumPhpVersion.php';
require_once PIWIK_INCLUDE_PATH . '/core/Loader.php';
$GLOBALS['PIWIK_TRACKER_DEBUG'] = false;
If got the same error and I add the line above to the php file and now I get:
Cannot redeclare geoip_country_code_by_name() in ../plugins/GeoIP/libs/geoip.inc on line 347
April 19, 2011, 11:43pm
Please try the updated plugin in ticket
Please try the updated plugin in ticket #45.[/quote]
I´ve updated the plugin with
Ticket #45 but the error still occures :(.
October 18, 2011, 10:04am
I get a blank page using ff v7.0.1
I have upgraded to piwik 1.6 and geoip plugin to v0.18 about an hour ago.
I had the same problem with previous versions.
I turned display_errors = On in php.ini but still no error message, maybe I got to wait a lot longer for apache to refresh, but still something is wrong there.
any ideas why ?
thanks alot, cheers.
October 21, 2012, 12:30pm
Good news: GeoIP is now integrated in Piwik, enabling Accurate Visitors Geolocation in your Analytics reports. To enable GeoIP go to the Settings > Geolocation admin page, and follow the short instructions.
You can also get an even more
accurate Country & City Database from here to enjoy top accuracy in detecting your visitors locations.
See also the documentation about
Geolocation - Analytics Reports in Piwik.
October 22, 2012, 10:23pm
Yeap, thanks matt and all the team, it works great as integrated, already removed the old stuff.
The link you gave is “The page isn’t redirecting properly” but I guess it is about geolite city ? this is the one I use in piwik.
By the way, the worldmap I think still shows only countries right ?
cheers and congrats (always)