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

Segment filters only work when first saved after upgrade to version 3.0.1

$
0
0

@jyellen wrote:

I have a number of saved segments that I use to filter my visitor log by client. After the upgrade my segment filters stopped returning results. I recreated a few of them from scratch and they worked the first time I saved/applied them. The next day I opened the filters however, they didn't return results again. Recreating them a second time caused them to filter properly again. Any ideas on what my be causing this?

Posts: 1

Participants: 1

Read full topic


Database Name is not valid

$
0
0

@inabakosei wrote:

Hi, There.
I'm trying install PIWIK 3.0.1.
But Displaying this error,
"Please fix the following errors:Database Name is not valid"
Why?
Database Name is "(under score)h(under score)analytics" and this is exists reliably.
please tell me.

Posts: 1

Participants: 1

Read full topic

[Error] Failed to load resource: the server responded with a status of 403 (HTTP/2.0 403) (piwik.php, line 0)

$
0
0

@SamThilmany wrote:

This is my third installation of Piwik, but the first time that I'm having trouble. On my new WordPress website (based on a personal theme) I'm getting the following error

[Error] Failed to load resource: the server responded with a status of 403 (HTTP/2.0 403) (piwik.php, line 0)

followed by an enormously long URL.

Here's the URL. Please note that I've exchanged my domain with example.com:

https://stats.example.com/piwik.php?action_name=example.com%C2%A0–%20Startseite&idsite=1&rec=1&r=804481&h=18&m=50&s=54&url=https%3A%2F%2Fexample.com%2F&_id=baa6f6c560894237&_idts=1488036205&_idvc=1&_idn=0&_refts=0&_viewts=1488036205&send_image=1&pdf=1&qt=0&realp=0&wma=0&dir=0&fla=0&java=1&gears=0&ag=0&cookie=1&res=1920x1080&gt_ms=1266&pv_id=3ivjp3

This error is returned on the home page (Startseite in german). On the other pages, this is replaced by the name of that page.

I did contact my hoster because I read something about mod_security, but the hoster says that everything is ok there and the site is correctly whitelisted. They have no idea why this happens and I do neither.

Hopefully anyone of you can uncover this mystery. Thanks in advance for any help!

PS: Running on Piwik 3.0.1, MySQL 5.6.35 and PHP 5.6.30

Posts: 1

Participants: 1

Read full topic

"Available metrics" not visible in "Evolution of multiple rows"

$
0
0

@finner wrote:

Hi there,

in Actions > Pages > Evolution on multiple rows, the usual dropdown with the options Pageviews, Unique Pageviews, Avg. time on page, Bounce Rate, Exit rate, Avg. generation time does not show up.

But I can see the heading "Available metrics" and I can see the dropdown in the code:

    <div class="metric-selectbox">
        <h2>Available metrics</h2>
        <select name="metric" class="multirowevoltion-metric">
                                <option value="nb_hits" selected="selected">
                    Pageviews
                </option>
                                <option value="nb_visits">
                    Unique Pageviews
                </option>
                                <option value="avg_time_on_page">
                    Avg. time on page
                </option>
                                <option value="bounce_rate">
                    Bounce Rate
                </option>
                                <option value="exit_rate">
                    Exit rate
                </option>
                                <option value="avg_time_generation">
                    Avg. generation time
                </option>
                        </select>
    </div>

Piwik: 3.0.1
Chrome: 56.0.2924.76 (64-bit)
Firefox: 51.0.1 (64-bit)

Arch Linux 4.9.6-1 ARCH
Cinnamon 3.2.8

Thank you for any help!

Finn

Posts: 1

Participants: 1

Read full topic

Dashboard Evolution Graphics missing w/ apache2.4, php7 using php-fpm

$
0
0

@buffcleb wrote:

I'm testing a migration to a new server doing an upgrade to php 7 with Apache 2.4 using php-fpm

to send the php requests to the handler I'm using this block in my http.conf :

    <FilesMatch "\.php$">
        SetHandler "proxy:fcgi://127.0.0.1:9000"
    </FilesMatch>

this works fine for just about everything except the images on the dashboard the show the evolutions.

https://xxxxx.edu/piwik/?module=MultiSites&action=getEvolutionGraph&period=day&date=2017-01-28,2017-02-26&evolutionBy=nb_visits&columns=nb_visits&idSite=57&idsite=57&viewDataTable=sparkline&colors=%7B%22backgroundColor%22%3A%22%23ffffff%22%2C%22lineColor%22%3A%22%23162c4a%22%2C%22minPointColor%22%3A%22%23ff7f7f%22%2C%22maxPointColor%22%3A%22%2375bf7c%22%2C%22lastPointColor%22%3A%22%2355aaff%22%7D

if I manually add index.php it works fine, https://xxxxx.edu/piwik/index.php?module=

is there anyway to force this to be present or a change to the apache config I can make? any other ideas would be greatly appreciated as well...

thanks

Chris

Posts: 2

Participants: 1

Read full topic

Piwik API: "label" for Actions.getPageTitles & .getPageUrls get truncated

$
0
0

@sw1 wrote:

Hi there,

I'm trying to generate a report via the API for site with the following rough example structure:

http://my-domain.com -- "My page title"
|── /sub-dir-1/sub-dir-2/custom-dir-1/index.html -- "Title 1: first part / second part"
|── /sub-dir-1/sub-dir-2/custom-dir-2/index.html -- "Title 2: first part / second part"

I want to access some general stats per page such as nb_uniq_visitors, bounce_rate, avg_time_on_site, etc. by sending the following API requests:

1: Actions.getPageTitles
piwik.my-domain.com/?module=API&method=Actions.getPageTitles&idSite=&period=week&date=last1&segment=pageUrl=@%2Fsub-dir-3%2F&format=JSON&token_auth=

Problem: "label" gets truncated after the "/" in the page title (i.e. it says "Title 1: first part " when it should say "Title 1: first part / second part"). However, I do need the second part of the page title to uniquely identify the page. The response also contains no other identifier.

I have tried to get url information by including e.g. "&showColumns=nb_visits,nb_hits,url" but no URL is included in the response.

2: Actions.getPageUrls
piwik.my-domain.com/?module=API&method=Actions.getPageUrls&idSite=&period=week&date=last1&segment=pageUrl=@%2Fsub-dir-3%2F&format=JSON&token_auth=

Problem: Report is automatically grouped under label "sub-dir-1", i.e. there is again no information for unique pages.

I believe the behavior in case 1 might be a bug, at least it does not come to me how that would be intended.

In any case, can someone point me to a solution how I can get the response I need, i.e. basic metrics + at least one unique identifier?

Thank you!

PS: We are running Piwik version 2.16.2

Posts: 1

Participants: 1

Read full topic

Custom log format documentation

$
0
0

@TiGiD wrote:

Is there any documentation on how to make custom log format in import_logs.py?

I don't get all the S+ and s+ in the other formats.

I like to import logs with this format:
date time c-ip cs-username s-ip s-sitename c-version sc-status x-cache-info sc-header-size sc(Content-Length) sc-completed sc-bytes cs-bytes time-taken cs(User-Agent) cs(Referer) sc(CACHE_STATUS) sc(BALANCER_WORKER_IP) cs(X-Forwarded-For) x-origin-ip rs-bytes sc(ETag) cs(If-Range) cs(Range) sc(Content-Range) cs(Pragma) sc(Pragma)

Thank you

Posts: 1

Participants: 1

Read full topic

SSL pages not tracked in piwik: Chain issues:Contains anchor

$
0
0

@loge wrote:

I am able to track my site using http. But when I use https it's not tracked in piwik. I followed the steps mentioned in "https://piwik.org/faq/troubleshooting/faq_20272/".

Got the following message for Chain issues Contains anchor. Please advise.

Posts: 1

Participants: 1

Read full topic


Switched PIWIK to SSL, now archiving is not working anymore

