• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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