Subscriptions Mail fails
grn - June 15, 2008 - 07:17
| Project: | Subscriptions |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
When Subscriptions Mail is enabled and you run cron, the following FATAL error will show:
Fatal error: Function name must be a string in /var/www/drupal-6.2/modules/subscriptions/subscriptions_mail.module on line 117
Pending mail is probably required for the bug to show.

#1
I forgot to tell, that the subscriptions README.txt states that: * Subscriptions Mail (requires Mail Editor, http://drupal.org/project/mail_edit)
But Mail Editor is not available for Drupal 6.2.
**EDIT** how do I subscribe to this post, so I will get an e-mail notif, when a reply is posted?
#2
As I asked in #205536: Subscriptions Port to D6#36: What type of subscription causes this error?
Yes, unfortunately, Mail Editor has not been ported yet. This means the mail templates can't be edited, but otherwise, Subscriptions should work. I don't think this error is related to the missing of Mail Editor.
#3
Hmm I don't follow.
a) Can the Subscriptions module send mail notfications on it's own?
***EDIT*** To cut it out in paper, b) should I receive e-mails of my subscriptions without the mail editor module? The only thing that works by mail in my Drupal is when I forget my password and the "comment subscribe" module.
I am testing subscription on forum topics and whole forums. As an admin I would like to know if there is a new post i the forums by mail.
**EDIT** how do I subscribe to this post, so I will get an e-mail notif, when a reply is posted?
#4
Modules I have enabled:
Content Subscriptions
Subscriptions
Subscriptions Mail
Subscriptions UI
Taxonomy Subscriptions
I am subscribing on all forum topics and forum pages.
I run cron and I get the fatal error described in #1.
I remove Subscriptions Mail and cron runs smoothly.
At any time, I don't get any subscription mails except from comment subscribe.
Hope this was better ;-)
#5
Yes, this has helped — thanks!
I committed the fix to 6.x-1.x-dev (wait up to 12 hours for the packaging script to create a new tarball).
Yes, see #2.
Click on Subscribe at the bottom of the node.
#6
Thanks, I will try out the new version of the Subscriptions module, when enough time has passed.
Unfortunately I don't have Subscribe at the bottom of the node?
#7
Go to admin/settings/subscriptions, scroll down to Display settings and set all controls to the defaults; then click [Save configuration].
#8
Bugfix confirmed. I am getting subscription mails. Thanks salvis!
#7 Ooh that's not the problem, I am thinking about subscribing to this bugnode...
Just a note the wrong place at the wrong time: On IIS windoze server setup, I have to remove the "&" at line 685 in subscriptions.admin.inc ( subscriptions_delete_form_submit($form, &$form_state); )
Cheers ;-)
#9
If that's not the problem, then what is?
Right, thanks. Actually, that function will be gone in the next -dev snapshot...
#10
I would like to get e-mail notifications when comments are posted at this post/node (drupal.org)
I don't have admin rights, so I can't go to admin/settings/subscriptions.... and do what you suggested.
Sorry about this, but I don't get it.
#11
Ah, you're talking about drupal.org! It doesn't run Subscriptions, so you can't subscribe to a specific issue.
You can subscribe to the issues queue of one module, using the link on the issues list of that module.
#12
Oooh okay :-) Thanks
#13
Automatically closed -- issue fixed for two weeks with no activity.