Featured cars block not working

Discussion in 'Auto Classifieds Script' started by willylions, Jan 11, 2017.

  1. willylions

    willylions New Member

    new info. the DEBUG MODE Panel throws this error:

    Code (Text):
    User Warning: Column 'id' in where clause is ambiguous SELECT SQL_CALC_FOUND_ROWS t1.*, t2.`title` `model` FROM `sbr405_autos` t1 LEFT JOIN `sbr405_autos_models` t2 ON (t1.`model_id` = t2.`id`) LEFT JOIN `sbr405_members` t3 ON (t1.`member_id` = t3.`id`) WHERE t1.`featured` = 1 AND ((`id` >= 200 AND `id` <= 300) OR (`id` >= 380 AND `id` <= 480) OR (`id` >= 460 AND `id` <= 560) OR (`id` >= 640 AND `id` <= 740) OR (`id` >= 920 AND `id` <= 1020) OR (`id` >= 1100 AND `id` <= 1200) OR (`id` >= 1280 AND `id` <= 1380) OR (`id` >= 1260 AND `id` <= 1360) OR (`id` >= 1440 AND `id` <= 1540) OR (`id` >= 1720 AND `id` <= 1820) OR (`id` >= 1800 AND `id` <= 1900) OR (`id` >= 1980 AND `id` <= 2080)) AND t1.`status` = 'active' AND t3.`status` = 'active' ORDER BY RAND() LIMIT 0, 6
    on line 165 in file includes/classes/ia.core.mysqli.php
    i noticed it mentions 'featured' but i dont understand it.

Share This Page