Log analytic error : help needed


#1

I m accessing piwik through locally on WAMP
for log analysis i used the following command
C:>python C:\wamp\www\piwik\misc\log-analytics\import_logs.py --url=http://localhost:6611 access.log

but got this error
Fatal error: We couldn’t detect PHP. It might help to add your php.exe to the path or alternatively run the importer using the --login and --password option


#2

LOL !! what was that !! well I ve got another problem and it would really nice of you, if you can help me out. Right I ve changed my platform to Ubuntu 12.04 lts , Now when I log in to piwik it shows
There is an error. Please report the message (Piwik 2.4.1) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/piwik/core/Http.php on line 406

any idea ??


(Matthieu Aubry) #3

@ADSR it maybe a bug on windows that we do not detect PHP path properly. PLease add PHP path to your windows PATH