close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Ecart Store Details in Database issue...

Thread began 10/06/2011 11:12 am by daniel279790 | Last modified 10/07/2011 6:23 am by daniel279790 | 634 views | 2 replies

Jason ByrnesWebAssist

the way the store order details works is to loop through each line item in the cart and perform an INSERT operation to the MySQL database.

If you have 600 line items in the cart, this will cause the loop to take a little while to complete all 600 inserts.

most likely this is causing the script to exceed the php Max Execution Time. this is a setting in the php.ini that limits the amount of time a php script can run for

you can try adding the following code at line 1 of the page with the store order details behavior on it to increase the max execution time setting to infinity:

<?php set_time_limit(0); ?>

it's also possible that the MySQL server has a limit on the number of INSERTS that can be processed in a certain time period, if that's the case, you will need to contact the host.

ass for overwriting the order, the store order summary behavior sets a session variable that is used as the OrderID if this session is not cleared after the order is stored, it will overwirte the previous order. Most likely when you tested the second time, you did not close the browser window first so the previous order session was still alive.

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





Ease of use


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