After submitting a comment, a page looking like the following is returned.

Array
(
    [body] => Greetings, someone.

A content type to which you have subscribed has been updated.



To view the thread, navigate to http://example.org/node/ 

--
This is an automatic message from Example.
To manage your subscriptions, browse to http://example.org/user/4/subscriptions
    [subject] => [Example] content type subscription update for someone : 
)

Other than seeing that strange page, everything seems fine (the comment is posted when you look at the node and subscriptions go out).

Maybe lines 463 & 464 (of version 1.62.2.14), part of the subscriptions_mailvars function, are to blame? Maybe it's just accidentally left-in debugging code?

print "<pre>";
print_r($mail);

The lines were introduced in subscriptions.module version 1.62.2.12.

I'm a noob, so not sure. I commented those two lines out of my installation, we'll see how it goes.

I'm excited about what this module can do. Thanks to everyone working on it!

Comments

i10neorg’s picture

Oops. Seems I needed to comment out the following exit() line as well. (I'm learning!)

arthurf’s picture

Ugh! I left some debug code in the version I submitted. Please upgrade to 5.1.3!

i10neorg’s picture

But there's no supporting files (e.g. subscriptions.install) with 5.1.3 ?

huayen’s picture

I installed v5.x-1.3 and still have same problem.

Also, this module inteferes with some modules (such as taxonomy context module), having database error warning. If I uninstall subscription module, those modules work fine.

mindless’s picture

hm, the 1.62.2.15 commit seems to revert some earlier changes for 5.x and doesn't address the debug output..

arthurf’s picture

Lesson learned- don't make releases when you haven't slept. 5.1.4 fixes this

i10neorg’s picture

Status: Active » Fixed

Looks good, thanks.

And authurf, get some sleep! :^)

mindless’s picture

the same cvs version is tagged for 1.4 that was used for 1.3... ?

Anonymous’s picture

Status: Fixed » Closed (fixed)