close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UE issue with repeat regions in email

Thread began 3/04/2010 11:37 am by sam308940 | Last modified 3/04/2010 8:37 pm by Eric Mittman | 622 views | 1 replies |

sam308940

UE issue with repeat regions in email

I ran into 2 issues when adding a repeat region to my email.

i have 1 recordset that is 2 database tables.
this email is for shipping confirmation - so it has a repeat of the order information and order details.

ISSUE 1
for any emails that have orders with multiple items (so the repeat region actually repeats)I get an error message on the page im trying to send it from. HOWEVER the email does go out and it has no errors.
heres the error i get

(ADDRESS2 field shows here)
Warning: Cannot modify header information - headers already sent by (output started at C:\Domains\mydomainname.com\wwwroot\WA_Universal_Email\WAUE_ordersview_1.php:148) in C:\Domains\mydomainname.com\wwwroot\admin\ordersshippedemail.php on line 54



I do not get this error with emails that go out on orders that only have 1 item - the item listing in the email doesnt repeat.



ISSUE 2
something funny goes on with the recordset depending on what order i layout the info.
i have some basic info at the top fo the email (order #, shipping link, etc)
next i have the items of the order, with a repeat region
last i have the billing info, shipping info, payment info.

anything after the repeat region shows blank. meaning all the bindings/fields.
however - if i put the repeat region last - it doesnt have this issue.

do i need to have a different recordset in the email than I have on the page that sends the email?

currently when someone goes to the link to SEND SHIPPING CONFIRMATION
it goes to a page that shows the the info of the order in the browser (ie an example of what is going to be sent in the email). this recordset for the page is called rsOrder.

in the actual email that is sent - I used that same recordset.
is this the issue?

Sign in to reply to this post

Eric Mittman

It seems likely to me based on your description that it is the recordsets that are causing the problems. Have you tried this with another recordset that is unique? One problem you could have with recordsets like this is that the pointer is already advanced causing the looping to be off. I think it would be best to use uniquely named recordsets for your email.

The first error you are reporting looks like it is coming from your WA_Universal_E mail\WAUE_ordersview_1.php on line 148. What is the code that you have in this page on this line?

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...