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
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

grn - June 16, 2008 - 11:35

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

salvis - June 15, 2008 - 17:10
Status:active» active (needs more info)

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

grn - June 16, 2008 - 12:22

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

grn - June 17, 2008 - 06:09

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

salvis - June 17, 2008 - 22:45
Status:active (needs more info)» fixed

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).

a) Can the Subscriptions module send mail notfications on it's own?

Yes, see #2.

how do I subscribe to this post, so I will get an e-mail notif, when a reply is posted?

Click on Subscribe at the bottom of the node.

#6

grn - June 18, 2008 - 08:59

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

salvis - June 18, 2008 - 09:35

Go to admin/settings/subscriptions, scroll down to Display settings and set all controls to the defaults; then click [Save configuration].

#8

grn - June 18, 2008 - 15:30

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

salvis - June 18, 2008 - 16:42

#7 Ooh that's not the problem, I am thinking about subscribing to this bugnode...

If that's not the problem, then what is?

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); )

Right, thanks. Actually, that function will be gone in the next -dev snapshot...

#10

grn - June 19, 2008 - 16:57

#7 Ooh that's not the problem, I am thinking about subscribing to this bugnode...

If that's not the problem, then what is?

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

salvis - June 19, 2008 - 20:46

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

grn - June 19, 2008 - 21:17

Oooh okay :-) Thanks

#13

Anonymous (not verified) - July 3, 2008 - 22:14
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.