Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings all over the page in every page (Warning - htmlentities(): charset 'Windows-1255' not supported) #12134

Closed
KuchiSofts opened this issue Sep 29, 2017 · 7 comments · Fixed by #12135
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@KuchiSofts
Copy link

Hi,
I reported this 1 year ago.
You get errors in every page
When did it start ? V3
V2 was all good but after update to V3 its start.
I tried to delete and reinstall … nothing
Piwik version: 3.1.2-b2
MySQL version: 5.6.36
PHP version: 5.6.31
Error :

WARNING: /home/piwik/domains/domain.com/private_html/core/API/DataTablePostProcessor.php(400): Warning - htmlentities(): charset 'Windows-1255' not supported, assuming utf-8 - Piwik 3.1.2-b2 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)

PrintScreen : https://forum.piwik.org/uploads/db1181/original/2X/8/8cf5c91e9dc3936a742001780c3f095d644c8ca1.png

@KuchiSofts KuchiSofts changed the title Warnings all over the page in every page (Warning - htmlentities(): charset `Windows-1255' not supported) Warnings all over the page in every page (Warning - htmlentities(): charset 'Windows-1255' not supported) Sep 29, 2017
@sgiehl
Copy link
Member

sgiehl commented Sep 29, 2017

Could you have a look at the output of phpinfo() and check what your default_charset is?

@KuchiSofts
Copy link
Author

default_charset
Local Value : Windows-1255
Master Value : Windows-1255

@Findus23
Copy link
Member

@BOSAA
Have you tried setting default_charset to "utf-8"?
Why are you using Windows-1255?

@KuchiSofts
Copy link
Author

i tried to set it utf-8 it not working .. and i have to use Windows-1255 due to my websites on my server (they are in Hebrew)
and piwik not support Hebrew

@sgiehl
Copy link
Member

sgiehl commented Sep 30, 2017

Ok. so the problem is that you use a charset that is not compatible with htmlentities. I'll check if we can change that in Piwik, so invalid charset aren't a problem here

@KuchiSofts
Copy link
Author

thanks !!!

@mattab mattab added this to the 3.2.0 milestone Oct 2, 2017
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Oct 2, 2017
@mattab
Copy link
Member

mattab commented Oct 4, 2017

Thanks for the report @BOSAA and @sgiehl for the solution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants