Closed (fixed)
Project:
Subscriptions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2008 at 07:17 UTC
Updated:
3 Jul 2008 at 22:14 UTC
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.
Comments
Comment #1
grn commentedI 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?
Comment #2
salvisAs 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.
Comment #3
grn commentedHmm 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?
Comment #4
grn commentedModules 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 ;-)
Comment #5
salvisYes, 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.
Comment #6
grn commentedThanks, 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?
Comment #7
salvisGo to admin/settings/subscriptions, scroll down to Display settings and set all controls to the defaults; then click [Save configuration].
Comment #8
grn commentedBugfix 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 ;-)
Comment #9
salvisIf that's not the problem, then what is?
Right, thanks. Actually, that function will be gone in the next -dev snapshot...
Comment #10
grn commentedI 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.
Comment #11
salvisAh, 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.
Comment #12
grn commentedOooh okay :-) Thanks
Comment #13
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.