NEW Piwik 2.0 Beta release!

@MaxWin: Thanks for the tests and debugging on IE8 that’s very appreciated!!

I put the fix in piwikHelper Refs #4300 Adding Array.reduce fallback for IE8. Array.reduce is used… · matomo-org/matomo@0d1b8d9 · GitHub
I will release beta in a few hours so you can try it out.

If you have any other problem (and/or fix) for IE8 do you mind putting them in the ticket: Make sure Piwik works on IE8+ · Issue #4300 · matomo-org/matomo · GitHub

would be useful if we could confirm that Piwik 2.0 works well with IE8

i will participate in the ticket if i am able to, depending on knowlege and time :wink:

btw, the changelog adding support for windows phone 7 version 7.5 by thirashima · Pull Request #1 · matomo-org/matomo · GitHub is sorted via the text, not the containing date. makes no sense to me :wink:

i will do my best to help :slight_smile:

but this forum is making me sad. when i reply to this thread and press the preview button to see if my 2 cents are good formed it is going to start a new thread! :frowning:

I’ve just installed 2.0-b9 successfully.

However, it seems that it is now ignoring my time zone settings when counting daily visitors.

Example:

At 10AM (MST, UTC -7) I had 121 visitors to one site, yet the number of visits displayed shows 354. I counted back 354 visits through the visitor log, and that visitor arrived on my site at 5PM yesterday, or 0:00 UTC.

Is there something hiding in the configuration that now needs to be set? If so, I can’t seem to find it. I have triple-checked all time zone settings, including global and website specific.

ETA: I’ve also checked server and PHP settings. All set to America/Denver, which is the same timezone.

I am experiencing the same visit count issue as athybaby.

My visit count for the day includes visits for the previous day starting at 0:00 UTC. I have a time zone of America/Los_Angeles set for my website timezone in Websites Management.

I am using 2.0-b9. The daily count worked as expected prior to installing 2.0-b9.

Just an update - at 5 PM MST yesterday, the visitor count stopped updating, remaining at the total for that 24 hour period. Visits were still being tracked. When I woke up this morning at about 5 AM, all visits from 5PM on were counted again. I imagine the counts updated at midnight.

I keep getting a login screen after logging into Piwik, choosing a site and then attempting to do anything:

[attachment 1445 piwiklogin.png]

Been happening since 1st beta, thought initially it was just me, since my Piwik install is over SSL, as are all my websites.

Any help please?

Rich

Morning,

On a test system, archives.php has been yelling the following error ever since moving to 2.0b (currently b10) – Any idea?


Error in the last Piwik archive.php run:
1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://stats.example.com/admin/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=3fd72f2d1234d06071fb1fd8e1585be2&trigger=archivephp. Response was ‘a:2:{s:6:“result”;s:5:“error”;s:7:“message”;s:193:“This report has been reprocessed since your last click. To see this error less often, please increase the timeout value in seconds in Settings > General Settings. (error: id 3718 not found).”;}’

Here is the full errors output:


INIT
Querying Piwik API at: http://stats.example.com/admin/index.php
Running Piwik 2.0-b10 as Super User: brutus

NOTES

  • Reports for today will be processed at most every 3600 seconds. You can change this value in Piwik UI > Settings > General Settings.
  • Reports for the current week/month/year will be refreshed at most every 3600 seconds.
  • Archiving was last executed without error 10 days 20 hours ago
  • Will process 2 websites with new visits since 10 days 20 hours , IDs: 1, 3
  • Will process 4 other websites because the last time they were archived was on a different day (in the website’s timezone) , IDs: 2, 4, 5, 6

