[dev] turba add problem for non-admins

Chuck Hagenbuch chuck at horde.org
Tue Nov 23 13:10:36 PST 2004


Quoting Gary Casterline <casterln at nature.Berkeley.EDU>:

> When adding to local mysql addressbook, I get a blank page
> and these errors in the php log:
>
> [23-Nov-2004 12:47:43] PHP Warning:  in_array(): Wrong datatype for
> second argument in /opt/httpd-prefork/htdocs/horde/turba/lib/Turba.php
> on line 158
> [23-Nov-2004 12:47:43] PHP Fatal error:  Call to a member function on a
> non-object in /opt/httpd-prefork/htdocs/horde/turba/lib/Turba.php on
> line 185

Looks like you have bad data being passed through that function - can 
you put a
var_dump($in) somewhere up above those lines (same function) and let me know
what you get?

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list