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

enableLinkTracking re-scan DOM after content changes

$
0
0

Hi,

The documentation recommends calling “enableLinkTracking” to re-scan the DOM after content containing new download links to track is added. However, when we call this, we get a console error:

“The method enableLinkTracking is registered more than once in “_paq” variable. Only the last call has an effect.”

Tracking appears to be correct, but we have customers complaining about the error message display.

Is there a way to have matomo re-scan the dom after content has been added via Ajax, specifically for download link tracking?

Thanks!

1 post - 1 participant

Read full topic


SecurityInfo/PhpSecInfo/Test/Test.php

$
0
0

WARNING: …/matomo/plugins/SecurityInfo/PhpSecInfo/Test/Test.php(571): Notice - Trying to access array offset on value of type bool - 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: SecurityInfo, Action: index, In CLI mode: false)

1 post - 1 participant

Read full topic

Every visit being duplicated

$
0
0

In our Matomo installation on a new site, every visit is being counted twice.
The original visit is to:
https://example.ca/
… and the duplicate visit is to:
https%3A%2F%2Fexample.ca%2F

The site is running Ghost Version 3.35.5
Matomo version: 4.1.1
MySQL version: 5.6.49
PHP version: 7.2.34
This duplication is on most or all visits, not just a few. I don’t know why it is happening or how to prevent it. Does anyone have a suggestion?

2 posts - 2 participants

Read full topic

Firefox 84 - PromiseError/SecurityError: The operation is insecure

$
0
0

Hi. We do JS error logging in our system and recently there are some new error messages that come from the matomo.js tracker.

We get, very few but noticable, error logs:
PromiseError/SecurityError: The operation is insecure.

Stacktrace show following line: matomo.js:66:276 - We have 4.1.0 installed.

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0

Unfortunetely i cannot reproduce this error.

Everything is running in https context, we have no insecure source on the pages where this errors happens. Also the domain where it is running is in trusted domains.

This error have been currently logged 3 times - Out of round about 1000 requests with this specific user agent in the last few weeks.

2 posts - 2 participants

Read full topic

A mixture of http and https in Matomo visit log

$
0
0

Hello everyone, I have an question about A mixture of http and https in Matomo visit log.
Our site has SSL certificate and there is no mixed content.Therefore, All of the URL are suppossed to be https.
But When I open the visit log in Matomo, I find some of the URL start with http. And i also found the following appearance.
When I mouse over the link that starts with ‘/abc/d’(without domain) , the detail shows the URL starts with http.
On the other hand,the link that starts with ‘www.example.com.com/abc/d’(with domain) will show the URL starts with https.

1 post - 1 participant

Read full topic

Matomo Setup highly Unstable

$
0
0

Hey guys

I’m having trouble with my matomo in my openshift. This matomo is rather unstable.

When I start the pod motomo runs fine for a short time (very short time). Then matomo starts to respond with http 504 regularly … eventualy beeing unable to process any request successfully and respond with 504 only.

My guess is that matomo tries (lots of) communication with the internet. My openshift is not allowed to communication with the internet. Could this be the cause of trouble?

What is the recommended setup for matomo in general and matomo in openshift in particular?

Best Regards
Sebastian

2 posts - 2 participants

Read full topic

Unique visitors to the website

$
0
0

Hello,

I wonder how I can see unique visitors to the website? I used to be able to access this under ‘Visitors’ -> ‘Overview’ but now I can only get this stat in the daily timeframe - any idea how I can access unique visits for a period over more than one day?

Many thanks!

3 posts - 2 participants

Read full topic

Unable to add more than 3 websites

$
0
0

Regardless if I try to add new sites to our account manually or with a script, I am getting an errant response that the account is limited to a maximum of 3 websites.

When I click view plans, it appears to be set up according to our agreement, however the error persists and we are unable to add sites at all.

4 posts - 2 participants

Read full topic


Install of Matomo on OctoberCMS/Laravel

$
0
0

I am new to Matomo and am trying to simply install it on the same server as my website. I’m running an Ubuntu 20.04.1 server and am using the default web root /var/www/html. When I download matomo to the folder using wget, I have matomo is now in the web root (e.g. /var/www/html/matomo exists and is populated with reasonable content). However, I can not find/access the page “mysite”.com/matomo. Is there something particular I need to do for the install with Laravel/OctoberCMS?

