Sorry Office Guy, lets get back to the beginning on this one.
The image button is supposed to link to the image source file. It is used to submit the form. As for the recordset, it is to complex for Dreamweaver to parse so throws that error.
there is probably a php error occurring when adding the item to the cart. you say it is working on your local testing server? it is only when pushed to the remote server that there is a problem?
add the following code to line 1 of your page:
This will display any PHP errors that may be occuring on the page.