$
0
0

@Lammertsma wrote:

To keep track of SSL websites we had to switch PIWIK to SSL also.
Everything seemsto be working ok, until the point i want to archive.
I tried to archibe with URL and locally with Windows Task Manager, but reports are not generated.
This is the log i get:

X-Powered-By: PHP/7.1.1
Date: Wed, 01 Mar 2017 10:45:48 GMT
Content-Type: text/plain;charset=UTF-8
Vary: Accept-Encoding
Server: Microsoft-IIS/8.5

INFO CoreAdminHome[2017-03-01 10:38:57] [ab6d2] ---------------------------
INFO CoreAdminHome[2017-03-01 10:38:57] [ab6d2] INIT
INFO CoreAdminHome[2017-03-01 10:38:57] [ab6d2] Running Piwik 3.0.1 as     Super User
INFO CoreAdminHome[2017-03-01 10:38:57] [ab6d2] ---------------------------
INFO CoreAdminHome[2017-03-01 10:38:57] [ab6d2] NOTES
INFO CoreAdminHome[2017-03-01 10:38:57] [ab6d2] - Reports for today will be processed at most every 3600 seconds. You can change this value in Piwik      UI > Settings > General Settings.
INFO CoreAdminHome[2017-03-01 10:38:57] [ab6d2] - Reports for the current week/month/year will be refreshed at most every 3600 seconds.
INFO CoreAdminHome[2017-03-01 10:38:57] [ab6d2] - Archiving was last executed without error 1 dagen 2 uren ago
INFO CoreAdminHome[2017-03-01 10:38:58] [ab6d2] - Will process 19 other websites because the last time they were archived was on a different day (in the website's timezone) , IDs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20
INFO CoreAdminHome[2017-03-01 10:38:58] [ab6d2] - Will process 8 other websites because some old data reports have been invalidated (eg. using the Log Import script) , IDs: 1, 2, 4, 5, 6, 8, 9, 11
INFO CoreAdminHome[2017-03-01 10:38:58] [ab6d2] ---------------------------
INFO CoreAdminHome[2017-03-01 10:38:58] [ab6d2] START
INFO CoreAdminHome[2017-03-01 10:38:58] [ab6d2] Starting Piwik reports archiving...
INFO CoreAdminHome[2017-03-01 10:38:58] [ab6d2] Day has finished for website id 1 since last run
INFO CoreAdminHome[2017-03-01 10:38:58] [ab6d2] Will pre-process for website id = 1, period = day, date = last52
INFO CoreAdminHome[2017-03-01 10:38:58] [ab6d2] - pre-processing all visits
ERROR CoreAdminHome[2017-03-01 10:39:19] [ab6d2] Empty or invalid response 'Got invalid response from API request: https://stats.dirkzwager.nl/?module=API&method=API.get&idSite=1&period=day&date=last52&format=php&trigger=archivephp&token_auth=removed. Response was 'curl_exec: Failed to connect to stats.dirkzwager.nl port 443: Timed out. Hostname requested was: stats.dirkzwager.nl'' for website id 1, Time elapsed: 21.518s, skipping

The rest of the websites give the same error.
I have a http to https redirection on the website, tried the force_ssl in the config, all to no avail.
If i call https://stats.dirkzwager.nl/?module=API&method=API.get&idSite=1&period=day&date=last52&format=php&trigger=archivephp&token_auth=xxxxxxx in a browser manualy, it looks like the stats are generated.

Can anyone help me out on this one?
Thanks in advance!

Edit:
Just saw there was an update available to 3.0.2. Ran that, still same problem.

Posts: 1

Participants: 1

Read full topic

"non well formed numeric value encountered" upon upgrading to 3.0.2

$
0
0

@rabo wrote:

I got a message upon upgrading to 3.0.2 this morning it says:

WARNING: /home/forge/****URL***/public/vendor/piwik/decompress/libs/PclZip/pclzip.lib.php(1797): Notice - A non well formed numeric value encountered - Piwik 3.0.1 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)

