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

Bug #4725 Fatal error in QuickForm.php on line 594
Submitted: 2005-07-01 16:50 UTC
From: soenke at city-map dot de Assigned: avb
Status: Closed Package: HTML_QuickForm
PHP Version: 5_1 CVS-2005-07-01 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-07-01 16:50 UTC] soenke at city-map dot de
Description: ------------ PHP 5.1 latest CVS throws a fatal error on using QuickForm: Fatal error: Only variables can be passed by reference in /usr/lib/php/HTML/QuickForm.php on line 594 This is related to PHP Bug Tracker: http://bugs.php.net/bug.php?id=3351 This can be easily solved with a temp array (I did not look at the sense of the code, but it works then)! Reproduce code: --------------- Any usage of addElement() Expected result: ---------------- Working. Actual result: -------------- Only variables can be passed by reference in /usr/lib/php/HTML/QuickForm.php on line 594

Comments

 [2005-07-01 20:40 UTC] soenke at city-map dot de
Sorry, the PHP Bug DB Link was stripped to much - correct link is: http://bugs.php.net/bug.php?id=33516
 [2005-07-05 12:18 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!
 [2005-07-07 14:09 UTC] danielr at electroteque dot org
From advise from the patch, I have created a diff from cvs, any chance to get it in ? www.electroteque.org/pear/QuickForm/QuickForm.diff
 [2005-07-07 14:42 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!
 [2005-07-14 20:11 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!