[Tickets #7415] Re: Better display of HTML and Atom content in feed block

bugs at horde.org bugs at horde.org
Wed Mar 23 09:09:32 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7415
------------------------------------------------------------------------------
  Ticket             | 7415
  Updated By         | rsalmon at mbpgroup.com
  Summary            | Better display of HTML and Atom content in feed block
  Queue              | Horde Base
  Version            | HEAD
  Type               | Enhancement
  State              | Accepted
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2011-03-23 09:09) wrote:

re·viving this issue :-)

Using horde-git, feed http://travaux.ovh.net/rss.php now looks Ok.

however, I get the following errors in horde.log :

2011-03-23T09:53:13+01:00 DEBUG: HORDE [horde] PHP ERROR: Function  
HttpRequest::setRawPostData() is deprecated [pid 28498 on line 63 of  
"/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php"]
2011-03-23T09:53:13+01:00 DEBUG:  1.  
Horde_Core_Block_Layout_View->toHtml()  
/var/www/html/hordetest/services/portal/index.php:43
  2. Horde_Core_Block->getContent()  
/var/www/html/hordetest/libs/Horde/Core/Block/Layout/View.php:96
  3. Horde_Core_Block->_call()  
/var/www/html/hordetest/libs/Horde/Core/Block.php:164
  4. Horde_Block_Feed->_content()  
/var/www/html/hordetest/libs/Horde/Core/Block.php:234
  5. Horde_Block_Feed->_read() /var/www/html/hordetest/lib/Block/Feed.php:63
  6. Horde_Feed::readUri() /var/www/html/hordetest/lib/Block/Feed.php:109
  7. Horde_Http_Client->get() /var/www/html/hordetest/libs/Horde/Feed.php:108
  8. Horde_Http_Client->request()  
/var/www/html/hordetest/libs/Horde/Http/Client.php:96
  9. Horde_Http_Request_Peclhttp->send()  
/var/www/html/hordetest/libs/Horde/Http/Client.php:184
10. HttpRequest->setRawPostData()  
/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php:63
11. Horde::errorHandler()

2011-03-23T09:53:13+01:00 DEBUG: HORDE [horde] PHP ERROR: Function  
HttpRequest::setRawPostData() is deprecated [pid 28498 on line 63 of  
"/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php"]
2011-03-23T09:53:13+01:00 DEBUG:  1.  
Horde_Core_Block_Layout_View->toHtml()  
/var/www/html/hordetest/services/portal/index.php:43
  2. Horde_Core_Block->getTitle()  
/var/www/html/hordetest/libs/Horde/Core/Block/Layout/View.php:97
  3. Horde_Core_Block->_call()  
/var/www/html/hordetest/libs/Horde/Core/Block.php:140
  4. Horde_Block_Feed->_title()  
/var/www/html/hordetest/libs/Horde/Core/Block.php:234
  5. Horde_Block_Feed->_read() /var/www/html/hordetest/lib/Block/Feed.php:52
  6. Horde_Feed::readUri() /var/www/html/hordetest/lib/Block/Feed.php:109
  7. Horde_Http_Client->get() /var/www/html/hordetest/libs/Horde/Feed.php:108
  8. Horde_Http_Client->request()  
/var/www/html/hordetest/libs/Horde/Http/Client.php:96
  9. Horde_Http_Request_Peclhttp->send()  
/var/www/html/hordetest/libs/Horde/Http/Client.php:184
10. HttpRequest->setRawPostData()  
/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php:63
11. Horde::errorHandler()

$data is NULL. I replaced call to setRawPostData by setBody (as  
suggested by user comment  
http://php.net/manual/en/function.httprequest-setrawpostdata.php) and  
I don't get the error anymore.








More information about the bugs mailing list