Update profile no longer working

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

calicojack
Posts: 10
Joined: Tue Mar 24, 2009 4:49 pm

Update profile no longer working

Post by calicojack »

At the end of every e-mail, we have a link that allows the user to update his or her profile. Lately, that link hasn't been working. The form below will load the profile information correctly, but when we try to submit it via the Subscribe action, it will error out every single time. Is there a log that will tell me what it is that I am getting wrong? What can I do to fix this? The below code is a copy of the loaded profile page, the second step of the form submits the data via and action called subscribe_user. The only step in the subscribe_user action is Subscribe. There is no difference whether or not we have it check for duplicate records; we get the error either way.

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<head>
<title>newsletter change profile</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
body, table { font-family: Tahoma, Helvetica, sans-serif; font-size: 12px; }
h1 { font-family: Tahoma, Helvetica, sans-serif; font-size: 16px; }
select, input { font-family: Tahoma, Helvetica, sans-serif; font-size: 12px;}      
select { width: 200px; }
-->
</style>
</head>

<body bgcolor="#C0C0C0" link="#bb2233" vlink="#bb2233" alink="#bb2233">
<table width="480" border="0" align="center" cellpadding="2" cellspacing="0">
  <tr bgcolor="#808080">
    <td bgcolor="#808080">
      <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td>
          <form action="form.do">
          <input type="hidden" name="agnCI" value="1">
          <input type="hidden" name="agnFN" value="en_profil_confirm">
          <input type="hidden" name="agnUID" value="$!agnUID">        
          <table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td colspan="3">&nbsp;</td>
            </tr>            
            <tr>
              <td width="10">&nbsp;</td>
              <td><h1>CHANGE DATA</h1>
                  <p>Please change your data here:</p>
                  <table border=0>
                  <tr><td width="120">salutation:</td>
                      <td><select name="GENDER">
                            <option value="2" #if($!customerData.GENDER == "2") selected #end>unknown</option>
                            <option value="1" #if($!customerData.GENDER == "1") selected #end>Ms.</option>
                            <option value="0" #if($!customerData.GENDER == "0") selected #end>Mr.</option>
                          </select></td></tr>
                  <tr><td>firstname:</td>
                      <td><input type="text" name="FIRSTNAME" style="width: 200px;" value="$!customerData.FIRSTNAME"></td></tr>
                  <tr><td>lastname:</td>
                      <td><input type="text" name="LASTNAME" style="width: 200px;" value="$!customerData.LASTNAME"></td></tr>
                  <tr><td>eMail:</td>
                      <td><input type="text" name="EMAIL" style="width: 200px;" value="$!customerData.EMAIL"></td></tr>
                  <tr><td valign="top">eMail format:</td>
                      <td><input type="radio" name="MAILTYPE" value="1" #if($!customerData.MAILTYPE == "1") checked #end>HTML<br>
                          <input type="radio" name="MAILTYPE" value="0" #if($!customerData.MAILTYPE == "0") checked #end>Text</td></tr>
                  <tr><td colspan="2">&nbsp;</td></tr>
                  <tr><td><input type="submit" value="Save"></td>
                      <td><input type="reset" value="Cancel" onClick="javascript:history.back();"></td></tr>
                  </table>         
                  </td>                                 
              <td width="10">&nbsp;</td>
            </tr>
            <tr>
              <td colspan="3">&nbsp;</td>
            </tr>            
          </table>
          </form>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Update profile no longer working

Post by maschoff »

There are several log files, of course. You will find the logs of the OpenEMM frontend at /home/openemm/webapps/core/log.
OpenEMM Maintainer
Post Reply