Ticket #841 (closed Bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

Piwik not compatible w php 5.2.10?

Reported by: mic Owned by:
Priority: major Milestone: Piwik 0.4.2
Component: Core Keywords: php, version, 5.2.0, 5.2.10,compatible
Cc: Sensitive:

Description

It seems, that piwik has some troubles with php version 5.2.10. We updated today 2 of our servers from php 5.2.0 to 5.2.10.

Now when i want to login into my piwik installation (0.4.1), these messages are visible (and nothing more!) - real website address is changed:

Declaration of Piwik_Event_Notification::increaseNotificationCount() should be compatible with that of Event_Notification::increaseNotificationCount() in '/var/www/web65/html/cms/piwik/core/PluginsManager.php' at the line 509

#0 Piwik_ErrorHandler(2048, Declaration of Piwik_Event_Notification::increaseNotificationCount() should be compatible with that of Event_Notification::increaseNotificationCount(), /var/www/web65/html/cms/piwik/core/PluginsManager.php, 509, Array ([GLOBALS] => Array ( *RECURSION*,[_ENV] => Array ([DOCUMENT_ROOT] => /var/www/web65/html/cms,[GATEWAY_INTERFACE] => CGI/1.1,[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7,[HTTP_ACCEPT_ENCODING] => gzip,deflate,[HTTP_ACCEPT_LANGUAGE] => de-de,de;q=0.8,en-us;q=0.5,en;q=0.3,[HTTP_CONNECTION] => keep-alive,[HTTP_COOKIE] => piwik_visitor1=1%3DYzI2YThiN2FhZmRhYmIyNzZmMWVlOGFmZWUyZTRlYzg%3D%3A2%3DMTI0NTU4NjEyNg%3D%3D%3A3%3DMTI0NTU4NjEyNg%3D%3D%3A4%3DNTgyNg%3D%3D%3A5%3DNQ%3D%3D%3A11%3DMQ%3D%3D%3A8%3DMw%3D%3D%3A9%3Dc3ViczAyLmNsaWNrdGFsZS5uZXQ%3D%3A10%3D%3A6%3DNTU1OQ%3D%3D%3A7%3DMTI0NTA3NTIxOA%3D%3D; WRUID=0; d0697c80a0e0843aad9a8ea0b7596dcd=39847b68c7a8ccd3162017261136b073; 6be9e2e64d2b570a3b98d7cef2a27451=82f671dd25104378ee495381b976d4d2,[HTTP_HOST] => www.mywebsite.com,[HTTP_KEEP_ALIVE] => 300,[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729),[PATH] => /bin:/usr/bin,[PHPRC] => /etc/apache2/confixx_phpini/web65,[QUERY_STRING] => ,[REDIRECT_STATUS] => 200,[REMOTE_ADDR] => 188.23.47.33,[REMOTE_PORT] => 52988,[REQUEST_METHOD] => GET,[REQUEST_URI] => /piwik/,[SCRIPT_FILENAME] => /var/www/web65/html/cms/piwik/index.php,[SCRIPT_NAME] => /piwik/index.php,[SERVER_ADDR] => 82.96.90.172,[SERVER_ADMIN] => [no address given],[SERVER_NAME] => www.mywebsite.com,[SERVER_PORT] => 80,[SERVER_PROTOCOL] => HTTP/1.1,[SERVER_SIGNATURE] => Apache Server at www.mywebsite.com Port 80