Thanks!

1 post - 1 participant

Read full topic

Undefined index in ArchivingDbAdapter

$
0
0

This showed up on my install today and I am following its instructions to post on the forum:

WARNING: core/DataAccess/ArchivingDbAdapter.php(46): Notice - Undefined index: archiving_query_max_execution_time - 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: Actions, Action: getPageUrls, Method: Actions.getPageUrls, In CLI mode: false)

1 post - 1 participant

Read full topic

Matomo updation to latest version - 4.1.1

$
0
0

Hi Team,
We have Matomo 3.14.1 running on my Production environment with php 7.4.13 & python 2.7.17. We are planning to update latest version 4.1.1.How we can differentiate b/n 3.x & 4.x versions ? From 4.0.0 release note we found that 4.0.0 requires php 7.2.5 & Python 3.x for log analytics. Is it necessary to move to those versions if we update to 4.1.1
Please help us on this.

1 post - 1 participant

Read full topic

New Chrome safety feature blocking /matomo.php CORB

$
0
0

Currently using cloud matomo

Info from Chrome

Seems calls to get https://****.matomo.cloud/matomo.php are failing on chrome due to a CORB error

matomo.js:35 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://****.matomo.cloud/matomo.php with MIME type application/json

Fix from google suggests

2 posts - 2 participants

Read full topic

Matomo is storing unprintable characters in the database

$
0
0

We are experiencing a rather unexpected error. We are exporting the Matomo log tables in order to import them into Teradata. Basically everything is working as designed. We did however noticed one of the columns, matomo_log_action.name, containing no printable characters. For instance we found “-” to be replaced by “0xE20x960x92”. Tracing back what caused this in the export files we found that the error is present in the Matomo database. Here is a sample select from our database that shows the error:

SELECT a.name
-> FROM piwik_log_visit v
-> INNER JOIN piwik_log_link_visit_action va ON v.idvisit = va.idvisit
-> INNER JOIN piwik_log_action a ON a.idaction = va.idaction_url
-> LEFT JOIN piwik_log_conversion c ON c.idvisit = v.idvisit
-> WHERE v.idvisit = 558906438;

±--------------------------------------------------------------------------------------+
| name |
±--------------------------------------------------------------------------------------+
| belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor▒ondernemers |
| belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor-ondernemers |
| https://mijnzakelijk.belastingdienst.nl/onp |
| belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor-ondernemers |
| belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor▒ondernemers |
| belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor-ondernemers |
| https://mijnzakelijk.belastingdienst.nl/onp |
| belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor-ondernemers |
| belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor▒ondernemers |
| belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor-ondernemers |
| https://mijnzakelijk.belastingdienst.nl/onp |
| belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor-ondernemers |
±--------------------------------------------------------------------------------------+

You may select the text “voor▒ondernemers” for inspection.

Obviously the URL belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor▒ondernemers does not exist.
Instead I checked belastingdienst.nl/wps/wcm/connect/nl/ondernemers/content/inloggen-voor-ondernemers which works.

If I check what Matomo pixels are loaded I find our two trackers:

https://pwa001.belastingdienst.nl/piwik/piwik.php?action_name=Inloggen%20voor%20ondernemers&idsite=3&rec=1&r=161946&h=12&m=23&s=37&url=https%3A%2F%2Fwww.belastingdienst.nl%2Fwps%2Fwcm%2Fconnect%2Fnl%2Fondernemers%2Fcontent%2Finloggen-voor-ondernemers&_id=ff5f6ab71e1803c6&_idts=1599726147&_idvc=13&_idn=0&_refts=1611055345&_viewts=1611055345&_ref=https%3A%2F%2Fwww.google.com%2F&send_image=1&pdf=1&qt=0&realp=0&wma=0&dir=0&fla=0&java=0&gears=0&ag=0&cookie=1&res=1536x864&dimension3=&cvar={"1"%3A["pageType"%2C"|bld-dv-content|"]%2C"2"%3A["filterTheme"%2C"|ondernemers|"]%2C"3"%3A["pageGoal"%2C"|niet_van_toepassing|"]%2C"4"%3A["pageAction"%2C"|not-chosen|"]}&gt_ms=39&pv_id=SKcwUI&fa_pv=1&fa_fp[0][fa_vid]=dbreHP&fa_fp[0][fa_fv]=1&fa_fp[1][fa_vid]=7yBo0y&fa_fp[1][fa_fv]=1&fa_fp[2][fa_vid]=v0OoZ3&fa_fp[2][fa_fv]=1

