Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout_process hangs on tep_mail


ChewK2

Recommended Posts

Posted

I have looked but my forum skills are not finding me the answer.

 

I hang on checkout confirmation. Email will be sent but I eventually get a CGI Timeout. If I comment out the tep_mail function calls all is well. Except that I don't get email. I have CC and COD only for payment modules. USPS and UPS for Shipping. I am way new to this.

 

Anyone have ideas for me?

Really appreciate any help

Posted
I have looked but my forum skills are not finding me the answer.

 

I hang on checkout confirmation.  Email will be sent but I eventually get a CGI Timeout.  If I comment out the tep_mail function calls all is well.  Except that I don't get email.  I have CC and COD only for payment modules. USPS and UPS for Shipping.  I am way new to this.

 

Anyone have ideas for me?

Really appreciate any help

 

Quick follow up. Just setting send mail in admin to false gets rid of the hang. As mentioned fixes the hang, but I also need email.

Posted

 

 

Ok. Thanks I downloaded v2.0

 

Sounds like dealing with mail in another thread could be a good solution. The inference is that if the timeout were lengthened (which I wouldn't do) the mail would eventually go? Is that your experience..Just wanting to be sure I am on the right track with the problem.

Posted
Ok. Thanks I downloaded v2.0

 

Sounds like dealing with mail in another thread could be a good solution.  The inference is that if the timeout were lengthened (which I wouldn't do) the mail would eventually go?  Is that your experience..Just wanting to be sure I am on the right track with the problem.

 

well,it depends.

I had enormous page delays when pressing confirmation because the page had to wait for the email to be processed. Sometimes they would go fast, sometimes they would take a minute. If you would also send an additional email to the store it would sometimes time out. Apart from that, if confirmation takes too long, users start to press the confirmation button again and again.

 

So when using the queue, all that is done while confirming is saving the email(s) in the queue for off-line sending. Therefore the online delay is now gone.

 

The queue still uses the very same function for sending the emails out of the queue using the scheduled job or manual send so if that function causes problems they will remain but you will always retain a copy of the emails in the queue which enables you to re-send them if required, eliminating the need to send an additional copy to the owner and it also makes testing much easier as you do not need to create an email every time, you simply press send or set the email to "scheduled" and kick-off the scheduled job again.

Treasurer MFC

Posted
well,it depends.

I had enormous page delays when pressing confirmation because the page had to wait for the email to be processed. Sometimes they would go fast, sometimes they would take a minute. If you would also send an additional email to the store it would sometimes time out. Apart from that, if confirmation takes too long, users start to press the confirmation button again and again.

 

So when using the queue, all that is done while confirming is saving the email(s) in the queue for off-line sending. Therefore the online delay is now gone.

 

The queue still uses the very same function for sending the emails out of the queue using the scheduled job or manual send so if that function causes problems they will remain but you will always retain a copy of the emails in the queue which enables you to re-send them if required, eliminating the need to send an additional copy to the owner and it also makes testing much easier as you do not need to create an email every time, you simply press send or set the email to "scheduled" and kick-off the scheduled job again.

 

I added your email queue to my site only to discover there is no job scheduler or cron available from my hosting site. So now I am faced with a "how to trigger a job without a scheduler" problem.

 

In the meanwhile, it seems odd that others aren't suffering the same problems. Is there simply a faster email processor. Is mine unusually slow? (using hostexcellence.com). Thanks for your thoughts. I liked your idea until I ran into this scheduler issue.

Posted
I added your email queue to my site only to discover there is no job scheduler or cron available from my hosting site. So now I am faced with a "how to trigger a job without a scheduler" problem.

 

In the meanwhile, it seems odd that others aren't suffering the same problems.  Is there simply a faster email processor.  Is mine unusually slow?  (using hostexcellence.com).  Thanks for your thoughts.  I liked your idea until I ran into this scheduler issue.

 

well, you could schedule a job on your local desktop/notebook machine which kicks off the job located on your server. Who and from where a job is triggered is of no consequence other than that the job is initiated via the webserver as opposed to directly via the php processor.

 

Never encountered a host without job scheduling though.

Treasurer MFC

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...