Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 13117

Re: Log importer doesn't add anything in the DB

$
0
0
I get this when I try to import my log, 1st time I notice it to be honest:

"
2013/09/25 09:36:42 [error] 1924#0: *77 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to private method Piwik\Plugins\CoreVisualizations\Visualizations\Cloud::getCloudValues() from context '' in /var/www/piwik/plugins/CoreVisualizations/Visualizations/Cloud.php on line 71" while reading response header from upstream, client: ip, server: piwik.numer.gy, request: "POST /index.php?date=2013-09-24&module=VisitorInterest&action=getNumberOfVisitsPerVisitDuration&widget=1&idSite=1&period=day HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "piwik.numer.gy", referrer: "http://piwik.numer.gy/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday"

I think it's just that the command I ran failed (log importer). It doesn't happen every time.


Also:
cat /var/log/mysql/mysql.log | grep INSERT 
(10:56:02) Mergy:                    42 Prepare   INSERT INTO `piwik_option` (option_name, option_value, autoload)  VALUES (?, ?, ?)  ON DUPLICATE KEY UPDATE option_value = ?
(10:56:02) Mergy:                    42 Execute   INSERT INTO `piwik_option` (option_name, option_value, autoload)  VALUES ('InvalidatedOldReports_WebsiteIds', 'a:1:{i:0;s:1:\"1\";}', '0')  ON DUPLICATE KEY UPDATE option_value = 'a:1:{i:0;s:1:\"1\";}'


Also there are absolutly NO INSERT in database :(
What I think: if the script is using the API and so uses Nginx to access to MySQL, the Nginx conf might block the call to the API.
Does anyone have a working nginx conf please?

Viewing all articles
Browse latest Browse all 13117

Trending Articles