#95 closed task (fixed)

Piwik 3.0.0

Reported by: chris Owned by: chris
Priority: major Milestone: Maintenance
Component: piwik Version:
Keywords: Cc:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 1

Description

Change History (1)

comment:1 Changed 20 months ago by chris

  • Add Hours to Ticket changed from 0 to 1
  • Resolution set to fixed
  • Status changed from new to closed
  • Total Hours set to 1

Following Piwik:

sudo -i
cd /var/www
vi piwik/config/config.ini.php
export PIWIK="3.0.0"
wget "https://builds.piwik.org/piwik-$PIWIK.tar.gz"
wget "https://builds.piwik.org/piwik-$PIWIK.tar.gz.asc"
gpg --verify piwik-$PIWIK.tar.gz.asc
cp piwik/config/config.ini.php .
tar -zxvf piwik-$PIWIK.tar.gz
cp config.ini.php piwik/config/
chown -R piwik:piwik /var/www/piwik/
php /var/www/piwik/console core:update

Checking the web interface the "System Check" generates errors like the following (and displays a blank page):

[Mon Jan 09 11:37:18.352300 2017] [:error] [pid 32469] [client XX.XX.XX.XX:58739] PHP Fatal error:  Cannot redeclare class Piwik\\Plugins\\UserCountry\\LocationProvider\\DefaultProvider in /var/www/piwik/plugins/UserCountry/LocationProvider/Default.php on line 0, referer: https://www.crin.org/fr/biblioth%C3%A8que/publications/les-droits-des-enfants-et-la-liberte-dexpression

However after disabling the geolocation plugins the system check works OK, but there is still this issue, ticket:93#comment:1 and when UserCountry or UserCountryMap plugins are enabled then the Geolocation page is blank again and the errors start appearing in the logs.

There is a ticker for this issue:

That suggests:

rm plugins/CorePluginsAdmin/Tasks.php
rm plugins/UserCountry/LocationProvider/Default.php

And that solved the issue, closing.

Note: See TracTickets for help on using tickets.