Quote:
Originally Posted by Dylanblitz
Open includes/garage_func_var.php
Find
Code:
$img_comm_cnt_query = $vbulletin->db->query_read("SELECT COUNT(image_id) AS ImageCommCount FROM " . TABLE_PREFIX . "garage_image_comments WHERE image_id = '$data[id]' WHERE active = '1'");
replace with
Code:
$img_comm_cnt_query = $vbulletin->db->query_read("SELECT COUNT(image_id) AS ImageCommCount FROM " . TABLE_PREFIX . "garage_image_comments WHERE image_id = '$data[id]' && active = '1'");
|
That got rid of the database error, thank you...what it does now is shows the vbulletin message "could not find the phrase 'addedgb'" and I notice none of the comments show up in the latest comments block on the garage home...it says "no listings in the database at this time"