Home » HTML » HTML_QuickForm » Bug #7361
After upgrade call to undefined method
Details
| Submitted | 2006-04-11 00:48 UTC |
|---|---|
| From | dobes at lnx dot cz |
| Assigned | avb |
| Status | Closed |
| Package | HTML_QuickForm |
| PHP Version | 5.1.2 |
| OS | winXP |
| Roadmaps | (Not assigned) |
Comments
[2006-04-11 00:48 UTC] dobes at lnx dot cz
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.
[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-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.