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

Bug #7361 After upgrade call to undefined method
Submitted: 2006-04-11 00:48 UTC
From: dobes at lnx dot cz Assigned: avb
Status: Closed Package: HTML_QuickForm (version 3.2.5)
PHP Version: 5.1.2 OS: winXP
Roadmaps: (Not assigned)    
Subscription  


 [2006-04-11 00:48 UTC] dobes at lnx dot cz (Pavel Dobes)
Description: ------------ After upgrade, I found error: Fatal error: Call to undefined method HTML_QuickForm_image::HTML_QuickForm_element() in C:\php5\PEAR\HTML\QuickForm\input.php on line 50 I have installed this related classes: HTML_Common 1.2.2 stable HTML_QuickForm 3.2.5 stable HTML_QuickForm_Controller 1.0.5 stable HTML_QuickForm_advmultiselect 1.2.0 stable It looks like the image form element is not defined.

Comments

 [2006-04-11 07:59 UTC] dobes at lnx dot cz
when I use: $form->addElement('submit', 'prev', 'prev'); it's OK, $form->addElement('image', 'prev', '../images/arrow_le.png'); failed, but next row with image button works as usual... $form->addElement('image', 'next', '../images/arrow_ri.png'); Why $form->addElement('image', 'prev', '../images/arrow_le.png'); produce error? I don't know it. PaD
 [2006-04-11 08:22 UTC] avb (Alexey Borzov)
Please provide full code to reproduce the error, not just a part of it.
 [2006-04-12 10:09 UTC] dobes at lnx dot cz
Tis error occure, when the pecl extension APC is on... May be it's APC bug more than QuickForm.
 [2006-04-12 10:11 UTC] avb (Alexey Borzov)
If it works OK without APC and does not work with APC enabled, then this is not a bug in QuickForm. Please submit a bug report for APC instead.