Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all 5845 articles
Browse latest View live

Setting ignore cookie fails due to wrong arguments

$
0
0

Setting the ignore cookie fails, apparently due to the wrong data format passed to gmdate:
WARNING: //piwik/core/Cookie.php(155): Warning - gmdate() expects parameter 2 to be integer, float given - Matomo 4.1.1 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: UsersManager, Action: setIgnoreCookie, In CLI mode: false)
PHP is at 7.2.34.

2 posts - 2 participants

Read full topic


New bug on update

$
0
0

Hi, I updated Matomo yesterday. on Dashboard after update Visits Overview and Channel Type and Map shows one period previous of whatever Time period I select as default. Notice I had set Today as default before the update.

1 post - 1 participant

Read full topic

How to scheduler remove matomo.log file

$
0
0

hi, may know how I can set up remove matomo.log file at /var/www/html/matomo/tmp/logs

now the file is growing until 20GB.

thanks.

1 post - 1 participant

Read full topic

Authorisation of Google Analytics Importer fail: "Could not verify the security token on this form."

$
0
0

Hello,

I have been following this guide in order to setup the google analytics importer. Everything went smoothly until it came to actually authorising the importer. After clicking the “Authorise” button it takes me to the Google log in page as expected. However, after logging in and getting redirected back at https://matomo.my-domain.com I get the error “Could not verify the security token on this form.”

I tried searching up this issue and I found some suggestions that this issue could just be fixed by waiting and trying again. However, I have been re-trying this all throughout the day and it is consistently failing.

This may be unrelated, but I am also getting the error “The uploaded file couldn’t be processed. Please check if the file has a valid format.” when I try to upload a custom logo or favicon.

Any help would be appreciated.
Thanks,
~Paddy L.

1 post - 1 participant

Read full topic

Issue after website migration

$
0
0

Hello,

I recently migrated a website to a new domain, and now Matomo is not working anymore on my new domain. I did do some troubleshooting (build-in into the plugin) and got these two orange errors:

|Other functions|
warning|
shell_exec
You need to enable this built-in function.
set_time_limit
mail
parse_ini_file
glob
gzopen

md5_file

Proxy header
HTTP_X_FORWARDED_FOR
A proxy header is set which means you maybe need to configure a proxy header in the Advanced settings to make location reporting work. If the location in your reports is detected correctly, you can ignore this warning. Learn more: https://matomo.org/faq/wordpress/how-do-i-fix-the-proxy-header-warning-in-the-matomo-for-wordpress-system-report/

Can someone help me out? I am not so technical, so I have no idea how to solve this.

Thanks already, Jip

1 post - 1 participant

Read full topic

"Force tracking without cookies" and upgrading Matomo

$
0
0

Our site is using the “Force tracking without cookies”, which says:

Enabling this option will automatically update matomo.js, so it contains some additional code to ensure all trackers won’t use cookies. Additionally Matomo will ignore all tracking cookies on server side.

Cookies will be disabled even when using the consent methods in Matomo tracker and calling for example the cookie consent methods won’t enable cookies.

When installing a new version of Matomo, the previous versions of matomo.js and piwik.js get overwritten by the files that ship in the downloaded tarball. I ran /var/www/matomo/console core:update, but there were no migrations.

My concern is that the help text says that enabling that feature changes the JS files, but Matomo might not know to change it again after this upgrade. Are any further steps necessary?

Thanks! : )

1 post - 1 participant

Read full topic

Doing Post deploy test and getting Error 500 0 0 93

$
0
0

I am going through the post deployment checks on a Windows 2016 Server install where you check to make sure the below files are accessible…
○ /matomo.php and /piwik.php
○ /matomo.js and /piwik.js
○ /js/tracker.php
○ /js/container_*.js
○ /plugins/HeatmapSessionRecording/configs.php

The .js files are accessible but none of the .php files are working.
Below is the IIS log entry…
2021-02-03 17:39:07 xxx.xxx.2xxx.xxx GET /analytics/matomo.php - 443 - yyy.yyy.yyy.yyy Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/88.0.4324.104+Safari/537.36 - 500 0 0 93

The strange part is the files in the same directory work…

