[Tickets #10086] ldap search has error

bugs at horde.org bugs at horde.org
Mon May 16 15:13:40 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10086
------------------------------------------------------------------------------
  Ticket             | 10086
  Created By         | whatdoyouwant at gmail.com
  Summary            | ldap search has error
  Queue              | Turba
  Version            | 3.0.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


whatdoyouwant at gmail.com (2011-05-16 15:13) wrote:

first the fix:
turba/templates/browse/row.inc :

    if (!isset($this->variables[$this->columns[$c - 1]])) {
         if ($type == 'email') {
             $this->variables[$this->columns[$c - 1]] =
                 new Horde_Form_Variable('', $this->columns[$c - 1],
                                         Horde_Form::getType('html'), false);
         } else {
                 if ($type != '') // THIS IS THE LINE THAT FIXES IT  
(for me) (line 113)
             $this->variables[$this->columns[$c - 1]] =
                 new Horde_Form_Variable('', $this->columns[$c - 1],
                                         Horde_Form::getType($type, $params),
                                         false);
         }
     }


and the problem:
A fatal error has occurred
Nonexistant class "Horde_Form_Type_" for field type ""
1. Turba_View_List->display() /var/www/html/home/turba/search.php:276
2. Turba_View_List->getPage() /var/www/html/home/turba/lib/View/List.php:188
3. Turba_View_List->_get() /var/www/html/home/turba/lib/View/List.php:255
4. include() /var/www/html/home/turba/lib/View/List.php:406
5. Horde_Form->getType() /var/www/html/home/turba/templates/browse/row.inc:82
Details
The full error message is logged in Horde's log file, and is shown  
below only to administrators. Non-administrative users will not see  
error details.
Horde_Exception Object
(
     [details] =>
     [message:protected] => Nonexistant class "Horde_Form_Type_" for  
field type ""
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] => /usr/share/pear/Horde/Form.php
     [line:protected] => 163
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [file] =>  
/var/www/html/home/turba/templates/browse/row.inc
                     [line] => 82
                     [function] => getType
                     [class] => Horde_Form
                     [type] => ->
                     [args] => Array
                         (
                             [0] =>
                             [1] => Array
                                 (
                                 )

                         )

                 )

             [1] => Array
                 (
                     [file] => /var/www/html/home/turba/lib/View/List.php
                     [line] => 406
                     [args] => Array
                         (
                             [0] =>  
/var/www/html/home/turba/templates/browse/row.inc
                         )

                     [function] => include
                 )

             [2] => Array
                 (
                     [file] => /var/www/html/home/turba/lib/View/List.php
                     [line] => 255
                     [function] => _get
                     [class] => Turba_View_List
                     [type] => ->
                     [args] => Array
                         (
                             [0] => 0
                             [1] => Turba_View_List_PageFilter Object
                                 (
                                     [_min:protected] => 0
                                     [_max:protected] => 100
                                     [_count:protected] => 1
                                 )

                         )

                 )

             [3] => Array
                 (
                     [file] => /var/www/html/home/turba/lib/View/List.php
                     [line] => 188
                     [function] => getPage
                     [class] => Turba_View_List
                     [type] => ->
                     [args] => Array
                         (
                             [0] => 0
                             [1] => 0
                             [2] => 100
                         )

                 )

             [4] => Array
                 (
                     [file] => /var/www/html/home/turba/search.php
                     [line] => 276
                     [function] => display
                     [class] => Turba_View_List
                     [type] => ->
                     [args] => Array
                         (
                         )

                 )

         )

     [previous:Exception:private] =>
)






More information about the bugs mailing list