Notice: Error: Can't create/write to file '/tmp/#sql_2be_1.MYD' (Errcode: 17)
Error No: 1
SELECT DISTINCT fs.* FROM oc_flashsale fs LEFT JOIN oc_url_alias ua ON (fs.keyword=ua.keyword) WHERE ua.status='1' AND fs.date_start < NOW() AND fs.date_end > NOW() AND fs.status='1' AND date_start < NOW() AND date_end > NOW() ORDER BY name ASC LIMIT 5 in /var/www/html/shop/system/library/db.php on line 27

Notice: Trying to get property of non-object in /var/www/html/shop/catalog/model/catalog/flashsale.php on line 24

debug