START
ERROR: Got invalid response from API request: http://stats.example.com/admin/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=3fd72f2d1234d06071fb1fd8e1585be2&trigger=archivephp. Response was 'a:2:{s:6:“result”;s:5:“error”;s:7:“message”;s:193:“This report has been reprocessed since your last click. To see this error less often, please increase the timeout value in seconds in Settings > General Settings. (error: id 3718 not found).”;}'
WARNING: Empty or invalid response ‘’ for website id 1, Time elapsed: 31.049s, skipping
Archived website id = 3, period = day, Time elapsed: 0.164s
Archived website id = 3, period = week, 4 visits, Time elapsed: 0.168s
Archived website id = 3, period = month, 4 visits, Time elapsed: 0.169s
Archived website id = 3, period = year, 0 visits, Time elapsed: 0.183s
Archived website id = 2, period = day, Time elapsed: 0.164s
Archived website id = 2, period = week, 0 visits, Time elapsed: 0.168s
Archived website id = 2, period = month, 0 visits, Time elapsed: 0.175s
Archived website id = 2, period = year, 0 visits, Time elapsed: 0.171s
Archived website id = 4, period = day, Time elapsed: 0.164s
Archived website id = 4, period = week, 0 visits, Time elapsed: 0.168s
Archived website id = 4, period = month, 0 visits, Time elapsed: 0.169s
Archived website id = 4, period = year, 0 visits, Time elapsed: 0.175s
Archived website id = 5, period = day, Time elapsed: 0.165s
Archived website id = 5, period = week, 0 visits, Time elapsed: 0.169s
Archived website id = 5, period = month, 0 visits, Time elapsed: 0.169s
Archived website id = 5, period = year, 0 visits, Time elapsed: 0.173s
Archived website id = 6, period = day, Time elapsed: 0.165s
Archived website id = 6, period = week, 0 visits, Time elapsed: 0.166s
Archived website id = 6, period = month, 0 visits, Time elapsed: 0.169s
Archived website id = 6, period = year, 0 visits, Time elapsed: 0.173s
Starting Piwik reports archiving…
Done archiving!

SUMMARY
Total daily visits archived: 0
Archived today’s reports for 5 websites
Archived week/month/year for 5 websites
Skipped 1 websites: no new visit since the last script execution
Skipped 0 websites day archiving: existing daily reports are less than 3600 seconds old
Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
Total API requests: 20
done: 5/6 83%, 0 v, 5 wtoday, 5 wperiods, 20 req, 34444 ms, 1 errors. eg. 'Got invalid response from API request: http://stats.example.com/admin/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=3fd72f2d1234d06071fb1fd8e1585be2&trigger=archivephp. Response was ‘a:2:{s:6:“result”;s:5:“error”;s:7:“message”;s:193:“This report has been reprocessed since your last click. To see this error less often, please increase the timeout value in seconds in Settings > General Settings. (error: id 3718 not found).”;}’'
Time elapsed: 34.444s

SCHEDULED TASKS
Starting Scheduled tasks…
No task to run
done


SUMMARY OF ERRORS
Error: Got invalid response from API request: http://stats.example.com/admin/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=3fd72f2d1234d06071fb1fd8e1585be2&trigger=archivephp. Response was 'a:2:{s:6:“result”;s:5:“error”;s:7:“message”;s:193:“This report has been reprocessed since your last click. To see this error less often, please increase the timeout value in seconds in Settings > General Settings. (error: id 3718 not found).”;}'
1 total errors during this script execution, please investigate and try and fix these errors
ERROR: 1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://stats.example.com/admin/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=3fd72f2d1234d06071fb1fd8e1585be2&trigger=archivephp. Response was ‘a:2:{s:6:“result”;s:5:“error”;s:7:“message”;s:193:“This report has been reprocessed since your last click. To see this error less often, please increase the timeout value in seconds in Settings > General Settings. (error: id 3718 not found).”;}’

[quote=rpharrison]
I keep getting a login screen after logging into Piwik, choosing a site and then attempting to do anything:

[attachment 1445 piwiklogin.png]

Been happening since 1st beta, thought initially it was just me, since my Piwik install is over SSL, as are all my websites.

Any help please?

Rich[/quote]

That’s surprising, does it appear like this on overlay in half transparent?

I’ve never seen it before. Maybe if you look with Developer console you can see if a HTTP request to Piwik returns the login screen instead of data? maybe one of the http requests made is incorrect

Thanks for report. I’m not sure what is causing this error, maybe temporary data issue. can you try delete the piwik_archive_* tables for the last month and have them re-process?

[quote=matt]

[quote=rpharrison]
I keep getting a login screen after logging into Piwik, choosing a site and then attempting to do anything:

[attachment 1445 piwiklogin.png]

Been happening since 1st beta, thought initially it was just me, since my Piwik install is over SSL, as are all my websites.

Any help please?

Rich[/quote]

