Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Time Out After Order


Kelly_Hero

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...