silverstripe-archive / silverstripe-newsletter

NewsletterAdmin is the CMS class for managing the newsletter system.
BSD 3-Clause "New" or "Revised" License
69 stars 59 forks source link

Messages stay queued #85

Closed luukgruijs closed 6 years ago

luukgruijs commented 10 years ago

Hi,

i installed the newsletter module with the messagequeue module but when i send a message to my subscribers it stays queued forever.

There are more people with this problem: http://www.silverstripe.org/community/forums/all-other-modules/show/23056

Any idea on how to solve this?

Thanks in advance

jedateach commented 9 years ago

sygmoral's solution appeared to work for me:

In mysite/_config.php, add:

MessageQueue::set_onshutdown_option('phppath', PHP_BINDIR . '/php');
jedateach commented 9 years ago

I also wonder if newsletter module should be modified to suggest the message queue module in composer, rather than require. Then there would be less issues getting set up out of the box.

tsrandrei commented 9 years ago

@jedateach Your solution apparently seems to work on localhost env. Won't work on SS 3.2, but with the 3.1.5 it's ok by now.. i will give it a check on server evn

wilr commented 6 years ago

Closing as messagequeue will be removed in 2.0 for queuedjobs support