Any idea what the solution is ?

Posts: 1

Participants: 1

Read full topic

Bulk Tracking: Exception: Invalid idSite: '0'

$
0
0

@Pinimichu wrote:

Hi all,
I have a issue regarding the bulk tracking. I tested the example request via curl as it is written in the documentation

curl -i -X POST -d '{"requests":["?idsite=all&url=http://mySite/app&action_name=test&re
c=1","?idsite=3&url=http://mySite/app2&action_name=Test2&rec=1"],"token_auth"="xxxxx"}' http://MyPiwikInstance/piwik.php

The data is, of coursed, replaced by placeholders.
From my point of view there are no syntax issues in this command but executing it returns us the result below.
The idsite=3 exists. I was a little bit confused because the error message includes "idSite" in camel case. I tried both versions but the results are still the same. Any ideas why this happens?
Piwik Version: Tried on 2.16.2 => error. Update on 3.0.2 => same error
curl is running on a windows 7 64bit machine.

Thanks for your help in advance!

HTTP/1.1 400 Bad Request
Content-Type: text/plain;charset=UTF-8
Server: Microsoft-IIS/8.5
X-Powered-By: PHP/5.6.22
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
X-Powered-By: ASP.NET
X-UA-Compatible: IE=edge
Date: Thu, 02 Mar 2017 08:19:38 GMT
Content-Length: 3299
Via: 1.1 xxx
Connection: Keep-Alive

DEBUG: Debug enabled - Input parameters:
DEBUG: array (
DEBUG: '\'{requests:_?idsite' => 'all',
DEBUG: 'url' => 'xxx',
DEBUG: 'action_name' => 'Test2',
DEBUG: 'rec' => '1],token_auth=removed}\'',
DEBUG: )
DEBUG: Current datetime: 2017-03-02 08:19:38
DEBUG: Executing Piwik\Plugins\CoreHome\Tracker\VisitRequestProcessor::manipulateRequest()...
DEBUG: Executing Piwik\Plugins\Actions\Tracker\ActionsRequestProcessor::manipulateRequest()...
DEBUG: Executing Piwik\Plugins\Goals\Tracker\GoalsRequestProcessor::manipulateRequest()...
DEBUG: Executing Piwik\Plugins\Ecommerce\Tracker\EcommerceRequestProcessor::manipulateRequest()...
DEBUG: Executing Piwik\Plugins\SitesManager\Tracker\SitesManagerRequestProcessor::manipulateRequest()...
DEBUG: Executing Piwik\Plugins\CustomVariables\Tracker\CustomVariablesRequestProcessor::manipulateRequest()...
DEBUG: Executing Piwik\Plugins\Heartbeat\Tracker\PingRequestProcessor::manipulateRequest()...
DEBUG: Executing Piwik\Plugins\CoreHome\Tracker\VisitRequestProcessor::processRequestParams()...
DEBUG: Exception: Invalid idSite: '0'

Posts: 1

Participants: 1

Read full topic

Fatal error: Call to undefined function hash() in .../vendor/twig/twig/lib/Twig/Environment.php on line 331

$
0
0

@Solaris41 wrote:

Hi,
after updating to 3.0.2 I get this error massage:
Fatal error: Call to undefined function hash() in ....../vendor/twig/twig/lib/Twig/Environment.php on line 331
If I downgrade back to 3.0.1 i get error massage that my data base is made für 3.0.2. So I don't can go back to 3.0.1 and 3.0.2 is not working....
Any ideas?

Thanks Ralf

Posts: 2

Participants: 1

Read full topic

View' access for the website id = 1

$
0
0

@MoeRayan wrote:

Hello folks,

I am having issue with Piwik (3.0.2). Whenever I login with my super admin credentials, I get this error

You can't access this resource as it requires an 'view' access for the website id = 1.

  • I tried to reset the password, but it seems that it doesn't work.The password remains the same.
  • I reinstalled Piwik again, but still didn't work, same error message.
  • I checked my superadmin credentials in the db and it was set to "1" which is correct

