Summary | ldap search has error |
Queue | Turba |
Queue Version | 3.0.2 |
Type | Bug |
State | No Feedback |
Priority | 1. Low |
Owners | |
Requester | whatdoyouwant (at) gmail (dot) com |
Created | 05/16/2011 (5167 days ago) |
Due | |
Updated | 07/01/2011 (5121 days ago) |
Assigned | 05/16/2011 (5167 days ago) |
Resolved | 07/01/2011 (5121 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Feedback
backend.local.php.
I added that if statement..
(a shared one)
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ ldap search has error
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
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] =>
)