close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Emails not sending with ecart and UE 4

Thread began 4/08/2010 12:54 pm by eyoung296270 | Last modified 4/13/2010 5:15 pm by Eric Mittman | 1783 views | 5 replies |

eyoung296270

Emails not sending with ecart and UE 4

Hi, i do not know how to fix this issue with the UE 4. I have set up ecart and all works well except the emails are not being sent. I get the following error codes on the confirm page when the page is submitted with the UE 4 attached.
Notice: Use of undefined constant undefined - assumed 'undefined' in /xxx/mysite.com/httpdocs/auth_confirm.php on line 522
line 522 is $BurstSize = undefined;

Notice: Use of undefined constant undefined - assumed 'undefined' in /xxx/mysite.com/httpdocs/auth_confirm.php on line 523
Line 523 is $BurstTime = undefined;

Notice: Use of undefined constant undefined - assumed 'undefined' in /xxx/mysite.com/httpdocs/auth_confirm.php on line 524
Line 524 is $WaitTime = undefined;

Warning: Division by zero in /xxx/mysite.com/httpdocs/auth_confirm.php on line 538
Line 538 is $TotalBursts = floor($TotalEmails/$BurstSize);

Warning: Division by zero in /xxx/mysite.com/httpdocs/auth_confirm.php on line 558
Line 558 is $BurstsRemaining = ceil(($EmailsRemaining-$AfterBursts)/$BurstSize);

Fatal error: Call to undefined function: session_commit() in /xxx/mysite.com/httpdocs/auth_confirm.php on line 567

Line 567 is session_commit();

Any help would be appreciated

Sign in to reply to this post

Eric Mittman

Currently in the UE code that is on these lines you have this:

php:
$BurstSize = undefined; 

$BurstTime = undefined; 
$WaitTime = undefined;



You should update these lines so that they are like this instead:

php:
$BurstSize = 200; 

$BurstTime = 1; 
$WaitTime = 1;



This should stop the error that you are getting when you get to this page. I have logged this issue as a bug so that it can be fixed in a future update.

Sign in to reply to this post

eyoung296270

one more issue

Thanks Eric,
I have corrected the error and now I seem to have one more problem. I now get the following error code on the confirm page when submitted.
Fatal error: Call to undefined function: session_commit() in /xxx/httpdocs/auth_confirm.php on line 567

Sign in to reply to this post

Eric Mittman

Are you working with a version of php that is earlier than 4.4? If so this could be the reason you are having this problem since this function call did not exist until after 4.4.

To fix the problem you should replace the session_commit call that is on that line with this function:

php:
session_write_close()



According to the php documentation this should do the same thing and is supported in versions 4.0.4 and up.

Sign in to reply to this post

eyoung296270

Thanks, that did it

Thanks Eric,
When I applied session_write_close() that did it but there were two more instances of session_commit () that I also changed to session_write_close() on the confirm page and then one in the mail_php.php page.
I hope that is ok, as all emails appear to have gone through.
One more question though - Will upgrading my php to the latest version negatively impact any of my past pages when editing them is necessary?

Sign in to reply to this post

Eric Mittman

It should not affect the pages unless they contain php code that has been deprecated or removed in a newer version. PHP 5 has been around since July of 04, so unless you have pages written before then it is likely that they will work just fine in a newer version.

This is rarely an issue though, all of the WebAssist generated code should work in the latest versions of php without an issue.

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