unsubscribes, but shows error

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

obs
Posts: 8
Joined: Sat Aug 25, 2007 12:27 am

unsubscribes, but shows error

Post by obs »

Short version, unsubscribe occurs, but error form is shown.

Running 5.3.1
The unsubscribe link in email is correct, and user can unsubscribe... http://...../r.html?uid=1.1g.6.6w.a0jyr9o055

But the error form shows, no matter what - I see in stderr log that there is an "Action Result: False" happening immediately after the "Action Result: True" of unsubscribing. Only one unsubscribe action shows up in mysqlbinlog.


Unsubscribe action is as described in manual, and the form is as well-

<form action="form.do" method="post">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="UnsubscribeQuery">
<input type="hidden" name="agnUID" id="param" value="$!agnUID">
Do you really want to unsubscribe from the mailing list?<br>
<input type="reset" value="Cancel">
<input type="submit" value="Unsubscribe">
</form>

I
Last edited by obs on Fri Jan 04, 2008 2:19 am, edited 1 time in total.
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

OpenEMM Maintainer
obs
Posts: 8
Joined: Sat Aug 25, 2007 12:27 am

Post by obs »

Which part is susposed to be helpful?

I tried both, neither resolved this. What is wrong in my code above? I followed the manual, and it is still showing the error form regardless.
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Your code looks fine. Cause could be a problem in the combination of your OpenEMM form and the actions which are performed before/afterwards.
OpenEMM Maintainer
obs
Posts: 8
Joined: Sat Aug 25, 2007 12:27 am

Post by obs »

I'm not sure where my error is then - simply going to the unsubscribe link in email results in unsubscribe action.

The form UnsubscribeQuery has the action of "Unsubscribe" selected above the Success Form box. No other action selected for Error Form.

If I select "No Action" for both action pulldowns, then no actions are taken - no unsubscribe occurs, in other words.

Action "Unsubscribe" has just one step selected - "Unsubscribe".
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Your action needs to "load profile data" first.
OpenEMM Maintainer
obs
Posts: 8
Joined: Sat Aug 25, 2007 12:27 am

Post by obs »

"Load profile data" is not an available step in the Actions section. I tried adding the "Load Recipient Data" step but got the same result.

Is the manual incorrect?

What do I need to do to get the desired behavior - a simple form that confirms unsubscribe?
obs
Posts: 8
Joined: Sat Aug 25, 2007 12:27 am

Post by obs »

Whew. Got it. Problem was initially with "Forms and Links" selected in action for the usage, but once that had been fixed a copy and paste error from following the various instructions here and in manual. Finally, it works.

Thanks!
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Great! If you think we could improve the manual please help us with a suggestion what we should change or add. Thank you!
OpenEMM Maintainer
Post Reply