LineCode includes/classes/sbr.core.db.php
150 {
151 <?php             $error mysql_error();
152 <?php             $error .= PHP_EOL $aSql;
153 <?php 
154 <?php             trigger_error($errorE_USER_ERROR);

#0  trigger_error(Table 'indianco_sb12.sbr1200_' doesn't exist
(SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_articles` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_listings` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(FROM_UNIXTIME(`date`), '%e') as date FROM `sbr1200_events` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(FROM_UNIXTIME(`date`), '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m')), 256) called at [/home/indianco/public_html/includes/classes/sbr.core.db.php:154]
#1  sbrDatabase.query((SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_articles` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_listings` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(FROM_UNIXTIME(`date`), '%e') as date FROM `sbr1200_events` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(FROM_UNIXTIME(`date`), '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))) called at [/home/indianco/public_html/includes/classes/sbr.core.db.php:175]
#2  sbrDatabase.getAll((SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_articles` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_listings` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(FROM_UNIXTIME(`date`), '%e') as date FROM `sbr1200_events` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(FROM_UNIXTIME(`date`), '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))) called at [/home/indianco/public_html/plugins/calendar/includes/classes/sbr.front.calendar.php:132]
#3  sbrCalendar.getActiveDates(Array, Array) called at [/home/indianco/public_html/plugins/calendar/index.php:83]
#4  require_once(/home/indianco/public_html/plugins/calendar/index.php) called at [/home/indianco/public_html/controller.php:68]

Table 'indianco_sb12.sbr1200_' doesn't exist (SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_articles` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_listings` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(`date`, '%e') as date FROM `sbr1200_` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(`date`, '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))UNION(SELECT DISTINCT DATE_FORMAT(FROM_UNIXTIME(`date`), '%e') as date FROM `sbr1200_events` WHERE `status`='active' AND `date`!=0 AND DATE_FORMAT(FROM_UNIXTIME(`date`), '%Y-%m')=DATE_FORMAT('2010-6-1', '%Y-%m'))

155 }
156 <?php 
157 return $rs;
158 }
159 <?php