According to the error report, there's a problem being encountered in the shopfileio.asp file because it's trying to use a variable or sub (Handle_Product) which isn't being properly defined before it's being used.
I've run a quick search for the variable in our own cart, and found that it is a sub that is defined initially in two places - shopdisplaycategories.asp and shopproductformat_template.asp. Your template probably skips over the definition somewhere, either because it was deleted or the required files are not included with the file. Adding the sub code back in should solve the problem.
The definition of the sub in shopdisplaycategories looks like this:Sub Handle_Product (isub)
select case isub
Case "FORMATIMAGE"
If strCatImage<> "" then
AddImage lngcatid, strcategory
end if
Case "FORMATHYPERLINKS"
GenerateCatLink lngcatid,strcategory
case else
debugwrite "Unknown sub"
end select
end sub
The sub in shopproductformat_template.asp looks like this: Sub Handle_Product (isub)
select case isub
Case "FORMATIMAGE"
Formatimage
Case "FORMATBUTTON"
If ProductSelect="Yes" then
AddSelect
else
Formatbutton
end if
Case "FORMATHYPERLINKS"
Formathyperlinks
Case "FORMATOVERALLRATING"
Formatoverallrating
Case "FORMATPRODUCTOPTIONS"
Formatproductoptions
Case "FORMATQUANTITY"
Formatquantity
case else
debugwrite "Unknown sub"
end select
end sub
Best of luck - hope this helps!
~D