mysql Error [1054] : EXECUTEURI: index.php?option=com_eventcalendar&catid=40+66+67+70&year=2010&month=10&task=dayview&day=14&Itemid=0Message: Unknown column 'e.language' in 'where clause'SELECT e.id, e.start_date, e.end_date FROM elx_eventcalendar e LEFT JOIN elx_categories c ON c.id = e.catid WHERE e.published = '1' AND c.published = '1' AND c.access IN (19,20,21,18,29,24,23,25,30) AND ( (e.language IS NULL) OR (e.language LIKE '%english%') ) AND ( (c.language IS NULL) OR (c.language LIKE '%english%') ) ORDER BY e.start_date ASCPHP Error [Warning]URI: index.php?option=com_eventcalendar&catid=40+66+67+70&year=2010&month=10&task=dayview&day=14&Itemid=0Path: 2011/components/com_eventcalendar/eventcalendar.phpLine: 747Invalid argument supplied for foreach()
ALTER TABLE `elx_eventcalendar` ADD `language` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'english' AFTER `seotitle`
ALTER TABLE `elx_eventcalendar` ADD COLUMN `language` VARCHAR( 255 ) DEFAULT NULL AFTER `seotitle`
<b><?php echo $objEventCalendar->lng->EDT_START ?>:</b> <?php echo date($objEventCalendar->params['com']->get('date_format', 'd-m-Y'), strtotime($event->start_date)) ?> και ώρα <?php echo date("H:i:s", strtotime($event->start_date)) ?> <br/> <b><?php echo $objEventCalendar->lng->EDT_END ?>:</b> <?php echo date($objEventCalendar->params['com']->get('date_format', 'd-m-Y'), strtotime($event->end_date)) ?> και ώρα <?php echo date("H:i:s", strtotime($event->end_date)) ?>
i dont know if the problem solved with the words και ωρα in eventcalendar.html.php code, i make some changes (i havent used that com before) i put 2 lines in each files languages, for greek public $EDT_SHOUR = 'και ώρα'; public $EDT_EHOUR = 'και ώρα'; and for english file public $EDT_SHOUR = 'at'; public $EDT_EHOUR = 'at';after i change the code in eventcalendar.html.php at line 542 <b><?php echo $objEventCalendar->lng->EDT_START ?>:</b> <?php echo date($objEventCalendar->params['com']->get('date_format', 'd-m-Y'), strtotime($event->start_date)) ?> <?php echo $objEventCalendar->lng->EDT_SHOUR ?> <?php echo date("H:i:s", strtotime($event->start_date)) ?>and at line 544 <b><?php echo $objEventCalendar->lng->EDT_END ?>:</b> <?php echo date($objEventCalendar->params['com']->get('date_format', 'd-m-Y'), strtotime($event->end_date)) ?> <?php echo $objEventCalendar->lng->EDT_EHOUR ?> <?php echo date("H:i:s", strtotime($event->end_date)) ?>also at line 543 the tag <br/> must change in <br />for me work fine but if someone who use the com can check this and confirm it it will be nice