That’s surprising, does it appear like this on overlay in half transparent?

I’ve never seen it before. Maybe if you look with Developer console you can see if a HTTP request to Piwik returns the login screen instead of data? maybe one of the http requests made is incorrect[/quote]

OK had a quick look, login to Piwik, pick a site - all normal.

It seems the trigger is going to About Piwik, clicking check for updates, on any tab it’ll show that broken login by checking for updates. Doesn’t actually log me out however, can carry as if usual.

Saw this console output:

Uncaught TypeError: Object # has no method ‘inith’ VM1000:1
(anonymous function) VM1000:1
(anonymous function) ?module=Proxy&action=getJs&cb=040f086cb7a9720585bf56da2fa62fa1:4
x.extend.globalEval ?module=Proxy&action=getJs&cb=040f086cb7a9720585bf56da2fa62fa1:4
x.fn.extend.domManip ?module=Proxy&action=getJs&cb=040f086cb7a9720585bf56da2fa62fa1:5
x.fn.extend.replaceWith ?module=Proxy&action=getJs&cb=040f086cb7a9720585bf56da2fa62fa1:5
(anonymous function) ?module=Proxy&action=getJs&cb=040f086cb7a9720585bf56da2fa62fa1:728
r.complete ?module=Proxy&action=getJs&cb=040f086cb7a9720585bf56da2fa62fa1:6
c ?module=Proxy&action=getJs&cb=040f086cb7a9720585bf56da2fa62fa1:4
p.fireWith ?module=Proxy&action=getJs&cb=040f086cb7a9720585bf56da2fa62fa1:4
l ?module=Proxy&action=getJs&cb=040f086cb7a9720585bf56da2fa62fa1:6
x.fx.tick

Are you logged in as the Super user, or as a user with “admin” permission?

Do you get the same problem if you login as another user with admin ?

I cant reproduce but maybe it’s a bug!

Update: the 2.0-beta11, fixing all known issues, is now released.

Please test it and send us any problem you experience!

There are few tickets left but we are in feature-freeze
http://dev.piwik.org/trac/query?status=assigned&status=new&status=reopened&milestone=2.0+-+Piwik+2.0&group=priority&col=id&col=summary&col=owner&col=type&col=priority&col=component&col=time&order=priority

Hi matt,

I’ve updated to b11, manually, auto-updater didn’t have b11 is that expected?

Still have the same issue. A bit of poking tells me Piwik seems to work flawlessly as long as I do not check for updates.

I captured some info from Firebug, Net panel. I also tried to create another admin user in b11 since I only have one, but it won’t let me do that? (Post about that later). If it helps you I could pm you details of my install, if you’re able/want to take a closer look.

POST /index.php?date=2013-12-10&module=CoreHome&action=checkForUpdates&idSite=1&period=month HTTP/1.1
HTTP/1.1 301 Moved Permanently
Server: cloudflare-nginx
Date: Tue, 10 Dec 2013 10:20:52 GMT
Content-Type: text/html; charset=iso-8859-1
Location: https://piwik.my-site.es/?date=2013-12-10&module=CoreHome&action=checkForUpdates&idSite=1&period=month
Cache-Control: max-age=0
Expires: Tue, 10 Dec 2013 10:20:51 GMT
Set-Cookie: _mcnc=1; Max-Age=2; Path=/
x-microcachable: 0
CF-RAY: da93479337f02dc
X-Firefox-Spdy: 2

Host: piwik.my-site.es
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:24.0) Gecko/20100101 Firefox/24.0 Waterfox/24.0
Accept: text/html, /; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: https://piwik.my-site.es/?module=CoreHome&action=index&date=2013-12-10&period=month&idSite=1
Content-Length: 43
Cookie: pk_uid=0%3DczoxNjoiODY1YjM1OTg1NWY2ODJjNSI7%3A%3D55dc3c78ae28ddd0eeb2ba824ba04a53f4c9a25b; __utma=1.1332271822.1374833709.1382966205.1383040993.28; __utmz=1.1382355703.25.3.utmcsr=blog.my-site.es|utmccn=(referral)|utmcmd=referral|utmcct=/; _cfduid=d577aa26650586d64c96ed98658c42bca1379613399918; member_id=14; fbm_125642747450028=base_domain=.my-site.es; gpv_p23=no%20value; s_nr=1384863734626-New; piwik_auth=login%3Dczo3OiJyaWNoYXJkIjs%3D%3Atoken_auth%3DczozMjoiZDBjMzBkYWNjYTdjMGY4YmMwYTUwOGIzYTk2YjE4YzciOw%3D%3D%3A%3D27112436e3d5cc1a2c7714767ecec175764ef9aa; PIWIK_SESSID=d79646c8aac02a89bc778137c5a70dae
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache

