CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Multi-Site functionality »
  • sending test civimails giving erro
Pages: [1]

Author Topic: sending test civimails giving erro  (Read 1293 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
sending test civimails giving erro
November 30, 2010, 08:22:57 pm
We're sending an error when sending test multisite e-mails to a single contact. The error is that it is hitting the civicrm_token function in multisite 3 times

On the third time &$contactIDs is empty resulting in an invalid query. On the third time the $values array holds the details for all the real recipients for the e-mail which seems unnecessary

I have worked around this in our install by adding

if (empty($contactIDString)){
return;
}

after the $contactIDString is compiled but I suspect the real answer is not to call the token function the third time for a test mailing since it is unecessary load
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Multi-Site functionality »
  • sending test civimails giving erro

This forum was archived on 2017-11-26.