Somehow your recordset is missing the table name. On line 12 you have:
$WADA->setQuery("SELECT id, Image1_250, Model, DescriptionShort, Price FROM ");
There should be a table name after the FROM. It appears the detail page has the same problem. I'm not sure how that occurred, but you can fix it by just adding the correct table name in after the FROM statement on both pages.