Page 1 of 1

unsubscribes, but shows error

Posted: Sat Dec 22, 2007 12:31 am
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

Posted: Sat Dec 22, 2007 8:06 pm
by maschoff

Posted: Mon Dec 24, 2007 5:25 am
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.

Posted: Tue Dec 25, 2007 3:41 pm
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.

Posted: Wed Jan 02, 2008 11:22 pm
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".

Posted: Thu Jan 03, 2008 12:37 pm
by maschoff
Your action needs to "load profile data" first.

Posted: Fri Jan 04, 2008 1:11 am
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?

Posted: Fri Jan 04, 2008 3:44 am
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!

Posted: Fri Jan 04, 2008 8:56 am
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!