[dev] whups's Horde_Form_Type_datetime

Duck duck at obala.net
Thu Aug 10 07:49:05 PDT 2006


I tried to merge Chuck's yesterday Horde_Form_Type_datetime field in Gulliver 
but I encounter warning messages when submitting a form saying that minute 
and seconds are undefined. But they are. And if the form has an image type 
too, it fails with fatal error.  Call stack is  attached.

Duck
-------------- next part --------------
Notice: Undefined index: second in /usr/lib/php5/share/pear/Horde/Form.php on line 2906
Call Stack
#   Function    Location
1   {main}()    /var/www/localhost/htdocs/horde/news/add.php:0
2   Horde_Form->getInfo()   /var/www/localhost/htdocs/horde/news/add.php:156
3   Horde_Form->_getInfoFromVariables() /usr/lib/php5/share/pear/Horde/Form.php:649
4   Horde_Form_Variable->getInfo()  /usr/lib/php5/share/pear/Horde/Form.php:691
5   Horde_Form_Type_datetime->getInfo() /usr/lib/php5/share/pear/Horde/Form.php:4176
6   Horde_Form_Type_datetime->getTimeOb()   /var/www/localhost/htdocs/horde/news/lib/Form/Type/datetime.php:50
7   Horde_Form_Type_hourMinuteSecond->getTimeOb()   /var/www/localhost/htdocs/horde/news/lib/Form/Type/datetime.php:91

Notice: Undefined property: Horde_Date::$minute in /var/www/localhost/htdocs/horde/news/lib/Form/Type/datetime.php on line 52
Call Stack
#   Function    Location
1   {main}()    /var/www/localhost/htdocs/horde/news/add.php:0
2   Horde_Form->getInfo()   /var/www/localhost/htdocs/horde/news/add.php:156
3   Horde_Form->_getInfoFromVariables() /usr/lib/php5/share/pear/Horde/Form.php:649
4   Horde_Form_Variable->getInfo()  /usr/lib/php5/share/pear/Horde/Form.php:691
5   Horde_Form_Type_datetime->getInfo() /usr/lib/php5/share/pear/Horde/Form.php:4176


Fatal error: Call to undefined method Horde_Form_Type_image::_loadImageData() in /usr/lib/php5/share/pear/Horde/UI/VarRenderer/html.php on line 156
Call Stack
#   Function    Location
1   {main}()    /var/www/localhost/htdocs/horde/news/add.php:0
2   Horde_Form->renderActive()  /var/www/localhost/htdocs/horde/news/add.php:354
3   Horde_Form_Renderer->renderFormActive() /usr/lib/php5/share/pear/Horde/Form.php:470
4   Horde_Form_Renderer->_renderForm()  /usr/lib/php5/share/pear/Horde/Form/Renderer.php:226
5   Horde_UI_VarRenderer->render()  /usr/lib/php5/share/pear/Horde/Form/Renderer.php:279
6   Horde_UI_VarRenderer_html->_renderVarInput_image()  /usr/lib/php5/share/pear/Horde/UI/VarRenderer.php:105


More information about the dev mailing list