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) »
  • Continued CiviMail Difficulty
Pages: [1]

Author Topic: Continued CiviMail Difficulty  (Read 1213 times)

isaac_wilder

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 4.2a1
  • CMS version: WP 3.4.2
  • MySQL version: Ver 14.14 Distrib 5.5.25a, for Linux (x86_64) using readline 5.1
  • PHP version: PHP 5.3.3-7+squeeze14 with Suhosin-Patch
Continued CiviMail Difficulty
January 04, 2013, 05:27:25 pm
I posted some time ago about an issue that I was having getting civimail to work. At the time, I couldn't get test mail to send. I have resolved that problem by tweaking some settings in postfix (my MTA), but I've now been struggling with another issue for a couple of weeks. I can't get scheduled mail to send. It shows up in scheduled mailings, but neither a manual request nor a cron job initiates the task.
When I try the manual request, I do not get an error message, just a blank page, which leads me to believe that my credentials and sitekey are correct.

Has anyone got an idea what might be causing civimail not to send out my mailings?
Any idea how to go about tracing the problem?

It's critical for my organization that we get civi working correctly.
I very much appreciate your time and advice.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Continued CiviMail Difficulty
January 04, 2013, 08:45:33 pm

r u on 4.2 a1? if so, u should upgrade to 4.2.7, if not, u should update your profile :)

You might want to try stepping thru the code and debugging what is happening and why. The core of the mailing code delivery is in CRM/Mailing/BAO/Job.php

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

isaac_wilder

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 4.2a1
  • CMS version: WP 3.4.2
  • MySQL version: Ver 14.14 Distrib 5.5.25a, for Linux (x86_64) using readline 5.1
  • PHP version: PHP 5.3.3-7+squeeze14 with Suhosin-Patch
Re: Continued CiviMail Difficulty
January 06, 2013, 09:34:25 am
Thanks Lobo. Much obliged.
I just updated to 4.2.7 and still no luck, so I'm going to dive into the code. I'll let you know what I turn up.

isaac_wilder

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 4.2a1
  • CMS version: WP 3.4.2
  • MySQL version: Ver 14.14 Distrib 5.5.25a, for Linux (x86_64) using readline 5.1
  • PHP version: PHP 5.3.3-7+squeeze14 with Suhosin-Patch
Re: Continued CiviMail Difficulty
January 06, 2013, 10:25:39 am
Good news!
I got mail to go out using the php cli method.
For all y'all out there in civi land the command was:
cd /path/to/civicrm/civicrm; /usr/bin/php5 bin/cli.php -e Job -a process_mailing  -u username -p password
where username and password are an admin on the wordpress install
cron entry looks like this:
*/5 * * * * cd /path/to/civicrm/civicrm; /usr/bin/php5 bin/cli.php -e Job -a process_mailing  -u username -p password


Bad news!
The same method doesn't work for bounce fetching. Trying to run
/usr/bin/php5 bin/cli.php -e Job -a fetch_bounces -u username -p password
PHP Fatal error:  Class 'DB' not found in /var/www/frontpage/wp-content/plugins/civicrm/civicrm/CRM/Core/Lock.php on line 59

Any insight, Lobo (or others?)


imw

isaac_wilder

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 4.2a1
  • CMS version: WP 3.4.2
  • MySQL version: Ver 14.14 Distrib 5.5.25a, for Linux (x86_64) using readline 5.1
  • PHP version: PHP 5.3.3-7+squeeze14 with Suhosin-Patch
Re: Continued CiviMail Difficulty
January 06, 2013, 10:27:54 am
just noticed this thread:
http://forum.civicrm.org/index.php/topic,16433.0.html

May be of use to folks.

isaac_wilder

  • I’m new here
  • *
  • Posts: 12
  • Karma: 1
  • CiviCRM version: 4.2a1
  • CMS version: WP 3.4.2
  • MySQL version: Ver 14.14 Distrib 5.5.25a, for Linux (x86_64) using readline 5.1
  • PHP version: PHP 5.3.3-7+squeeze14 with Suhosin-Patch
Re: Continued CiviMail Difficulty
January 06, 2013, 03:39:50 pm
So, I'm happy to report that everything is go. Lingering fetch_bounces issue had to do with params, the command that works is:
cd path/to/civimail/civimail/; /usr/bin/php5 bin/cli.php -j -s default -e Job -a fetch_bounces -u username -p password


Thanks for your help, Lobo!


imw

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Continued CiviMail Difficulty

This forum was archived on 2017-11-26.