[imp] Problem with vinfo hook & realms

Todd Aiken taiken at ubishops.ca
Thu Jul 22 11:57:07 PDT 2004


Okay, with some help from Chuck, I was able to fix conf.php, got the 
vinfo hook working, and confirmed with an echo command that the right 
value is being returned corresponding to my username, a ".", and the 
value in my realm ("todd.bishops" in my case).  But now I am getting 
the following errors after clicking the log in button:

Warning: Invalid argument supplied for foreach() in 
/usr/local/apache/htdocs/horde2/imp/lib/IMP.php on line 92

Warning: Undefined variable: server_key in 
/usr/local/apache/htdocs/horde2/imp/lib/IMP.php on line 104

Warning: Undefined variable: server_key in 
/usr/local/apache/htdocs/horde2/imp/lib/IMP.php on line 109

Warning: Undefined variable: server_key in 
/usr/local/apache/htdocs/horde2/imp/lib/IMP.php on line 114

Warning: Undefined variable: server_key in 
/usr/local/apache/htdocs/horde2/imp/lib/IMP.php on line 119

Warning: Cannot add header information - headers already sent by 
(output started at 
/usr/local/apache/htdocs/horde2/imp/config/conf.php:393) in 
/usr/local/apache/htdocs/horde2/imp/redirect.php on line 109

Warning: Can't open mailbox {:/}: invalid remote specification 
(errflg=2) in Unknown on line 0

php -l IMP.php shows no syntax errors.

Setting up a second server in servers.php with no realm gives the 
same errors.


CU L8R...

Todd A. Aiken 
Systems Analyst - Administrator
Cole Computer Centre
BISHOP'S UNIVERSITY
Lennoxville, Quebec, CANADA

"GUIs on servers... That's like putting an air conditioner on a 
motorcycle...
 or HTML in an email message."

-----BEGIN GEEK CODE BLOCK-----
Version 3.12 (http://www.geekcode.com)
GCS$/MU d+(-) s++:+ a C++$ UL++++$ P+ L++ E->+ W+>++ N++ o? K-
w O- M V? PS PE- Y PGP- t+ 5 X R- tv+ b DI(+) D++ G e+ h !r>r+++ y-
------END GEEK CODE BLOCK------





More information about the imp mailing list