Page 1 of 1

Double-Opt-In problem with confirmation

Posted: Thu Nov 12, 2009 11:52 am
by netactive
Hi all!

I'm currently setting up my first OpenEMM project. I'm trying to integrate the doi-registration but it doesn't work.

I read two different guides/workshops, to my mind, I followed all steps correctly but the problem is, that the confirmation fails.

Here my steps, maybe something is wrong:

1. Form where the user enters name and email address. Everything seems to be correct, the user is added to the database and the status of the according mailing list is "waiting for doi confirmation".
2. Form with the actions subscribe ("use double opt in" and "check for duplicate records" activated) and send action based mailing. The mailing sends the activation link like this: http://my-website.de/form.do?agnCI=1&ag ... D=##AGNUID##
3. The Form "de_doi_welcome" has the action "Double Opt-In confirmation".

The problem I have is the last step, after clicking the link in the confirmation mail. At this point, the error form is displayed and I have absolutely no idea why. To my mind, I configured everything correctly.

Do you have any idea what the problem may be? Or do you have any idea how to find out, what the problem is? The error log shows no error...

I'm glad about any help or idea!

Thanks!

Posted: Thu Nov 12, 2009 4:13 pm
by maschoff
the expression "&agnUID=##AGNUID##" in the confirmation link has to be replaced by a term like "?uid=8d.1azv.d5u.4i684.6hoo1bs3m5" when the mailing is sent. Is this the case? If not, your redirection domain is probably not configured correctly.

Posted: Thu Nov 12, 2009 4:40 pm
by netactive
Thanks for the fast reply.

Yes, it is replaced correctly. This is the link of one mail: http://my-website.de/r.html?uid=1.3.t.2z.onojnlco8b

Posted: Thu Nov 12, 2009 4:52 pm
by maschoff
Hm, then everything looks ok from my point of view. Is the user status changed after clicking or still on "wait to confirm"? Does the URL in the browser looks ok when the error form is shown? At least the log (stderr or stdout) should tell you something. (We have more logging for 6.0, but this won't help you at the moment.)

Posted: Thu Nov 12, 2009 5:26 pm
by netactive
No, the status is still "wait to confirm".

The URL in the browser is: http://my-webiste.de/form.do?agnCI=1&ag ... onojnlco8b
Looks ok to me.

The stderr log says "Action Result: false ".

The stdout logs this: http://pastebin.ca/1668379 (I posted it at pastebin)

Does it help you?

Posted: Thu Nov 12, 2009 5:40 pm
by maschoff
No, everything looks ok to me, I have no idea what went wrong.

Posted: Thu Nov 12, 2009 5:47 pm
by netactive
Hmm, that's not good for us... :(

Any idea what we could try to find out what the problem is?

At any point in the code the script "makes" the decision "show error form". Do you know where this is?

Posted: Fri Nov 13, 2009 8:21 am
by maschoff
Sorry, the software is free, but we can not offer free support.

Posted: Fri Nov 13, 2009 1:44 pm
by netactive
Problem found and solved!!

I created the subscription form for the mailling list with the id 3: <input type="hidden" name="agnMAILINGLIST" value="3">

The problem was, that the actionbased mailing which sends the confirmation link, was assigned to the mailing list with the id 1.

The system had no problem with sending the mail but couldn'n obviously assign the confirmation to the list with the id 1.

I don't know if it's a bug or if it works correctly.

I hope I explained it understandable.

edit: Sorry, I forgot: Big thanks, that you tried to help us!!

Posted: Fri Nov 13, 2009 2:34 pm
by maschoff
It's not a bug - it's a feature! :-)

Posted: Mon Oct 04, 2010 4:08 pm
by inteco
Thanks netactive, you helped me a lot! Also had the same problem, made me nuts!!

So a reminder to the developers:
Probably would be a good idea to make actionbased-mailings free of mailinglists...

however, keep up the good work with openemm!