Double-Opt-In problem with confirmation

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

netactive
Posts: 7
Joined: Thu Sep 10, 2009 1:53 pm
Location: Bremerhaven, Germany

Double-Opt-In problem with confirmation

Post 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!
maschoff
Site Admin
Posts: 2602
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post 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.
OpenEMM Maintainer
netactive
Posts: 7
Joined: Thu Sep 10, 2009 1:53 pm
Location: Bremerhaven, Germany

Post 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
maschoff
Site Admin
Posts: 2602
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post 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.)
OpenEMM Maintainer
netactive
Posts: 7
Joined: Thu Sep 10, 2009 1:53 pm
Location: Bremerhaven, Germany

Post 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?
maschoff
Site Admin
Posts: 2602
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

No, everything looks ok to me, I have no idea what went wrong.
OpenEMM Maintainer
netactive
Posts: 7
Joined: Thu Sep 10, 2009 1:53 pm
Location: Bremerhaven, Germany

Post 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?
maschoff
Site Admin
Posts: 2602
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Sorry, the software is free, but we can not offer free support.
OpenEMM Maintainer
netactive
Posts: 7
Joined: Thu Sep 10, 2009 1:53 pm
Location: Bremerhaven, Germany

Post 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!!
maschoff
Site Admin
Posts: 2602
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

It's not a bug - it's a feature! :-)
OpenEMM Maintainer
inteco
Posts: 11
Joined: Wed Apr 07, 2010 1:52 pm

Post 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!
Post Reply