Any suggestions to go about this?
I maybe suspect the .htaccess on my root directory is causing this? could it be?

My main directory is (public_html)
and piwik is installed in (public_html/piwik)

Posts: 1

Participants: 1

Read full topic

Actions & users not available, live data and visitor logs work

$
0
0

@zndrisr wrote:

All site pageviews and actions are zero.

Archiving cron Job completes without errors.

upgraded piwik_log_link_visit_action idlink_va to bigint.
same with piwik_log_visit idvisit;

looks like the 3.0 upgrade did something to my setup.
currently on 3.0.2

I have large amounts of data incoming 100 - 300k actions per day.

Please tell me what information you need from my server...

Thanks!

Posts: 1

Participants: 1

Read full topic

Can't click link to update Piwik

$
0
0

@Jason_Lefkowitz wrote:

In the last couple of versions of Piwik, when an update has become available and the little notice to that affect has appeared on the Dashboard, I've run into a problem trying to take action. When I mouse over the notice a little box drops down beneath it with more information, including the link to click to start the update process (/index.php?module=CoreUpdater&action=newVersionAvailable). But when I move the cursor off the notice to go down and actually click that link, the box underneath the notice disappears and takes the link with it. I end up having to root around in the source code of the page to copy the URL for the update process and paste it into the browser's URL bar.

My guess is that it's a simple JS or CSS problem related to the visibility of the box underneath the notice being tied to the hover state of the notice, and when I mouse down to try and click the link that state gets disabled. But it doesn't appear to be a browser-specific thing, as it happens to me in both Firefox and Chrome (on Ubuntu Linux).

Not a huge thing, as I've figured out how to work around it, but I figured I'd report it here just in case. Don't want the software to be giving people any excuse not to keep it up to date :grinning:

Posts: 1

Participants: 1

Read full topic


About performance for track mobile app

$
0
0

@cod wrote:

I have install the server and run the iOS demo app, that is great code I think.

just one question, I see the server part code 'piwik.php' which is the entry API file of the mobile sdk, seem the code do much jobs which probably effect the performance of the track action, as we know, app just need collect data and post to server, server duty to store the data and Analytics later, the process can be a asychronous actions, maybe the entry api just need store the data somewhere then back to client immediately, this way will got good performance for mobile app, right ?

just confuse with current solution for mobile app, probably the piwik original idea is focus on web site but mobile app.....

any idea on this topic ? thanks ...

Posts: 2

Participants: 1

Read full topic

Error while sending QUERY packet. PID=23668 - Piwik 2.17.0

$
0
0

@robink wrote:

Hello Matthieu,

On updating piwik to last version 3.x i got this message in header of the Piwik site i setup...

/piwik/libs/Zend/Db/Statement/Pdo.php(228): Warning - Error while sending QUERY packet. PID=23668 - Piwik 2.17.0

any clues ?

many thanks,
R.

Posts: 1

Participants: 1

Read full topic

No default value for location_browser_lang in piwik_log_visit

$
0
0

@jurgenhaas wrote:

I'm running Piwik 3.0.1 (upgraded to 3.0.2 today) and just realized that my upgrade to MySQL 5.7 a couple of days ago started to prevent Piwik from logging visits. The errors are like this:

