[dev] Horde_Form dependencies

Jan Schneider jan at horde.org
Tue Apr 11 01:35:19 PDT 2006


Zitat von Vilius Šumskas <vilius at lnk.lt>:

> Hello,
>
> recently I updated from cvs on one of my servers, where I had year and
> a half old Horde_Form application. It looks like Horde_Form package
> became dependant on Horde_NLS and more over on Horde_Registry. If I
> add "require_once 'Horde/NLS.php';" in my application I get:
>
> Fatal error: Call to a member function on a non-object in
> /usr/share/pear/Horde.php on line 271
>
> The same goes if I add require_once 'Horde/Registry.php'.

The problem is that you seem to use a form field that requires some  
javascript. To determine the location of the javascript file, we need  
to request the registry.
Same with NLS, it's only required with some fields, afaics only  
"number" at the moment.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list