close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problem with UE

Thread began 6/24/2011 2:48 pm by John Langer | Last modified 7/05/2011 7:57 pm by John Langer | 1633 views | 10 replies |

John LangerBeta Tester

Problem with UE

Hi,

I'm having a problem with UE (installed as part of Form Builder). It was going fine on an actual site sending out emails in a loop. Today it suddenly sent the emails without any dynamically produced content. I was alerted by the client and decided to just send the email to me rather than the (live) mailing list. So I changed the email recipient to my email address using the UE wizard. It worked. I receieved the email with the content.

So I changed it back to the mailing list loop (again using the UE wizard) and when trying to send the email(s) from the site I got the following error messages.
Warning: fopen() [function.fopen]: Filename cannot be empty in /home/walthatc/public_html/webassist/email/mailformatting_php.php on line 128

Warning: fread(): supplied argument is not a valid stream resource in /home/walthatc/public_html/webassist/email/mailformatting_php.php on line 129

Warning: fclose(): supplied argument is not a valid stream resource in /home/walthatc/public_html/webassist/email/mailformatting_php.php on line 130

Notice: Undefined offset: 0 in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 83

Notice: Undefined offset: 0 in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 85

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/walthatc/public_html/webassist/email/mailformatting_php.php:128) in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 133

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/walthatc/public_html/webassist/email/mailformatting_php.php:128) in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 133

Warning: Cannot modify header information - headers already sent by (output started at /home/walthatc/public_html/webassist/email/mailformatting_php.php:128) in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 135

I've a attached the files for you attention.

Your urgent help would be greatly appreciated as I'm going on holiday tommow morning and need to get this sorted before I go (that's UK time)

Many thanks

Attached Files
files.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

John LangerBeta Tester

Part resolved but...

Thanks to Jason for very speedily getting an answer to me via the support ticket which solved the error messages. Unfortunately it hasn't solved my issue of blank content.

This has been working fine for about three months now with a newsletter being sent every week to a mailing list loop. But today the list newsletter were sent but with enpty dynamic content. The dynamic content is in the form of coupons which are on a repeat region and each region picks up a different record from the database. When I just sent it to one recipient (me) it works as it should but when using the recordset loop function it sends the mail with the static content but the dynamic content is missing.

My holiday is still imminent :eek: so all help appreciated as always.

Relevant files attached.

Attached Files
files (2).zip
Sign in to reply to this post

Jason ByrnesWebAssist

see this thread:
showthread.php?t=17869

Sign in to reply to this post

John LangerBeta Tester

Sorry Jason, I'm not getting this I'm afraid. How will this help me?

Sorry for being dense.

Sign in to reply to this post

Jason ByrnesWebAssist

in the waue_wasp_newsletter_1.php fie, add the following code at line 1:

php:
<?php
global $RecipArray;
global 
$RecipIndex;
?>




then change the recordset referances:
$row_rsAllCurrentOffers['ColumnName']

to:
$RecipArray[$RecipIndex][0]['ColumnName']

for example, change:

php:
$MailBody = $MailBody .  $row_rsAllCurrentOffers['CouponCode'];



to:

php:
$MailBody = $MailBody .  $RecipArray[$RecipIndex][0]['CouponCode'];
Sign in to reply to this post

John LangerBeta Tester

OK I did that and it throws up a whole load of errors. Here is the first few lines:

Notice: Undefined index: CouponCode in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 143

Notice: Undefined index: Website in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 149

Notice: Undefined index: NameofOrganisation in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 151

Notice: Undefined index: NameOfOffer in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 157

Notice: Undefined index: DescriptionOfOffer in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 163

Notice: Undefined index: CouponCode in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 143

Notice: Undefined index: Website in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 149

Notice: Undefined index: NameofOrganisation in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 151

Notice: Undefined index: NameOfOffer in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 157

Notice: Undefined index: DescriptionOfOffer in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 163

Notice: Undefined index: CouponCode in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 143

Notice: Undefined index: Website in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 149

Notice: Undefined index: NameofOrganisation in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 151

Notice: Undefined index: NameOfOffer in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 157


Towards the end of this very long list it also has similar errors to what I first reported
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php:5) in /home/walthatc/public_html/webassist/email/mail_php.php on line 274

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php:5) in /home/walthatc/public_html/webassist/email/mail_php.php on line 274

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php:5) in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 106

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php:5) in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 106

Notice: Undefined index: CouponCode in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 143

Notice: Undefined index: Website in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 149

Notice: Undefined index: NameofOrganisation in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 151

Notice: Undefined index: NameOfOffer in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 157

Notice: Undefined index: DescriptionOfOffer in /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php on line 163

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php:5) in /home/walthatc/public_html/webassist/email/mail_php.php on line 274

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php:5) in /home/walthatc/public_html/webassist/email/mail_php.php on line 274

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php:5) in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 136

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php:5) in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 136

Warning: Cannot modify header information - headers already sent by (output started at /home/walthatc/public_html/webassist/email/waue_wasp_newsletter_1.php:5) in /home/walthatc/public_html/admin/wasp_offers/wasp_newsletter.php on line 139

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Lon WintersBeta Tester

I'm reading this as I often do with other threads, but I'm wondering something. If the script and the way it was configured was working, then suddenly stopped working, how is that an issue with the code? Is there a hosting or database issue, or was something changed there that might require code modification to compensate? Don't mean to muddy the waters any further, just wondering.

Sign in to reply to this post

John LangerBeta Tester

Hi Lon,

Thanks for taking the time to reply. Sorry to be so long in replying myself but have just returned from a weeks holiday (well deserved I might add).

Yes, this did occur to me as well. I've looked at the obvious like has the MySQL or PHP been updated (no they haven't). I also looked at the database data and noticed a lot of copy and paste from Word which I have now cleaned up just in case that was it. But no, it still didn't work which was why I asked for help.

In reply to a support ticket Jason sent ne a new build of the extension and that cleared up the errors but not the fact that the email is empty of data. I've tried sending one email to myself rather than the email address record loop to 122 recipients. When it's just sent to one specific address it works fine. using the record loop to select addresses, it sends the emails but without any dynamically created content.

The support team have been aware that I've been away and are going to get back in touch with me tomorrow (5th July) so I'll report back on what was wrong once it's sorted out.

Sign in to reply to this post
loading

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...