HTTP/1.1 200 OK
Server: cloudflare-nginx
Date: Tue, 10 Dec 2013 10:20:52 GMT
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Cache-Control: no-store, must-revalidate, no-transform
X-Frame-Options: sameorigin, SAMEORIGIN
Access-Control-Allow-Origin: *
X-UA-Compatible: IE=edge
P3P: policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
content-security-policy-report-only: img-src http://cdn.iubenda.com https://cdn.zopim.com https://ssl.gstatic.com https://maps.gstatic.com http://cdn.zopim.com http://piwik.my-site.es https://openx.my-site.es https://khms1.googleapis.com https://mts0.googleapis.com https://csi.gstatic.com https://maps.googleapis.com https://khms0.googleapis.com http://openx.my-site.es ‘self’ data: https://mts1.googleapis.com http://ssl.gstatic.com ; style-src http://cdn.zopim.com https://cdn.zopim.com https://fonts.googleapis.com data: ‘unsafe-inline’ ‘self’ http://www.my-site.es https://www.my-site.es ;report-uri http://cspbuilder.info/report/;
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Strict-Transport-Security: max-age=16070400; includeSubDomains
X-Cache: HIT from Backend
CF-RAY: da9347bb38802dc
Content-Encoding: gzip
X-Firefox-Spdy: 2

GET /?date=2013-12-10&module=CoreHome&action=checkForUpdates&idSite=1&period=month HTTP/1.1
Host: piwik.my-site.es
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:24.0) Gecko/20100101 Firefox/24.0 Waterfox/24.0
Accept: text/html, /; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://piwik.my-site.es/?module=CoreHome&action=index&date=2013-12-10&period=month&idSite=1
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Cookie: pk_uid=0%3DczoxNjoiYzdmZjYyMWU2MDJlNzRkNiI7%3A%3D4638534c2ecb8efeeefd0f405c2c82293423e5fa; pk_uid=0%3DczoxNjoiODY1YjM1OTg1NWY2ODJjNSI7%3A%3D55dc3c78ae28ddd0eeb2ba824ba04a53f4c9a25b; __utma=1.1332271822.1374833709.1382966205.1383040993.28; __utmz=1.1382355703.25.3.utmcsr=blog.my-site.es|utmccn=(referral)|utmcmd=referral|utmcct=/; _cfduid=d577aa26650586d64c96ed98658c42bca1379613399918; member_id=14; fbm_125642747450028=base_domain=.my-site.es; gpv_p23=no%20value; s_nr=1384863734626-New; piwik_auth=login%3Dczo3OiJyaWNoYXJkIjs%3D%3Atoken_auth%3DczozMjoiZDBjMzBkYWNjYTdjMGY4YmMwYTUwOGIzYTk2YjE4YzciOw%3D%3D%3A%3D27112436e3d5cc1a2c7714767ecec175764ef9aa; PIWIK_SESSID=d79646c8aac02a89bc778137c5a70dae; _mcnc=1
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache

Thanks,

Rich

Here’s what I get when trying to create a user (all fields are filled in):

[attachment 1449 newuser.png]

Rich

What browser are you using? it works for me in firefox and chrome

are the other features otherwise working as expected?

matt,

Seems like everything, aside from creating users/checking for updates works normal as far as I can tell. I tried several browsers, with/without cloudflare enabled on the piwik subdomain. I used Waterfox when I posted the previous message, but it’s consistent across browsers.

I’m sending you a PM, I hope you don’t mind taking a look personally if that’s not too much trouble?

Rich

Hi,

After updating from 1.12 to version 2.0 Piwik-b12 shows this error

@Azot What PHP version are you using?

[quote=matt]
@Azot What PHP version are you using?[/quote]

PHP 5.3.2
MySQL 5.1.63