,[SERVER_SOFTWARE] => Apache),[HTTP_ENV_VARS] => Array ([DOCUMENT_ROOT] => /var/www/web65/html/cms,[GATEWAY_INTERFACE] => CGI/1.1,[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7,[HTTP_ACCEPT_ENCODING] => gzip,deflate,[HTTP_ACCEPT_LANGUAGE] => de-de,de;q=0.8,en-us;q=0.5,en;q=0.3,[HTTP_CONNECTION] => keep-alive,[HTTP_COOKIE] => piwik_visitor1=1%3DYzI2YThiN2FhZmRhYmIyNzZmMWVlOGFmZWUyZTRlYzg%3D%3A2%3DMTI0NTU4NjEyNg%3D%3D%3A3%3DMTI0NTU4NjEyNg%3D%3D%3A4%3DNTgyNg%3D%3D%3A5%3DNQ%3D%3D%3A11%3DMQ%3D%3D%3A8%3DMw%3D%3D%3A9%3Dc3ViczAyLmNsaWNrdGFsZS5uZXQ%3D%3A10%3D%3A6%3DNTU1OQ%3D%3D%3A7%3DMTI0NTA3NTIxOA%3D%3D; WRUID=0; d0697c80a0e0843aad9a8ea0b7596dcd=39847b68c7a8ccd3162017261136b073; 6be9e2e64d2b570a3b98d7cef2a27451=82f671dd25104378ee495381b976d4d2,[HTTP_HOST] => www.mywebsite.com,[HTTP_KEEP_ALIVE] => 300,[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729),[PATH] => /bin:/usr/bin,[PHPRC] => /etc/apache2/confixx_phpini/web65,[QUERY_STRING] => ,[REDIRECT_STATUS] => 200,[REMOTE_ADDR] => 188.23.47.33,[REMOTE_PORT] => 52988,[REQUEST_METHOD] => GET,[REQUEST_URI] => /piwik/,[SCRIPT_FILENAME] => /var/www/web65/html/cms/piwik/index.php,[SCRIPT_NAME] => /piwik/index.php,[SERVER_ADDR] => 82.96.90.172,[SERVER_ADMIN] => [no address given],[SERVER_NAME] => www.mywebsite.com,[SERVER_PORT] => 80,[SERVER_PROTOCOL] => HTTP/1.1,[SERVER_SIGNATURE] => Apache Server at www.mywebsite.com Port 80

,[SERVER_SOFTWARE] => Apache),[_POST] => Array (),[HTTP_POST_VARS] => Array (),[_GET] => Array (),[HTTP_GET_VARS] => Array (),[_COOKIE] => Array ([piwik_visitor1] => 1=YzI2YThiN2FhZmRhYmIyNzZmMWVlOGFmZWUyZTRlYzg=:2=MTI0NTU4NjEyNg==:3=MTI0NTU4NjEyNg==:4=NTgyNg==:5=NQ==:11=MQ==:8=Mw==:9=c3ViczAyLmNsaWNrdGFsZS5uZXQ=:10=:6=NTU1OQ==:7=MTI0NTA3NTIxOA==,[WRUID] => 0,[d0697c80a0e0843aad9a8ea0b7596dcd] => 39847b68c7a8ccd3162017261136b073,[6be9e2e64d2b570a3b98d7cef2a27451] => 82f671dd25104378ee495381b976d4d2),[HTTP_COOKIE_VARS] => Array ([piwik_visitor1] => 1=YzI2YThiN2FhZmRhYmIyNzZmMWVlOGFmZWUyZTRlYzg=:2=MTI0NTU4NjEyNg==:3=MTI0NTU4NjEyNg==:4=NTgyNg==:5=NQ==:11=MQ==:8=Mw==:9=c3ViczAyLmNsaWNrdGFsZS5uZXQ=:10=:6=NTU1OQ==:7=MTI0NTA3NTIxOA==,[WRUID] => 0,[d0697c80a0e0843aad9a8ea0b7596dcd] => 39847b68c7a8ccd3162017261136b073,[6be9e2e64d2b570a3b98d7cef2a27451] => 82f671dd25104378ee495381b976d4d2),[_SERVER] => Array ([DOCUMENT_ROOT] => /var/www/web65/html/cms,[GATEWAY_INTERFACE] => CGI/1.1,[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7,[HTTP_ACCEPT_ENCODING] => gzip,deflate,[HTTP_ACCEPT_LANGUAGE] => de-de,de;q=0.8,en-us;q=0.5,en;q=0.3,[HTTP_CONNECTION] => keep-alive,[HTTP_COOKIE] => piwik_visitor1=1%3DYzI2YThiN2FhZmRhYmIyNzZmMWVlOGFmZWUyZTRlYzg%3D%3A2%3DMTI0NTU4NjEyNg%3D%3D%3A3%3DMTI0NTU4NjEyNg%3D%3D%3A4%3DNTgyNg%3D%3D%3A5%3DNQ%3D%3D%3A11%3DMQ%3D%3D%3A8%3DMw%3D%3D%3A9%3Dc3ViczAyLmNsaWNrdGFsZS5uZXQ%3D%3A10%3D%3A6%3DNTU1OQ%3D%3D%3A7%3DMTI0NTA3NTIxOA%3D%3D; WRUID=0; d0697c80a0e0843aad9a8ea0b7596dcd=39847b68c7a8ccd3162017261136b073; 6be9e2e64d2b570a3b98d7cef2a27451=82f671dd25104378ee495381b976d4d2,[HTTP_HOST] => www.mywebsite.com,[HTTP_KEEP_ALIVE] => 300,[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729),[PATH] => /bin:/usr/bin,[PHPRC] => /etc/apache2/confixx_phpini/web65,[QUERY_STRING] => ,[REDIRECT_STATUS] => 200,[REMOTE_ADDR] => 188.23.47.33,[REMOTE_PORT] => 52988,[REQUEST_METHOD] => GET,[REQUEST_URI] => /piwik/,[SCRIPT_FILENAME] => /var/www/web65/html/cms/piwik/index.php,[SCRIPT_NAME] => /piwik/index.php,[SERVER_ADDR] => 82.96.90.172,[SERVER_ADMIN] => [no address given],[SERVER_NAME] => www.mywebsite.com,[SERVER_PORT] => 80,[SERVER_PROTOCOL] => HTTP/1.1,[SERVER_SIGNATURE] => Apache Server at www.mywebsite.com Port 80

,[SERVER_SOFTWARE] => Apache,[PHP_SELF] => /piwik/index.php,[REQUEST_TIME] => 1246384592,[argv] => Array (),[argc] => 0),[HTTP_SERVER_VARS] => Array ([DOCUMENT_ROOT] => /var/www/web65/html/cms,[GATEWAY_INTERFACE] => CGI/1.1,[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7,[HTTP_ACCEPT_ENCODING] => gzip,deflate,[HTTP_ACCEPT_LANGUAGE] => de-de,de;q=0.8,en-us;q=0.5,en;q=0.3,[HTTP_CONNECTION] => keep-alive,[HTTP_COOKIE] => piwik_visitor1=1%3DYzI2YThiN2FhZmRhYmIyNzZmMWVlOGFmZWUyZTRlYzg%3D%3A2%3DMTI0NTU4NjEyNg%3D%3D%3A3%3DMTI0NTU4NjEyNg%3D%3D%3A4%3DNTgyNg%3D%3D%3A5%3DNQ%3D%3D%3A11%3DMQ%3D%3D%3A8%3DMw%3D%3D%3A9%3Dc3ViczAyLmNsaWNrdGFsZS5uZXQ%3D%3A10%3D%3A6%3DNTU1OQ%3D%3D%3A7%3DMTI0NTA3NTIxOA%3D%3D; WRUID=0; d0697c80a0e0843aad9a8ea0b7596dcd=39847b68c7a8ccd3162017261136b073; 6be9e2e64d2b570a3b98d7cef2a27451=82f671dd25104378ee495381b976d4d2,[HTTP_HOST] => www.mywebsite.com,[HTTP_KEEP_ALIVE] => 300,[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729),[PATH] => /bin:/usr/bin,[PHPRC] => /etc/apache2/confixx_phpini/web65,[QUERY_STRING] => ,[REDIRECT_STATUS] => 200,[REMOTE_ADDR] => 188.23.47.33,[REMOTE_PORT] => 52988,[REQUEST_METHOD] => GET,[REQUEST_URI] => /piwik/,[SCRIPT_FILENAME] => /var/www/web65/html/cms/piwik/index.php,[SCRIPT_NAME] => /piwik/index.php,[SERVER_ADDR] => 82.96.90.172,[SERVER_ADMIN] => [no address given],[SERVER_NAME] => www.mywebsite.com,[SERVER_PORT] => 80,[SERVER_PROTOCOL] => HTTP/1.1,[SERVER_SIGNATURE] => Apache Server at www.mywebsite.com Port 80

,[SERVER_SOFTWARE] => Apache,[PHP_SELF] => /piwik/index.php,[REQUEST_TIME] => 1246384592,[argv] => Array (),[argc] => 0),[_FILES] => Array (),[HTTP_POST_FILES] => Array (),[_REQUEST] => Array ([piwik_visitor1] => 1=YzI2YThiN2FhZmRhYmIyNzZmMWVlOGFmZWUyZTRlYzg=:2=MTI0NTU4NjEyNg==:3=MTI0NTU4NjEyNg==:4=NTgyNg==:5=NQ==:11=MQ==:8=Mw==:9=c3ViczAyLmNsaWNrdGFsZS5uZXQ=:10=:6=NTU1OQ==:7=MTI0NTA3NTIxOA==,[WRUID] => 0,[d0697c80a0e0843aad9a8ea0b7596dcd] => 39847b68c7a8ccd3162017261136b073,[6be9e2e64d2b570a3b98d7cef2a27451] => 82f671dd25104378ee495381b976d4d2),[piwik_minimumPHPVersion] => 5.1.3,[piwik_currentPHPVersion] => 5.2.10,[piwik_zend_compatibility_mode] => ,[HTTP_SESSION_VARS] => Array (),[_SESSION] => Array (),[_Event_Dispatcher] => Array ([NotificationClass] => Event_Notification))) called at /var/www/web65/html/cms/piwik/core/PluginsManager.php:509 #1 require_once(/var/www/web65/html/cms/piwik/core/PluginsManager.php) called at /var/www/web65/html/cms/piwik/core/FrontController.php:24 #2 require_once(/var/www/web65/html/cms/piwik/core/FrontController.php) called at /var/www/web65/html/cms/piwik/index.php:48

Does someone know more about this - or can help?

Change History

  Changed 3 years ago by vipsoft

  • status changed from new to closed
  • resolution set to duplicate
  • milestone changed from 2- DigitalVibes to 1 - Piwik 0.4.2

  Changed 3 years ago by mic

thx for closing. but a short message (or link) how to solve would be not so bad ...

in the meantime a found everything (costs me 35 minutes from work). thank you!

  Changed 3 years ago by vipsoft

You need to update to 0.4.1.

The line number above (509) suggests you didn't update completely/successfully.

follow-up: ↓ 6   Changed 3 years ago by mic

I had not updated anything. Just wanted to login into my Piwik statistics (v.0.4.0).

A tip for the future: if there is a major release of php out and Piwik is NOT compatible with it, a short notice (via Piwik website, 1st page) or a notification via email would not that bad.

I am curious how Piwik will perform with php 5.3.0 .. or 6.x? Did one of you ever tried one of these php versions?

  Changed 3 years ago by matt

mic, piwik IS compatible with the major release; a tip for the future: upgrade your version to the latest before submitting bug report.

Of course we would love to receive your help to ensure that Piwik works fine in 5.3 or 6.x, I don't think anyone does testing on new releases in the team. thanks

in reply to: ↑ 4   Changed 3 years ago by vipsoft

Replying to mic:

I had not updated anything. Just wanted to login into my Piwik statistics (v.0.4.0).

Ok. It's just that you wrote 0.4.1 in your original bug report.

  Changed 3 years ago by mic

Sorry for that confusion - my fault! But there are so many version numbers in my head (also here: 0.4.0, 0.4.1, 0.4.2).

I am using now the SVN-files (yesterday) - Piwik works now at it should. When i am ready with the current project, i will make some tests with php 5.3.x and report here. With 6.x i have to look - cannot guarantee that i will have time for.

btw: with Major Release do you mean the php release. Only asking, because 5.3.0 is the current major release - or i am wrong?

Note: See TracTickets for help on using tickets.