PDA

View Full Version : Yikes! Is this a new bug?


sandlg
07-May-2003, 04:12 AM
Just upgraded to 6.1.2 recently and now my customers can't select addresses from a list. The code generated by Act_Order01.html seems to add in an extra ">" character which messes up the selection of buyer addresses. Anyone else having this problem. Any ideas on how I can resolve it? It's a major problem for us. You can check it out at http://www.gen-dia.com if you log in as express/express (username/password). Just buy something and go through checkout and you'll see what I mean. HEEELP.

Steve

TraceyG
07-May-2003, 03:18 PM
Hi Steve,

This is to do with the perl implementation on the server and the way it reads '%' in the coding. To get round it you need to open Act_Order01.html and locate the following:

<Actinic:VAR NAME=ADDRESS_TABLE VALUE="
%s
<TABLE WIDTH=98% BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=%s><TR><TD>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=4 BGCOLOR=%s>
%s
</TABLE>
</TD></TR></TABLE>
%s
"/>

(The values may be different depending on the theme you are using)

Just add an extra '%' after the width tags so it looks like:

<Actinic:VAR NAME=ADDRESS_TABLE VALUE="
%s
<TABLE WIDTH=98%% BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=%s><TR><TD>
<TABLE WIDTH=100%% BORDER=0 CELLSPACING=0 CELLPADDING=4 BGCOLOR=%s>
%s
</TABLE>
</TD></TR></TABLE>
%s
"/>

Another problem I noticed on that page (which is also to do with perl) is that you see SEPARATESHIP in the table. To get rid of this you need to go to 'Design | Text' and click on the 'Go To' button and enter Phase -1 and ID 2067 to see the prompt:

<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN=LEFT>%s%s%s<INPUT TYPE="HIDDEN" NAME="%s" VALUE="%s">
</TD>
<TD ALIGN="RIGHT"><INPUT TYPE=SUBMIT NAME="ACTION" VALUE="Change">
</TD>
</TR>
</TABLE>

Change:

<TABLE WIDTH="100%"

to:

<TABLE WIDTH="100&amp#37;"

(&amp#37; is the html for %).

I hope this helps.