[imp] IMP/HORDE and passwd.
Eric Jon Rostetter
eric.rostetter@physics.utexas.edu
Thu, 14 Mar 2002 17:43:17 -0600
Quoting Christopher Thompson <christ@acedsl.com>:
> I was wondering if anyone might have a tweak or 2 for the passwd module.
When did you download the passwd module? It's changed over time...
I know there is no version numbers (my bad) but maybe you can tell
me the last date in the docs/CHANGES file?
> I am receieving the following error
>
> -------------------------
> Warning: Undefined index: admins in
> /var/www/html/horde/horde/passwd/templates/main.inc on line 23
>
> Warning: Wrong datatype for second argument in call to in_array in
> /var/www/html/horde/horde/passwd/templates/main.inc on line 23
> -------------------------
What if anything is the value of the $conf['auth']['admins']
array in your horde/config/horde.php file. It tries to get the
value from here. I expect it isn't defined in your horde.php file?
Also, when do you get these errors? When you first visit the page?
When you try to change the password?
> I know that this has something to do with the defined "admins" for horde
> but
> im a little confused about it complaining about the "Wrong datatype".
Well, I'm guessing you didn't define the array. The code just assumes
the array exists, and passes it in a function. I assume the fix is
to add some checks (isset() calls) in the code. But if you could
answer my above questions it would help!
--
Eric Jon Rostetter
The Department of Physics
The University of Texas at Austin
Austin, Texas 78712-1081
Office: RLM 7.126
Telephone: 512-471-5821
Email: eric.rostetter@physics.utexas.edu
Fragen Sie nicht was Ihre Kumputer tun koennen,
aber fragen Sie was Sie fur Ihre Kumputer koennen.