Jump to content
Sign in to follow this  
Kelly_Hero

Time Out After Order

Recommended Posts

Hi,

 

I need help pinpointing a problem with timing out after confirming an order. When I place a test order and click "Confirm Order", I get:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\vhosts\xxxxxxxx.com\httpdocs\catalog\includes\classes\email.php on line 520

 

Even though the script times out, the order does write to the orders table and the emails are sent to the customer and all email addresses set in my store's configuration.

 

I think I've narrowed it down to a problem with having a value in the "Send Extra Order Emails to" field. If I delete the value, or if I comment out the lines below in checkout_process.php, it doesn't time out.

 

// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
   tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }

 

The only contribution that I have installed that require changes to checkout_process.php is Zappo's Option Types V2.

 

Any ideas where else I can look to solve this? Thanks.


Happiness does not come from doing easy work but from the afterglow of satisfaction that comes after the achievement of a difficult task that demanded our best. --Anonymous

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×