on home page i get
500
JHtml icon not found.
i have 3 articles and the menu links to them. why i am getting this error please? am happy to pm details to moderator thanks
<?php
// no direct access
defined('_JEXEC') or die;
JHtml::_('behavior.caption');
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers');
JLoader::register('TagsHelperRoute', JPATH_BASE . '/components/com_tags/helpers/route.php');
// Create shortcuts to some parameters.
$params = $this->item->params;
if(version_compare( JVERSION, '1.8', 'ge' )) {
$images = json_decode($this->item->images);
}
$attribs = json_decode($this->item->attribs);
if(count($attribs)) {
foreach($attribs as $key => $value) {
if($value != null) {
$params->set($key, $value);
}
}
}
$canEdit = $this->item->params->get('access-edit');
$user = JFactory::getUser();
// URL for Social API
<?php
// no direct access
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT .'/helpers');
// Create shortcuts to some parameters.
$params = $this->item->params;
$images = json_decode($this->item->images);
$attribs = json_decode($this->item->attribs);
JLoader::register('TagsHelperRoute', JPATH_BASE . '/components/com_tags/helpers/route.php');
foreach($attribs as $key => $value) {
if($value != null) {
$params->set($key, $value);
}
}
$canEdit = $this->item->params->get('access-edit');
$urls = json_decode($this->item->urls);
$user = JFactory::getUser();
// URL for Social API
JHtml::addIncludePath(JPATH_COMPONENT .'/helpers');
JHtml::_('behavior.caption');