I got a GeoIP related problem. The whole archiving goes perfect except for a single error.
Piwik 1.12
PHP 5.3 , memory 512M
GeoIP PECL from https://github.com/Zakay/geoip
MySQL 5.5
Apache Error log :
[error] [client 123.45.678.9] PHP Fatal error: Cannot redeclare geoip_country_code_by_addr() in /soft/data/web/stats/piwik/libs/MaxMindGeoIP/geoip.inc on line 523
Log from archive.php Cron job :
ERROR: Got invalid response from API request: http://123.45.678.9/index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=XXXX&trigger=archivephp. The response was empty.
In fact the empty response is a 500 error.
Any hint ?
Maybe I should comment something in piwik/libs/MaxMindGeoIP/geoip.inc ?
Dali
Piwik 1.12
PHP 5.3 , memory 512M
GeoIP PECL from https://github.com/Zakay/geoip
MySQL 5.5
Apache Error log :
[error] [client 123.45.678.9] PHP Fatal error: Cannot redeclare geoip_country_code_by_addr() in /soft/data/web/stats/piwik/libs/MaxMindGeoIP/geoip.inc on line 523
Log from archive.php Cron job :
ERROR: Got invalid response from API request: http://123.45.678.9/index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=XXXX&trigger=archivephp. The response was empty.
In fact the empty response is a 500 error.
Any hint ?
Maybe I should comment something in piwik/libs/MaxMindGeoIP/geoip.inc ?
Dali