For reference, here is the SQL I use to find the missing filenames:
select pa.products_id, pa.products_attributes_id, p.products_name
from Products_attributes as pa, products_description as p
where not exists(select * from products_attributes_download as pad where pa.products_attributes_id = pad.products_attributes_id ) and pa.products_id=p.products_id order by pa.products_id
So the entry in products_attributes_download is missing but the entry in products_attributes is still there.
Yeah, it has taken me two years to track this down just because it makes not sense.
I just ran the script and found another four products BEFORE anyone purchased them.
My next mod will be one that allows for attaching downloads to orders directly. Currently, it is all through SQL scripts on the DB. Still, if we coudl just stop it from happening it would be great. Luckily, I have a version of this with the Subscription mod I did so whipping this bad boy up should not be too hard.
Good luck!
Bill






