Begin forwarded message:

Date: Wed, 12 Oct 2005 15:03:27 +0200
From: Thomas Bruederli <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: Multiple domain drop down


With the latest version, you can also set an associative array to have
a 'nice' label displayed in the hosts pulldown:

array('sitea.com' => 'Server A', 'siteb.com' => 'Server B');

or if you have to specify different connections:

array('ssl://server.com' => 'Secure Server', 'server.com' => 'Unsecure Server');

Thomas

2005/10/12, justin randell <[EMAIL PROTECTED]>:
> try this:
>
> $rcmail_config['default_host'] = array('sitea.com', 'siteb.com',
> 'sitec.com');
>
> or:
>
> $rcmail_config['default_host'][] = 'sitea.com';
> $rcmail_config['default_host'][] = 'siteb.com';
> $rcmail_config['default_host'][] = 'sitec.com';
>
> cheers
> justin
>
>
> Greg Miller wrote:
>
> >That's what I thought.  When I put in my domain like that I get the
> >following error in firefox:
> >
> >Parse error: parse error, unexpected '['
> >in /var/www/localhost/htdocs/roundcubemail/config/main.inc.php on line
> >33
> >
> >Line 33 of main.inc.php:
> >
> >$rcmail_config['default_host'] = ['sitea.com', 'siteb.com',
> >'sitec.com'];
> >
> >Thanks for the help!
> >
> >On Wed, 2005-10-12 at 00:09 -0400, Praneet Kandula wrote:
> >
> >
> >
> >>if it's an array, it should be ['sitea.com', 'siteb.com', 'sitec.com']
> >>etc.
> >>
> >>
> >>
> >>
> >>On 10/11/05, Greg Miller <[EMAIL PROTECTED]> wrote:
> >>
> >>        I have tried everything I can think of to get the drop down
> >>        box with multiple domains for selection at login to work.
> >>        What do I have to do?
> >>        I have tried:
> >>        'sitea.com siteb.com'
> >>        'sitea.com, siteb.com'
> >>        'sitea.com'
> >>        siteb.com'
> >>
> >>        I'm pretty sure it's something stupid that I'm overlooking.
> >>        Thanks in advance for the help.
> >>        --
> >>        Greg Miller
> >>        www.mainstaydata.com
> >>
> >>
> >>
> >>
> >>
> >
> >--
> >Greg Miller
> >www.mainstaydata.com
> >
> >
> >
>
>
>

From: Chris Wallace <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: Install Help
Date: Thu, 13 Oct 2005 15:39:35 -0400
X-Mailer: Evolution 2.4.1 

I got this issue figured out and I have roundcube up and running. I have
another question. I see in the main.inc.php you can enter multiple hosts
so users have a drop down list, what is the syntax to define the
multiple hosts?

Chris

On Thu, 2005-10-13 at 20:14 +0100, Geoffrey McCaleb wrote:
> Can you login from the command line like so: 
> 
> /mysql -u USERNAME -p dbname?
> 
> Do you have phpmyadmin?
> 
> Geoffrey
> 
> On Thu, 13 Oct 2005 14:54:49 -0400, Chris Wallace <[EMAIL PROTECTED]> wrote:
> > I am getting the following error when I try to access the webmail
> > interface. Any suggestions? I have configured the database and double
> > checked the permissions, I am using mysql.
> > 
> > ############################
> > 
> > DB Error in /var/www/html/roundcube/program/include/rcube_db.inc (63):
> > DB Error: connect failed
> > 
> > Fatal error: Call to undefined function: query()
> > in /var/www/html/roundcube/program/include/rcube_db.inc on line 119
> > 
> > ############################
> 
> 
> 
> 





Reply via email to