2021-02-03 17:38:48 xxx.xxx.xxx.xxx GET /analytics/robots.txt - 443 - yyy.yyy.yyy.yyy Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/88.0.4324.104+Safari/537.36 - 200 0 0 1
2021-02-03 17:38:54 xxx.xxx.xxx.xxx POST /analytics/index.php date=yesterday&module=Live&action=getLastVisitsStart&idSite=1&period=day 443 - yyy.yyy.yyy.yyy Mozilla/5.0+(Windows+NT+10.0;+WOW64;+Trident/7.0;+Touch;+rv:11.0)+like+Gecko https://matomo..com/analytics/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday 200 0 0 298

Even the .js files work. The .php files are failing.
Any ideas?

Thanks

1 post - 1 participant

Read full topic

Mysqli statement execute error : Duplicate entry - key "PRIMARY" - In query: INSERT INTO matomo_log_form_field

$
0
0

I get a “Duplicate entry” error in the php_errors.log at the same time my platform goes into throwing many HTTP 500 errors.
Error excerpt:
“Error in Matomo (tracker): Error query: Mysqli statement execute error : Duplicate entry ‘4760532-ctl00$ContentPlaceHolder1$Surveydetails1$gvSurvey$ctl02$’ for key ‘PRIMARY’ In query: INSERT INTO matomo_log_form_field …”
We are running Matomo version: 3.13.5; MySQL version: 5.7.29; PHP version: 7.3.23.
A few days ago we migrated our system from dedicated servers to cloud. Runs good most of the time except after this error. We are not yet doing any deletion of raw data or aggregate data.
Will doing aging on raw and/or aggregate data help this? Or do I need some SQL to fix this in some way?
I can attach full error if that would be helpful.
Thanks,

1 post - 1 participant

Read full topic


Email Reports to Outlook.com

$
0
0

Email Reports from Matomo will go to GMail, Yahoo!, and AOL, but not to Outlook Live. I can only assume this is a problem with how Microsoft has their webmail service configured. Email from the Matomo Forum (forum [at] matomo [dot] org) to Outlook Live goes to Junk by default, but I did get the confirmation email for Matomo Forum.

Is there a way to configure Matomo to send reports from a custom (real) email address instead of < noreply@domainname > ? I figure that might bypass any spam blocks set up for Outlook Live.

1 post - 1 participant

Read full topic

API.getBulkRequest returns null with callback Parameter

$
0
0

Hi,

when I use the getBulkRequest Method with Matomo 4.1.1 and append the &callback or &jsoncallback Parameter, the array values in the response will always be null. This used to work with matomo 3.14.0

Example URL:

/?module=API
&method=API.getBulkRequest
&format=json
&token_auth=xxxx
&urls[0]=method=VisitsSummary.getVisits
&jsoncallback=ng_jsonp_callback_0
&idSite=6

Example Response:
ng_jsonp_callback_0([null])

Thanks for your support,
Patrick

2 posts - 2 participants

Read full topic

Only able to Access Real-Time Data

$
0
0

Not sure why this occurring, but as the title suggests, I am able to view real-time data of where a user is going throughout my page. However, in virtually every other tab (Visits Log, Overview) on Matomo, I receive the message “There is no data for this report.” For some context, I set this up roughly a few hours ago.

2 posts - 2 participants

Read full topic

Visit type returningCustomer w/o commerce setup

$
0
0

I’m curious how/when visit type is recorded as ‘returningCustomer’.

I have a site whose new and returning segments weren’t adding up to the total visits. I found out that some visits are being recorded as returningCustomer, and that seems to fill the gap. And although the site does indeed sell products, we’ve never set up the Ecommerce portion of Matomo. All Ecommerce reports/logs are zeros.

1 post - 1 participant

Read full topic

Error when running tests on localhost install

$
0
0

I have a new local install. It appears to be functioning correctly aside from me being unable to run the tests successfully. I installed Matomo by cloning the git repo then using the Matomo Installation Welcome Screen to walk through the installation process.

./console tests:run results in the following

Executing command: cd /var/www/html/matomo/tests/PHPUnit &&  /var/www/html/matomo/vendor/bin/phpunit   --testsuite UnitTests
sh: 1: /var/www/html/matomo/vendor/bin/phpunit: not found

