close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Progress Bar Not Counting Through Emails

Thread began 2/15/2011 8:06 pm by Lee Firth | Last modified 5/21/2015 5:13 pm by Ray Borduin | 1859 views | 7 replies |

Lee Firth

Progress Bar Not Counting Through Emails

I have applied a progress bar to a universal email newsletter app I am working on. In my test situation there are 3 emails to be sent. They send OK but the progress bar looks like the attached file and doesn't change while sending the three emails. Here is the form code:

html:
<div id="form1_ProgressWrapper">
<form name="form1" action="newsletter_builders.php" id="form1" method="post">
<fieldset>
<ul>
<li>
<label for="Subject">
<input name="newsletterID" type="hidden" id="newsletterID" value="<?php echo $row_newsletter['fldNewsletterID']; ?>">
Subject:</label>
<input name="Subject" type="text" id="Subject" value="<?php echo $row_newsletter['fldSubject']; ?>" size="45" readonly="readonly">
</li>
<li>
<input name="back" type="button" class="btn_back" onClick="window.open('newsletter_bea_to.php?newsletterID=<?php echo $_GET['ID1']; ?>', '_self');" value="back">
<input name="submit" type="submit" accesskey="n" class="btn_send_combined" id="submit" value="send" />
</li>
</ul>
<?php if(is_null($row_newsletter['fldContent'])) { echo '<p>&nbsp;No content exists for this newsletter.<br /><br /></p>'; } else { echo $row_newsletter['fldContent']; }?>
</fieldset>
</form>
</div>
<div id="form1_ProgressMessageWrapper" class="blockUIOverlay" style="display:none;">
<script type="text/javascript">
WADFP_SetProgressToForm('form1', 'form1_ProgressMessageWrapper', WADFP_Theme_Options['WAUE:Pacifica'], 'newsletter_builders_Universal_Email_1_Progress_2');
</script>
<div id="form1_ProgressMessage" >
<?php require_once("webassist/progress_bar/newsletter_builders_Universal_Email_1_Progress_2.php"); ?>
</div>
</div>



This is the contencts of webassist/progress_bar/newsletter_builders_Universal_Email_1_Progress_2.php

html:
<div id="progressContainer_newsletter_builders_Universal_Email_1_Progress_2">
<div id="progressMessage_newsletter_builders_Universal_Email_1_Progress_2">completed <span id="current_newsletter_builders_Universal_Email_1_Progress_2">0</span> <span id="total_newsletter_builders_Universal_Email_1_Progress_2"></span></div>
<div class="barLeft_newsletter_builders_Universal_Email_1_Progress_2"></div>
<div class="barMiddle_newsletter_builders_Universal_Email_1_Progress_2" id="barArea_newsletter_builders_Universal_Email_1_Progress_2">
<div id="barCover_newsletter_builders_Universal_Email_1_Progress_2" class="barProgress_newsletter_builders_Universal_Email_1_Progress_2"></div>
</div>
<div class="barRight_newsletter_builders_Universal_Email_1_Progress_2"></div>
<div id="timeRemaining_newsletter_builders_Universal_Email_1_Progress_2">&nbsp;</div>
</div>



I'm not sure what the problem is.

Sign in to reply to this post

Lee Firth

This issue was fixed by my other issue regarding the "To" advanced properties "not sticking".

showthread.php?t=18922

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, glad to hear it is working, the issue with the To address will be fixed in the next update to CSS Form builder 2.

Sign in to reply to this post

this_is_me

I have the same issue with the counter still

The counter is stuck and shows exactly the same picture. Do I have to change the order of the include file?

Sign in to reply to this post

Ray BorduinWebAssist

It could be file permissions on the server webassist/email folder. It keeps track by updating an xml file that it may not be able to create. It could also be an issue with a javascript error. I'd check into the permissions on that folder first... give them 777 and see if that fixes it.

If you still have issues I'll need to look at the page and probably get FTP access to debug.

Sign in to reply to this post

this_is_me

directory tree not shown on remote server

Thanks Ray,
There were three problems, actually
1) the file permissions solved it partly, but not really. In the end it showed 1 of 1, remaining 1 second. There were 3800 mails in the loop an the counter stayd frozen - nothing was counted and no remaining time was shown.
2) There was another issue which made the whole thing unusable: I had entered Wait 1 second after each mail and set the maximum time to 400 emails every 10 minutes (Once Per Entry). But it fired them out all at once, which created more than 7000 error messages in the email_log database, all with the same message: "Too many connections". I first did a test with 8 email addresses only, but of course it sent them out OK
3) I had entered tu use UTF-8, which was not passed on to the system, so all the European letters cam out wrong. I had to hard-code it into the file PEAR_Mail_using_SMTP_php.php.

One last remark to file permissions: The host uses Ubuntu server, which behaves similar to Debian. It means that the server uses its own user / group called www-data:www-data for APACHE which is different from the ftp user/group. It has great advantages because files can be secured towards ftp access, but they are also immune towards changes done via ftp file permission settings. There is an interface though, where I can change the user/group

Sign in to reply to this post

Ray BorduinWebAssist

It is waiting the 1 second between sending. It appears permissions is still the problem. It can't create the xml file. It looks like you may have uploaded a local xml file which is why it was showing 1 of 1... When I deleted the xml file from the ftp it wouldn't re-create it.

I think the permissions have to be set to 777 for the webassist/email folder, they are currently still 755.

Sign in to reply to this post

this_is_me

Thanks - it is counting now

I put all files and folders of webassist/email/ to 777 and it works now. Maybe this was an overkill but it works, so thank you

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