Piwik work bugs in php5.4.10

piwik can’t show data.

[attachment 1042 20121223151411.png]

php log show:

[23-Dec-2012 06:53:17 UTC] PHP Fatal error: 2 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://tj.domain.net/index.php?module=API&method=VisitsSummary.getVisits&idSite=3&period=day&date=last52&format=php&token_auth=b52eb4903656e1aada0e2faef8b8122c&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of ‘memory_limit’ in your php.ini file. Please check your W in e:\wwwroot\VUSER_Site\WWW\Auto\XD\mybb\wwwroot\piwik\misc\cron\archive.php on line 561

memory_limit has config to 512M, but it sill wrong.

I just posted a guide to sushosin memory if applicable.

Suhosin Install Guide great info page for suhosin

the line

suhosin.memory.limit = 512M (or what ever you need, you may need to delete the M as i have seen some examples without it)

Also what version of python do you have running? Ideally 2.7.x if applicable.

[quote=lesjokolat]
I just posted a guide to sushosin memory if applicable.

Suhosin Install Guide great info page for suhosin

the line

suhosin.memory.limit = 512M (or what ever you need, you may need to delete the M as i have seen some examples without it)

Also what version of python do you have running? Ideally 2.7.x if applicable.[/quote]

suhosin.memory.limit =512 or suhosin.memory.limit =512M all can’t normal work for piwik.

why about python ?

the piwik seem can’t record any data now!~ :frowning:

[attachment 1046 20121224112719.jpg]

[suhosin]
suhosin.cookie.encrypt=on
suhosin.cookie.cryptkey=e8gtf21bc2fjg1f902b8
suhosin.session.encrypt=on
suhosin.session.cryptkey=e8edc21ikudf71f902b9
suhosin.session.cryptua=on
suhosin.request.max_vars=16384
suhosin.request.max_array_index_length=256
suhosin.post.max_array_index_length=256
suhosin.request.max_totalname_length=8192
suhosin.post.max_totalname_length=8192
suhosin.get.max_value_length=1024
suhosin.cookie.max_array_depth = 256
suhosin.cookie.max_array_index_length = 256
suhosin.cookie.max_name_length = 512
suhosin.cookie.max_value_length = 16384
suhosin.cookie.max_vars = 2000
suhosin.get.max_array_depth = 256
suhosin.get.max_array_index_length = 256
suhosin.get.max_name_length = 512
suhosin.get.max_value_length = 4096
suhosin.get.max_vars = 2000
suhosin.request.max_array_depth = 256
suhosin.post.max_array_depth = 256
suhosin.post.max_name_length = 512
suhosin.post.max_vars = 16384
suhosin.post.max_value_length =65000
suhosin.request.max_varname_length = 512
suhosin.memory_limit = 2048
suhosin.cookie.max_totalname_length = 1024
suhosin.log.syslog=S_ALL & ~S_SQL
suhosin.log.file=1
suhosin.log.file.name=suhosin.log

Hi ok lets get to basics a bit.

What is the server environment?

Which Piwik version?

The 500 error are you using a special .htaccess file?

Why about python, if you are using some sort of api request to populate a report it may be using python to underpin things.

Is the server a shared server, a VPS system? Perhaps the isp could be constricting the memory allowed?

How are you placing the piwik tracking code? is it via an include file?

Can you access any error logs?

server is IIS7.5 PHP5.4.10 X64 PIWIKI 1.9.2
NO .htaccess IN piwik site

server support python, but I have no use it.

myself server.

piwik tracking code no change, just place in index.php

yes ,I can see any logs.

I think should is cookie.encrypt issue. I try disable suhosin now, piwik still can’t normal work.

What is the error message in your server error logs ?

[quote=yon]
piwik can’t show data.

[attachment 1042 20121223151411.png]

php log show:

[23-Dec-2012 06:53:17 UTC] PHP Fatal error: 2 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://tj.domain.net/index.php?module=API&method=VisitsSummary.getVisits&idSite=3&period=day&date=last52&format=php&token_auth=b52eb4903656e1aada0e2faef8b8122c&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of ‘memory_limit’ in your php.ini file. Please check your W in e:\wwwroot\VUSER_Site\WWW\Auto\XD\mybb\wwwroot\piwik\misc\cron\archive.php on line 561[/quote]

piwik show “Oops… problem during the request, please try again.”

now piwik can’t record any visit data.

[attachment 1048 20121226233036.jpg]

just now I change suhosin config file in php.ini. but piwik can’t track user sites visit new data.
suhosin.get.max_value_length = 40960
suhosin.post.max_value_length =650000