https://awa001.acc.belastingdienst.nl/piwik/piwik.php?action_name=Inloggen%20voor%20ondernemers&idsite=3&rec=1&r=917979&h=12&m=23&s=37&url=https%3A%2F%2Fwww.belastingdienst.nl%2Fwps%2Fwcm%2Fconnect%2Fnl%2Fondernemers%2Fcontent%2Finloggen-voor-ondernemers&_id=ff5f6ab71e1803c6&_idts=1599726147&_idvc=13&_idn=0&_refts=1611055345&_viewts=1611055345&_ref=https%3A%2F%2Fwww.google.com%2F&send_image=1&pdf=1&qt=0&realp=0&wma=0&dir=0&fla=0&java=0&gears=0&ag=0&cookie=1&res=1536x864&dimension3=&cvar={"1"%3A["pageType"%2C"|bld-dv-content|"]%2C"2"%3A["filterTheme"%2C"|ondernemers|"]%2C"3"%3A["pageGoal"%2C"|niet_van_toepassing|"]%2C"4"%3A["pageAction"%2C"|not-chosen|"]}&gt_ms=39&pv_id=A8PaGu&fa_pv=1&fa_fp[0][fa_vid]=dbreHP&fa_fp[0][fa_fv]=1&fa_fp[1][fa_vid]=7yBo0y&fa_fp[1][fa_fv]=1&fa_fp[2][fa_vid]=v0OoZ3&fa_fp[2][fa_fv]=1

It seems the tracker is sending the correct request with the URL correct. From all of this I gather somewhere in the process of registering the call into the database things go wrong and the URL gets distorted.

My question now is: Have you ever seen this error before? What can we do to fix it?

1 post - 1 participant

Read full topic

Archiving of newly created segments since Matomo 4

$
0
0

Hello, since the update to Matomo 4, we are confronted with a behaviour that i tried to get my hands on for the last few weeks now.

After the update to Matomo 4, a newly created segment does not get archived from “beginning_of_time” by the daily cronjob as it should be. The report only contains fresh data from yesterday, but not before. Since we have roughly about 2 years of raw log data, it would be nice to have this included within the new segment report aswell.

To my understanding, the setting process_new_segments_from = “beginning_of_time” withing the global.ini.php should do exactly this, but it looks like the setting is ignored altogether. I also tried to use process_new_segments_from = “last750” but the behaviour stays the same, no historical data within the report of new segments.

I then tried to invalidate the website reports altogether and regenerate them, but no success. I then tried to delete the report tables from the database (dropping tables matomo_archive_numeric_Y and matomo_archive_blob_Y). The next cronjob successfully regenerates the basic report for the website id with the historical data from the last 2 years but again, existing segments and new segments only contain data since “yesterday”.

It is slowly driving me crazy, because it looks very much like it is a bug in Matomo 4. But well, i seem to be the only person with this problem so far.

1 post - 1 participant

Read full topic

'Server has gone away' error 3.5.1

$
0
0

Hi there,

I’m trying to run a report to find average time spent on an Intranet page. When I run the report I receive the following message:
WARNING: /data/www/vhosts/piwik/core/Tracker/Db/Pdo/Mysql.php(231): Warning - PDOStatement::execute(): MySQL server has gone away - Matomo 3.5.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)

Has anybody had a similar problem / found a fix?

Thanks

2 posts - 2 participants

Read full topic


SQL injection in cgi scripts

$
0
0

our health check flags this for matomo 3. Is it fixed in 4 or mitigated ?

Using the GET HTTP method, Nessus found that :+ The following resources may be vulnerable to blind SQL injection :+ The ‘action’ parameter of the /index.php CGI :/index.php?

1 post - 1 participant

Read full topic

Transitions Fails with Http 406

$
0
0

Behavior --> Transitions fails every time for my site

I see this POST transaction failing with a 406 not acceptable error
POST https://behunt.net/pi1226/index.php?date=today&actionType=url&actionName=http://behunt.net/&expanded=1&format=JSON&module=API&method=Transitions.getTransitionsForAction&filter_limit=-1&idSite=1&period=month

My site does use HTTPS and does have a rewrite rule in .htaccess to force transactions to HTTPS, is this the issue? If not, what else should I be looking at?

RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://behunt.net/$1 [R=301,L]

Matomo ver 4.1.0

3 posts - 2 participants

Read full topic

Error on archiving process

$
0
0

Hi,

since I upgrade Matomo to 4.1 version, the archiving schedule task are returning error when try to archiving some segments, reports and plugins. Here is the error message:

ERROR [2021-01-19 15:18:36] 2432 Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2021-01-18&format=json&segment=deviceType%3D%3Ddesktop&trigger=archivephp: '<!DOCT 'set>roblem with the resource you are looking for, and it cannot be displayed.-serif;color:#FFF;

ERROR [2021-01-19 15:23:38] 2432 Got invalid response from API request: ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2021-01-16&format=json&plugin=UsersFlow&trigger=archivephp&pluginOnly=1. Response was '<!DO 'set>roblem with the resource you are looking for, and it cannot be displayed.-serif;color:#FFF;

Since them I just added Premium plugins to Matomo instance and last Monday I upgraded Matomo to version 4.1.1. My Matomo instance are running in IIS 10, PHP 7.4.14 and MySql 8.

Any ideas on how to remedy this?

Thank you
Oswaldo

2 posts - 2 participants

Read full topic

Matomo Site Search is not tracking any data

$
0
0

Hello Team,
We have Matomo 3.14.1 version running on the Production environment. Earlier we haven’t noticed “Site Search” was working or not. But after upgradation we come to know it’s not tracking any data. We went through some Matomo documents & tried to enable from UI as well as with Java Script, still not enabled properly. We are sharing screen shots as well.
Document referred : https://developer.matomo.org/guides/tracking-javascript-guide#internal-search-tracking
Code:
_paq.push([‘trackSiteSearch’,‘keyword’,‘category’,‘search_count’]);

Just included this script & enabled from UI as well.

2 posts - 2 participants

Read full topic

Problem Configuring Matomo 4.1.0 on Windows Server 2016/IIS10

$
0
0

I’m in the priocess of installing Matomo 4.1.0 on a new server running Windows server 2016 and IIS 10.

The installation of Matomo, MySQL and PHP all went smoothly. I now have the following versions of these products running on the server:

Matomo 4.1.0
MySql 8.0.22 Community
PHP 7.4.13

I checked the config folder after installing all the components and I found these three files:

  1. global.ini.php
  2. global.php
  3. manifest.inc.php

After checking the contents of the config folder, I accessed the site using Chrome and it brought me to the Welcome! screen with the 8-step configuration process. So far, so good. However, when I click 'Next; to start the process, I don’t receive any prompts to provide configuration information. Instead I receive either of these two errors:

  1. Fatal error: Maximum execution time of 30 seconds exceeded in F:\Matomo\core\Filesystem.php on line 184 Matomo encountered an error: Maximum execution time of 30 seconds exceeded (which lead to: SQLSTATE[HY000] [1045] Access denied for user ‘’@‘localhost’ (using password: NO))*

  2. Fatal error: Maximum execution time of 30 seconds exceeded in F:\Matomo\libs\upgradephp\upgrade.php on line 260*
    Matomo encountered an error: Maximum execution time of 30 seconds exceeded (which lead to: SQLSTATE[HY000] [1045] Access denied for user ‘’@‘localhost’ (using password: NO))

It looks like the config process is skipping past the mySQL configuration screen(s) and then tries to logon to MySQL using a blank user which – of course – fails.

I should note that after attempting to to run the Matomo configuration process a few times, i again checked the config folder. It still has the same three files. No config.ini.php file was created.

Any assistance with this problem would be greatly appreciated.

-Jeff

1 post - 1 participant

Read full topic

Viewing all 5847 articles
Browse latest View live