| Anonymous | Login | Signup for a new account | 2013-05-24 17:57 PDT | ![]() |
| Main | My View | View Issues | Change Log | Repositories |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0000355 | Friendica | contacts | public | 2012-03-31 01:59 | 2012-06-11 02:06 | ||||||
| Reporter | dawnbreak | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | crash | Reproducibility | always | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | web | OS | linux/unix | OS Version | any | ||||||
| Product Version | dev | ||||||||||
| Fixed in Version | |||||||||||
| Summary | 0000355: Error adding new RSS-feed contact | ||||||||||
| Description | I wanted to add the RSS feed from http://www.mdg.no/ [^] and got an empty page as result. In the Apache error log I found this: [Sat Mar 31 10:51:05 2012] [error] [client [IP]] PHP Warning: DOMDocument::createElementNS(): Namespace Error in /srv/[path]/friendica/library/HTML5/TreeBuilder.php on line 3040, referer: http://[url]/contacts [^] [Sat Mar 31 10:51:05 2012] [error] [client [IP]] PHP Fatal error: Call to a member function hasAttribute() on a non-object in /srv/[path]/friendica/library/HTML5/TreeBuilder.php on line 3050, referer: http://[url]/contacts [^] | ||||||||||
| Steps To Reproduce | Go to contacts page and add http://www.mdg.no/ [^] as new contact. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0000678) faya (reporter) 2012-06-11 02:00 |
I could reproduce the same bug with this page : lesjoiesducode.tumblr.com and i found that the problem is coming from the social tags like <fb:like> or <g:plusone>. I solved it in a very dirty way, by adding if(substr($token['name'],0,3)=="fb:" || $token['name']=='g:plusone') return false; at line 3040 in library/HTML5/TreeBuilder.php so just before the guilty function. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-03-31 01:59 | dawnbreak | New Issue | |
| 2012-06-11 02:00 | faya | Note Added: 0000678 | |
| 2012-06-11 02:06 | faya | Issue Monitored: faya | |
| Copyright © 2000 - 2010 MantisBT Group |