[Thu Mar 02 09:08:05.913094 2017] [:error] [pid 6312] [client 46.223.59.40:51104] Error in Piwik (tracker): Error query: SQLSTATE[HY000]: General error: 1364 Field 'location_browser_lang' doesn't have a default value In query: INSERT INTO piwik_log_visit (idvisitor, config_id, location_ip, idsite, visit_first_action_time, visit_goal_buyer, visit_goal_converted, visit_last_action_time, visitor_days_since_first, visitor_days_since_order, visitor_returning, visitor_count_visits, visit_entry_idaction_name, visit_entry_idaction_url, visit_exit_idaction_name, visit_exit_idaction_url, visit_total_actions, visit_total_interactions, visit_total_searches, referer_keyword, referer_name, referer_type, referer_url, config_browser_engine, config_browser_name, config_browser_version, config_device_brand, config_device_model, config_device_type, config_os, config_os_version, visit_total_events, visitor_localtime, visitor_days_since_last, config_resolution, config_cookie, config_director, config_flash, config_gears, config_java, config_pdf, config_quicktime, config_realplayer, config_silverlight, config_windowsmedia, visit_total_time, location_country, location_provider) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) Parameters: array (   0 => 'X\xa7i\x17\xcf\x04\x8a"',   1 => '\x14?\x1fA\xfd\x890#',   2 => '.\xdf;(',   3 => 1,   4 => '2017-03-02 08:08:05',   5 => 0,   6 => 0,   7 => '2017-03-02 08:08:05',   8 => '7',   9 => 0,   10 => 1,   11 => 5,   12 => 8988,   13 => 192,   14 => 8988,   15 => 192,   16 => 1,   17 => 1,   18 => 0,   19 => NULL,   20 => NULL,   21 => 1,   22 => 'https://www.paragon-es.de/contact',   23 => 'WebKit',   24 => 'SF',   25 => '10.0',   26 => '',   27 => '',   28 => 0,   29 => 'MAC',   30 => '10.12',   31 => 0,   32 => '09:08:05',   33 => '0',   34 => '2560x1440',   35 => 1,   36 => 0,   37 => 0,   38 => 0,   39 => 1,   40 => 1,   41 => 0,   42 => 0,   43 => 0,   44 => 0,   45 => 0,   46 => 'de',   47 => 'kabel-badenwuerttemberg.de', ), referer: https://www.paragon-es.de/imprint

I saw a few old issues about that topic and all are closed and state that the bugs are fixed. So I wonder why they are still present here. Has Piwik missed a db upgrade at one point here? If so, what can I do to fix this?

Posts: 1

Participants: 1

Read full topic

Error: SQLSTATE[23000]

$
0
0

@Pellegrino_Lippiello wrote:

Hi,

I was trying to update piwik to 3.0.2, bub i got this error:
/var/www/vhosts/comune.baiano.av.it/httpdocs/piwik/core/Updates/2.10.0-b7.php: Error trying to execute the migration 'UPDATE piwik_archive_blob_2013_02 SET name = 'Resolution_resolution' WHERE name = 'UserSettings_resolution';'. The error was: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1365-Resolution_resolution' for key 'PRIMARY'

How may i solve?
Many thanks

Posts: 1

Participants: 1

Read full topic

No HTTPS tracking with Piwik 3.0.2

$
0
0

@klaus123 wrote:

After reading a lot of topics with no solutions I want to describe my problem:

I have a simple configuration:
On one webspace (shared hosting) are two domains:
example.com
exa-mple.com

I created a letsencrypt certificate and forwarded every HTTP traffic to HTTPS via htaccess:
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://www.exa-mple.de/$1 [R=301,L]

That means that I forward every traffic to the (main) domain name exa-mple.com.

At this webspace is the web content as well as the Piwik installation in a subfolder exa-mple.com/log (https://www.exa-mple.com/log).
Piwik is also accessible via HTTPS like the rest of the content.

With HTTP everything worked fine for years.
After activating the HTTPS with the above cited forarding nothing is tracked.

I checked the tracking code and everything and found no mistake.

My tracking code (compressed javascript + image):
<script type="text/javascript">var _paq = _paq || []; _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://www.exa-mple.com/log/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })();</script>

<noscript><img src="https://www.exa-mple.com/log/piwik.php?idsite=1&rec=1" style="border:0" alt="" /></noscript>

I think this is the most simple configuration imaginable...
What's wrong...?

I have activated "force_ssl =1" and also installed and activated the Force SSL plugin - with no success, of course.

Best regards,
Klaus

Posts: 1

Participants: 1

Read full topic

Viewing all 5833 articles
Browse latest View live