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

Piwik Error : RssRenderer.php(47): Warning - simplexml_load_string() #11346

Closed
ziaratban opened this issue Feb 16, 2017 · 3 comments
Closed

Piwik Error : RssRenderer.php(47): Warning - simplexml_load_string() #11346

ziaratban opened this issue Feb 16, 2017 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@ziaratban
Copy link

i install piwik and after login , i get this errors :

WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): ^ - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): " marginheight="0" frameborder="0" vspace="0" hspace="0"></iframe></body></html> - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): Entity: line 2: parser error : Premature end of data in tag html line 1 - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): " marginheight="0" frameborder="0" vspace="0" hspace="0"></iframe></body></html> - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): ^ - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): Entity: line 2: parser error : Opening and ending tag mismatch: head line 1 and html - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): ^ - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): </title></head><body><iframe src="http://10.10.34.34?type=Invalid Site&policy=Ma - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): ^ - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): Entity: line 2: parser error : EntityRef: expecting ';' - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): </title></head><body><iframe src="http://10.10.34.34?type=Invalid Site&policy=Ma - 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)
WARNING: .../plugins/RssWidget/RssRenderer.php(47): Warning - simplexml_load_string(): Entity: line 2: parser error : Opening and ending tag mismatch: meta line 1 and head - 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)
@tsteur
Copy link
Member

tsteur commented Feb 16, 2017

It looks like the document / feed you receive is misformed.

Which PHP version is that on? I presume you installed Piwik 3.0.1? It may work if you remove the "Piwik blog" widget from your dashboard.

In case you are familiar with PHP, you could debug what feed content you get by temporarily replacing

$rss = simplexml_load_string($content);

with

return htmlentities($content);
$rss = simplexml_load_string($content);

and then replacing the blog widget in your Piwik dashboard

@ziaratban
Copy link
Author

yes i installed piwik 3.0.1 .
i disabled RssWidget plugin and my problem is solved.

@tsteur
Copy link
Member

tsteur commented Feb 17, 2017

OK thank you for letting us know. The actual problem persists but likely related to server configuration.

@tsteur tsteur closed this as completed Feb 17, 2017
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants