Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
Fatal error: Uncaught exception 'Exception' with message 'Unknown protocol ' in /var/www/joomla/administrator/components/com_civicrm/civicrm/CRM/Mailing/MailStore.php:83
THe question I have is.... as I'm using multisites, and therefore the db prefix for my joomla install isn't the default jos_, it's now site1_ or something... would that affect civicrm?
mysql> select protocol, domain, name, is_default from civicrm_mail_settings;+----------+------------+------------------+------------+| protocol | domain | name | is_default |+----------+------------+------------------+------------+| NULL | FIXME.ORG | default | 0 | | 3 | testland.com | Development Test | 1 | +----------+------------+------------------+------------+here's the result. the protocol of the default email account is 3, which I assume is the code for pop3.
mysql> select value, ov.label from civicrm_option_value ov join civicrm_option_group og on (ov.option_group_id = og.id) where og.name = 'mail_protocol';+-------+----------+| value | label |+-------+----------+| 1 | IMAP | | 4 | Localdir | | 2 | Maildir | | 3 | POP3 | +-------+----------+4 rows in set (0.00 sec)
is there anything in the civicrm code which assumes the db prefixes are the default jos_ ?
// in case there is a problem with the connection fgets() returns false while ( strpos( $data, self::CRLF ) === false ) { $line = fgets( $this->connection, 512 ); /* If the mail server aborts the connection, fgets() will * return false. We need to throw an exception here to prevent * the calling code from looping indefinitely. */ if ( $line === false ) { $this->connection = null; throw new ezcMailTransportException( 'Could not read from the stream. It was probably terminated by the host.' ); } $data .= $line; }