Warning: mysqli::query(): (HY000/3): Error writing file '/tmp/MYfd=999' (OS errno 28 - No space left on device) in /var/www/patterns/system/class/class.model.php on line 97
Error writing file '/tmp/MYfd=999' (OS errno 28 - No space left on device)
select i.*, date_format(dob, '%d.%m.%Y') as 'date', f.id as favorite
from `items` i
left join favorites f on (f.item_id=i.id and f.user_id = 0)
where 1=1 and i.invalid=0 and invisible=0 order by rand() desc limit 0, 5