• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Piwik Geoip Configuration

Kingsley

Silver Pleskian
Hello;

I need help with setting up the geoip location for my piwik analytics. i have added the below

Code:
geoip.custom_directory = /var/www/vhosts/kraftysprouts.com/analytics.kraftysprouts.com/piwik/misc

to

Code:
/opt/plesk/php/7.0/etc/php.d/geoip.ini

now the site won't open, it generates HTTP ERROR 500

Thanks for your help
 
Code:
[Tue Nov 15 20:51:18.885268 2016] [proxy_fcgi:error] [pid 6810:tid 139930495870720] [client 154.120.107.176:44880] AH01071: Got error 'PHP message: PHP Fatal error:  Cannot redeclare geoip_country_code_by_addr() in /var/www/vhosts/kraftysprouts.com/analytics.kraftysprouts.com/piwik/libs/MaxMindGeoIP/geoip.inc on line 1709\n', referer: https://analytics.kraftysprouts.com/piwik/index.php?module=CoreAdminHome&action=generalSettings&idSite=1&period=day&date=yesterday
[Tue Nov 15 20:51:20.915220 2016] [proxy_fcgi:error] [pid 6811:tid 139930479085312] [client 154.120.107.176:44892] AH01071: Got error 'PHP message: PHP Fatal error:  Cannot redeclare geoip_country_code_by_addr() in /var/www/vhosts/kraftysprouts.com/analytics.kraftysprouts.com/piwik/libs/MaxMindGeoIP/geoip.inc on line 1709\n'
[Tue Nov 15 20:51:22.689745 2016] [proxy_fcgi:error] [pid 6810:tid 139930462299904] [client 154.120.107.176:44896] AH01071: Got error 'PHP message: PHP Fatal error:  Cannot redeclare geoip_country_code_by_addr() in /var/www/vhosts/kraftysprouts.com/analytics.kraftysprouts.com/piwik/libs/MaxMindGeoIP/geoip.inc on line 1709\n'
[Tue Nov 15 20:52:23.144840 2016] [proxy_fcgi:error] [pid 6811:tid 139930495870720] [client 154.120.107.176:44990] AH01071: Got error 'PHP message: PHP Fatal error:  Cannot redeclare geoip_country_code_by_addr() in /var/www/vhosts/kraftysprouts.com/analytics.kraftysprouts.com/piwik/libs/MaxMindGeoIP/geoip.inc on line 1709\n', referer: https://analytics.kraftysprouts.com/piwik/index.php?module=CoreAdminHome&action=generalSettings&idSite=1&period=day&date=yesterday
 
Back
Top