Home Galeria Direktoria Identifikohu Rregjistrohu Sherbimi Pyetje Rregullorja
fr it sq en
Expression #12 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'imazh_data.i.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by SQL=SELECT g.gallery_id,g.name as gallery_name,g.name as gallery_dir,g.create_date, count(distinct i.id) as imgs,sum(i.views) as totalviews,count(distinct c.comment_id) as totalcomments, sum(i.views) + count(distinct c.comment_id) as totals, sum(i.ratings) as totalratings,sum(i.votes) as totalvotes, sum(i.ratings)/sum(i.votes) as totalrated, i.id,i.name,i.views,i.height,i.width,s.domain FROM gallery as g LEFT JOIN images4g as i on i.gallery_id=g.gallery_id LEFT JOIN users as u on u.id=g.uid LEFT JOIN groups as gps on u.gid=gps.id LEFT JOIN comments as c on c.img_id=i.id LEFT JOIN server as s on i.server_id=s.server_id WHERE (gps.bandwidth=0 OR gps.bandwidth>=u.bandwidth) and u.status=1 and (u.expire_date>1569215540 or gps.subscr_fee='') and (i.deleted=0) and i.id!=0 AND g.status!=0 GROUP BY g.gallery_id ORDER BY totalrated DESC LIMIT 0,30

Top Rated Gallery

· ·

Copyright © 2005 - Imazhe Lirenti.com. All rights reserved.

Syndicate | E Re | Popular | Top Rated | Random | Link to us