close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Memory Error When Shipping is Taxed option is set

Thread began 11/05/2012 8:01 pm by siteontime | Last modified 11/07/2012 2:23 pm by Jason Byrnes | 974 views | 3 replies |

siteontimeBeta Tester

Memory Error When Shipping is Taxed option is set

When I check the box to calculate tax on shipping I get the following memory error:


Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7680 bytes) in /usr/www/users/test/siteontime.com/WA_eCart/WA_eCart_Definition_PHP.php(308) : eval()'d code on line 1
Product Description Color Price Quantity Remove Total

Thanks for your help.

Sign in to reply to this post

Jason ByrnesWebAssist

How are the tax and shipping rules set up?

normally, this happens if you use the Taxable total in the shipping calculation, if you include the tax in the shipping, the taxable total changes once the shipping is applied, so tax needs to be recalculated. once tax is recalculated, the taxable total has changed so shipping needs to be recalculated and so on in an endless loop

Sign in to reply to this post

siteontimeBeta Tester

I am calculating the tax on the taxable total but it's a custom column I created to find the items in an order that are taxable. Not sure why this would be causing a loop. I have attached my eCart file for you to review.

Attached Files
eCart1_PHP.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the trigger for the shipping compares the taxable total to the $_SESSION['i8_FreeShipMinOrderValue']


since you use the shipping in the tax, once the shipping is applied, the taxable total changes causing the loop.

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