What shopping cart software are you using? If it's a commercial package, you should contact the vendor concerning problems.
Likewise, if it didn't work out of the box, you should complain to the vendor, and/or choose a different product.
If it used to work and is now suddenly throwing errors, you need to tell us what you changed in the interim.