Database error: Invalid SQL: select distinct
p.id,
i.id as iid,
pr.currency,
pr.websale as websale,
min(pr.price) as minprice,
max(pr.price) as maxprice,
p.title,
p.author,
p.shortdesc,
p.format,
p.icon,
ifnull(v.name, p.vendor) as vendor
from
product p left join vendors v on p.vendor=v.code,
image i, price pr
where
p.id=i.prodid
and p.id = pr.prodid
and i.identifier='main'
and p.enabled = 'yes'
and p.category in ( 'fotocd','fotoproduct')
and p.subcategory = 'Foto-Specials'
group by p.id
order by p.sortname
limit -15, 15
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-15, 15' at line 26)
Please contact shopmaster@fonts.at and report the exact error message.
Session halted.