How can I disable GeoIPoesn't work anymore :

Hi,

As I don’t have the GeoIP extension installed and I don’t want to install it, how can I disable it ?

The reason is that, since upgrade to 1.9, the import_log.py script fails with the following error:

Fatal error:

Fatal error: Class ‘Piwik_UserCountry_LocationProvider’ not found in /opt/lampp/htdocs/piwik_1.9/core/Tracker/Visit.php on line 609

Maybe the “UserCountry” plugin is disabled ? you dont need to setup GeoIP but indeed, I notice a bug that the tracking will fail if UserCountry plugin is disabled

Hi,

I have the exact same problem as the OP.
Though I do have the UserCountry plugin enabled.

Any other hints/workarounds?

Hello Matt,

Activating the UserCountry Plugin fixed my problem.

Thanks you for your help.

For me it doesn’t help, as said the UserCountry plugin is enabled.

In case it might help, here is my list of enabled plugins:

[PluginsInstalled]
PluginsInstalled[] = "Actions"
PluginsInstalled[] = "AdminOverview"
PluginsInstalled[] = "API"
PluginsInstalled[] = "CoreAdminHome"
PluginsInstalled[] = "CoreHome"
PluginsInstalled[] = "CorePluginsAdmin"
PluginsInstalled[] = "CoreUpdater"
PluginsInstalled[] = "CustomVariables"
PluginsInstalled[] = "Dashboard"
PluginsInstalled[] = "DoNotTrack"
PluginsInstalled[] = "ExampleAPI"
PluginsInstalled[] = "ExampleFeedburner"
PluginsInstalled[] = "ExamplePlugin"
PluginsInstalled[] = "ExampleRssWidget"
PluginsInstalled[] = "Feedback"
PluginsInstalled[] = "Goals"
PluginsInstalled[] = "ImageGraph"
PluginsInstalled[] = "Installation"
PluginsInstalled[] = "LanguagesManager"
PluginsInstalled[] = "Live"
PluginsInstalled[] = "Login"
PluginsInstalled[] = "MultiSites"
PluginsInstalled[] = "PDFReports"
PluginsInstalled[] = "PrivacyManager"
PluginsInstalled[] = "Provider"
PluginsInstalled[] = "Proxy"
PluginsInstalled[] = "Referers"
PluginsInstalled[] = "SEO"
PluginsInstalled[] = "SitesManager"
PluginsInstalled[] = "Transitions"
PluginsInstalled[] = "UserCountry"
PluginsInstalled[] = "UserCountryMap"
PluginsInstalled[] = "UserSettings"
PluginsInstalled[] = "UsersManager"
PluginsInstalled[] = "VisitFrequency"
PluginsInstalled[] = "VisitorInterest"
PluginsInstalled[] = "VisitsSummary"
PluginsInstalled[] = "VisitTime"
PluginsInstalled[] = “Widgetize”

One more information in case it might be of any help: I’m using the GeoIP (PECL) variant.

Same problem here. I use a plain vanilla piwik installation for some time and tried to upgrade it to piwik 1.9.

Nothing has been counted since then. I’m getting the same fatal error on every request.

I have exactly the same problem - plain vanilla piwik installation and no new stats since I upgraded to 1.9. Logs show errors like:

[17-Oct-2012 18:06:38 UTC] PHP Fatal error: Class ‘Piwik_UserCountry_LocationProvider’ not found in /web/content/core/Tracker/Visit.php on line 609

Interestingly, when a plugin (any plugin) is activated or deactivated or some settings change, I see a visit reflected from one of the frequently visited sites I am tracking. The entire visit continues to be tracked, though no other visits from other unique visitors are reflected in Piwik.

[quote=JerryWho]
Same problem here. I use a plain vanilla piwik installation for some time and tried to upgrade it to piwik 1.9.

Nothing has been counted since then. I’m getting the same fatal error on every request.[/quote]

It seems our problem was also reported at:

Same problem, i have resolved the problem temporarly by adding this two line at the beggining of the file core/Tracker/Visit.php :

require_once PIWIK_INCLUDE_PATH . “/plugins/UserCountry/LocationProvider.php”;
require_once PIWIK_INCLUDE_PATH . “/plugins/UserCountry/UserCountry.php”;

The plugin is already enabled. I have upgraded the piwik installation from the site.

Worked for me. Country shows as Unknown, though.

We will release a new version in the next few days with the fix, sorry about that!

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.

I’ve upgraded to 1.9.1 today and everything seemed to work properly.
But suddenly I get the same error again.
Anybody has the same problem?

which error ?