[MRBS-general] fatal error when attempting mrbs multiple imap authentication
Brought to you by:
jberanek
From: Scott L. <sco...@ya...> - 2012-02-23 00:18:15
|
Hi all, I am currently trying to make mrbs authenticate from 2x concurrent imap servers. I can use either server to authenticate individually, by using: 68 $auth["session"]="php"; 69 $auth["type"]="imap"; 70 71 $imap_host = "192.168.1.80"; 72 $imap_port = "143"; or 68 $auth["session"]="php"; 69 $auth["type"]="imap"; 70 71 $imap_host = "192.168.1.84"; 72 $imap_port = "143"; and they work fine. But when i copy and paste (and then edit) the "authentication" document's example (ie. to try to configure mrbs to use multiple imap servers at once), with: 71 $imap_host [] = "192.168.1.80"; 72 $imap_host [] = "192.168.1.84"; 73 $imap_port = "143"; I get the following error: Fatal error: [] operator not supported for strings in c:\wamp\www\config.inc.php on line 71 Is there a way to configure/setup imap_host as an array variable, or some other way to make both servers work? I have made no changes to my auth_imap.inc (nor auth_imap_php), but I am happy to post their contents if this would help. Thanks again, Scott |