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 »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Warning: mysqli_error() on first test mailing...
Pages: [1]

Author Topic: Warning: mysqli_error() on first test mailing...  (Read 628 times)

chris

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: WordPress
  • MySQL version: MySQL5
  • PHP version: 5.5
Warning: mysqli_error() on first test mailing...
January 11, 2015, 09:02:02 am
Hi, virgin WP/civi install was flawless until my first test mail. I tried with template and uploaded HTML, same result (below) any ideas? Many thanks.

Warning: mysqli_error() expects parameter 1 to be mysqli, resource given in ...clickandbuilds/TalismanTheatre/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php on line 224

Warning: Cannot modify header information - headers already sent by (output started at ...clickandbuilds/TalismanTheatre/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php:224) in ...clickandbuilds/TalismanTheatre/wp-includes/option.php on line 748

Warning: Cannot modify header information - headers already sent by (output started at ...clickandbuilds/TalismanTheatre/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php:224) in ...clickandbuilds/TalismanTheatre/wp-includes/option.php on line 749

Warning: mysqli_error() expects parameter 1 to be mysqli, resource given in ...clickandbuilds/TalismanTheatre/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php on line 224

chris

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: WordPress
  • MySQL version: MySQL5
  • PHP version: 5.5
Re: Warning: mysqli_error() ...a week later :(
January 18, 2015, 07:15:29 am
Hi, no replies :(  tearing my hair out here--a week later. The problem seems intermittent :P My Admin console is all red.

Upon sending our newsletter to a test group I get.

Warning: mysqli_error() expects parameter 1 to be mysqli, resource given in ...clickandbuilds/TalismanTheatre/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php on line 224

Sometimes mail() works, sometimes SMTP.

This is a multi-lingual install. I see that biologyben had a similar problem, indicating country selection.

Could it be something as dumb as an interrupted session at the service provider's end?

I'm a little disheartened, here. I know I'm a PITA CiviCRM newbie, but some community support would be nice. Thanks.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Warning: mysqli_error() on first test mailing...
January 19, 2015, 04:57:27 am
These are in reality just warnings, not errors. Does everything work as expected?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

chris

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: WordPress
  • MySQL version: MySQL5
  • PHP version: 5.5
Re: Warning: mysqli_error() on first test mailing...
January 19, 2015, 06:51:36 am
Thanks Hershel. That's quite a learning curve--a lot of configs. For the record (and anyone who might find it useful)... It seems that I had a combination of server (not-CivCRM) issues: Cron only works with the URL method; SMTP only works with port 25 (as per CiviCRM docs, not my ISP [1&1.ca] docs =587); progressive jpgs were causing an Error 500, Line limit exceeded; I could only import 100 records at a time as csv = 85 uploads; lastly, I had to set cron to 10 mins, choke CiviMail to 55msgs with 10sec delay. Bottom line = 27 hrs/mailing.

But it is chugging away, I'll check the report tomorrow at noon. I'm going for a walk.

Thanks again

Chris (a not-so-new and very tired newbie)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Warning: mysqli_error() on first test mailing...

This forum was archived on 2017-11-26.