Executing command: cd /var/www/html/matomo/tests/PHPUnit &&  /var/www/html/matomo/vendor/bin/phpunit   --testsuite IntegrationTests
sh: 1: /var/www/html/matomo/vendor/bin/phpunit: not found

Executing command: cd /var/www/html/matomo/tests/PHPUnit &&  /var/www/html/matomo/vendor/bin/phpunit   --testsuite SystemTests
sh: 1: /var/www/html/matomo/vendor/bin/phpunit: not found

Executing command: cd /var/www/html/matomo/tests/PHPUnit &&  /var/www/html/matomo/vendor/bin/phpunit   --testsuite PluginTests
sh: 1: /var/www/html/matomo/vendor/bin/phpunit: not found

vendor/bin contains ‘lessc’ but nothing else.

I had the thought that ‘composer install’ might help however that results in this error.

In ArrayLoader.php line 44:
                                                                                                                                                
  Unknown package has no name defined ([{"name":"composer\/ca-bundle","version":"1.2.8","version_normalized":"1.2.8.0","source":{"type":"git",  
  "url":"https:\/\/github.com\/composer\/ca-bundle.git","reference":"8a7ecad675253e4654ea055052332853....

That error output goes on much longer.

I do have phpunit already available on this machine however the test runner appears to require phpunit to exist at vendor/bin specifically. Any tips would be greatly appreciated. I suspect I am probably missing something obvious.

4 posts - 2 participants

Read full topic

C# Client and Unity

$
0
0

Hello everyone!
I am currently trying to add analytics functionality to a Unity app. For that I am trying to use the C# client found here: https://github.com/matomo-org/piwik-dotnet-tracker

However I can not get it to work and I am really missing some documentation here. Has anyone managed to use it there and can give me an introduction on what to do?
I am using Matomo-Version 4.1.1

1 post - 1 participant

Read full topic

Web & API response 504


ALB Sticky Sessions or a working MATOMO_GENERAL_SALT ? Containerized environment

$
0
0

Hi, I’ve got Matomo configured completely headless inside a docker container that runs on AWS ECS with an AWS Application load balancer in front of it. I’m running two containers in a load balanced environment. Hopefully more some day.

I was consistently giving me errors logging in until I learned that config.ini.php were not the same. The differing line was the “salt”. So I ssh’d thru my bastion, to my ECS host, and used docker exec to get a bash prompt. Then with a bit of finagling I was able to make both salts the same. After that the errors went away, terrific.

With more reading, I learned that Matomo has a convention where you can create ENV Vars of the pattern MATOMO_$CONFIG-SECTION_$CONFIG-PARAMETER, so I was hopeful that I could create MATOMO_GENERAL_SALT with a long secret string and have the same salt on all instances.

I tried this. It didn’t set them the same. :(. Can someone help me understand what order stuff like this gets set in, and why it might not have been set?

Soo, if that doesn’t work, or isn’t supposed to work, my next option is to enable sticky sessions in the ALB listener rule which “should work” but I want to ask you folks before I go about doing that.

Advice? Thanks.

1 post - 1 participant

Read full topic

Precidence of Environment Variables

$
0
0

It seems to me that the values contained within environment variables are only used upon the initial setup, and then after that are just missed or not used. Am I correct?

Is their documentation about this somewhere?

1 post - 1 participant

Read full topic

Apache Issue with Docker

$
0
0

I’m running Marino in a docker and have it setup successfully with MariaDB however it won’t launch due to something wrong with the Apache server. Any ideas?

[38;5;6mmatomo [38;5;5m21:53:01.96 [0m
[38;5;6mmatomo [38;5;5m21:53:01.97 [0m[1mWelcome to the Bitnami matomo container[0m
[38;5;6mmatomo [38;5;5m21:53:01.97 [0mSubscribe to project updates by watching [1mhttps://github.com/bitnami/bitnami-docker-matomo[0m
[38;5;6mmatomo [38;5;5m21:53:01.97 [0mSubmit issues and feature requests at [1mhttps://github.com/bitnami/bitnami-docker-matomo/issues[0m
[38;5;6mmatomo [38;5;5m21:53:01.97 [0m
[38;5;6mmatomo [38;5;5m21:53:01.98 [0m[38;5;2mINFO [0m ==> ** Starting Matomo setup **
[38;5;6mmatomo [38;5;5m21:53:02.05 [0m[38;5;2mINFO [0m ==> Configuring PHP options
[38;5;6mmatomo [38;5;5m21:53:02.05 [0m[38;5;2mINFO [0m ==> Setting PHP memory_limit option
[38;5;6mmatomo [38;5;5m21:53:02.09 [0m[38;5;2mINFO [0m ==> Validating settings in MYSQL_CLIENT_* env vars
[38;5;6mmatomo [38;5;5m21:53:02.22 [0m[38;5;2mINFO [0m ==> Persisted Matomo installation detected
[38;5;6mmatomo [38;5;5m21:53:02.22 [0m[38;5;2mINFO [0m ==> Updating default plugins in persisted data
[38;5;6mmatomo [38;5;5m21:53:10.68 [0m[38;5;2mINFO [0m ==> Restoring Matomo installation
[38;5;6mmatomo [38;5;5m21:53:11.31 [0m[38;5;2mINFO [0m ==> Trying to connect to the database server
[38;5;6mmatomo [38;5;5m21:53:11.40 [0m[38;5;2mINFO [0m ==> Launching schema update

Everything is already up to date.

[38;5;6mmatomo [38;5;5m21:53:12.99 [0m[38;5;3mWARN [0m ==> Skipping cron configuration for Matomo because of running as a non-root user
[38;5;6mmatomo [38;5;5m21:53:12.99 [0m[38;5;2mINFO [0m ==> ** Matomo setup finished! **

[38;5;6mmatomo [38;5;5m21:53:13.01 [0m[38;5;3mWARN [0m ==> Cron will not be started because of running as a non-root user
[38;5;6mmatomo [38;5;5m21:53:13.02 [0m[38;5;2mINFO [0m ==> ** Starting Apache **
[Thu Feb 04 21:53:13.120161 2021] [ssl:warn] [pid 1] AH01909: www.example.com:8443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 04 21:53:13.120671 2021] [ssl:warn] [pid 1] AH01909: www.example.com:8443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 04 21:53:13.155464 2021] [ssl:warn] [pid 1] AH01909: www.example.com:8443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 04 21:53:13.155859 2021] [ssl:warn] [pid 1] AH01909: www.example.com:8443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 04 21:53:13.174031 2021] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.46 (Unix) OpenSSL/1.1.1d PHP/7.3.27 configured – resuming normal operations
[Thu Feb 04 21:53:13.174068 2021] [core:notice] [pid 1] AH00094: Command line: ‘/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf -D FOREGROUND’
200.200.1.101 - - [04/Feb/2021:21:53:20 +0000] “\x16\x03\x01\x02” 400 226
200.200.1.101 - - [04/Feb/2021:21:53:20 +0000] “\x16\x03\x01\x02” 400 226
200.200.1.101 - - [04/Feb/2021:21:53:20 +0000] “\x16\x03\x01\x02” 400 226
200.200.1.101 - - [04/Feb/2021:21:53:20 +0000] “\x16\x03\x01\x02” 400 226
200.200.1.101 - - [04/Feb/2021:21:58:31 +0000] “\x16\x03\x01\x02” 400 226
200.200.1.101 - - [04/Feb/2021:21:58:31 +0000] “\x16\x03\x01\x02” 400 226
200.200.1.101 - - [04/Feb/2021:22:34:15 +0000] “\x16\x03\x01\x02” 400 226
200.200.1.101 - - [04/Feb/2021:22:34:15 +0000] “\x16\x03\x01\x02” 400 226

1 post - 1 participant

Read full topic

Can't choose different date ranges for each dashboard

$
0
0

Not sure if this is a bug. But I’ve got several dashboards and I want to set different dates for each of them. Matomo only allows me one selection for all dashboards though.

1 post - 1 participant

Read full topic

Goals don't record data

$
0
0

After having succesfully installed different tags and triggers, I wanted to instal some goals.
Though, when I link these goals to events, they don’t record any data.
I’ve tried a lot of different variations in events, names, categories etc.

Next to connecting goals to tags, the goals connected to URL’s don’t seem to work either…

Is there someone who could help me with this? Do I have to change something in the configuration or anything?

1 post - 1 participant

Read full topic

Viewing all 5845 articles
Browse latest View live