Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.8

Bug #9328 assigned by reference error in XML_RSS parse
Submitted: 2006-11-13 20:40 UTC
From: mmclaughlin at newtier dot com Assigned: ashnazg
Status: Closed Package: XML_Parser
PHP Version: 4.4.4 OS: FreeBSD
Roadmaps: 1.3.2    
Subscription  


 [2006-11-13 20:40 UTC] mmclaughlin at newtier dot com (Mike McLaughlin)
Description: ------------ I wrote a script to gather an external RSS feed that I could use to show the user and have them select the articles of their choosing. If a RSS feed is used that does not exist I get a MESSAGE: Only variables should be assigned by reference. Test script: --------------- $url = 'www.rssfeednotexist.com'; $rss =& new XML_RSS($url); $error = $rss->parse(); Expected result: ---------------- Return an error back to my script which I could handle and display a message. Actual result: -------------- MESSAGE: Only variables should be assigned by reference TYPE: Notice FILE: /usr/local/www/data/mmclaughlin/flexreg/trunk/lib/pear/XML/Parser.php LINE: 479 DEBUG INFO: 474 } 475 } 476 // otherwise, $this->fp must be a string 477 } else { 478 if (!$this->_parseString($this->fp, true)) { 479 $error = &$this->raiseError(); 480 $this->free(); 481 return $error; 482 } 483 } 484 $this->free();

Comments

 [2006-11-13 23:42 UTC] mmclaughlin at newtier dot com
Adjusted from documentation package to XML_RSS package
 [2007-10-31 14:30 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2008-09-16 15:19 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2008-09-16 15:20 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2008-09-16 16:06 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!