Hi,
Thanks for your reply.
What I see in error.log file:
PHP Parse error: syntax error, unexpected T_STRING in /.../components/com_jcomments/jcomments.class.php on line 1741
which is strange because line 1741 contains only "{" - please find the code piece below.
If it matters, I use a standard SEF, included in Joomla.
1740 public static function getLink($type = 'ajax', $object_id = 0, $object_group = '', $lang = '')
1741 {
1742 global $iso_client_lang;
1743
1744 $app = JCommentsFactory::getApplication();
1745 $config = JCommentsFactory::getConfig();
1746
1747 switch($type)
1748 {
1749 case 'rss':
1750 if (JCOMMENTS_JVERSION == '1.0') {
1751 return $app->getCfg('live_site') . '/index2.php?option=com_jcomments&task=rss&object_id='.$object_id.'&object_group='.$object_group.'&no_html=1';
1752 } else {
1753 $link = 'index.php?option=com_jcomments&task=rss&object_id='.$object_id.'&object_group='.$object_group.'&format=raw';
1754 if ($app->isAdmin()) {
1755 $link = JURI::root(true).'/'.$link;
1756 } else {
1757 $link = JRoute::_($link);
1758 }
1759 return $link;
1760 }
1761 break;
1762
1763 case 'noavatar':
1764 return $app->getCfg('live_site') . '/components/com_jcomments/images/no_avatar.png';
1765 break;
1766
1767 case 'smiles':
1768 $smilesPath = str_replace(DS, '/', $config->get('smiles_path', '/components/com_jcomments/images/smiles/'));
1769 $smilesPath = $smilesPath[strlen($smilesPath)-1] == '/' ? substr($smilesPath, 0, strlen($smilesPath)-1) : $smilesPath;
1770 return $app->getCfg('live_site') . $smilesPath; // '/components/com_jcomments/images/smiles';
1771 break;
1772
1773 case 'captcha':
1774 mt_srand((double)microtime()*1000000);
1775 $random = mt_rand(10000, 99999);
1776
1777 if (JCOMMENTS_JVERSION == '1.0') {
1778 return $app->getCfg('live_site') . '/index2.php?option=com_jcomments&task=captcha&no_html=1&ac=' . $random;
1779 } else if (JCOMMENTS_JVERSION == '1.7') {
1780 return JRoute::_('index.php?option=com_jcomments&task=captcha&format=raw&ac='.$random);
1781 } else {
1782 return JURI::root(true) . '/index.php?option=com_jcomments&task=captcha&tmpl=component&ac=' . $random;
1783 }
1784 break;
1785
1786 case 'ajax':
1787 $config = JCommentsFactory::getConfig();
1788
1789 // support alternate language files
1790 $lsfx = ($config->get('lsfx') != '') ? ('&lsfx='.$config->get('lsfx')) : '';
1791
1792 // support additional param for multilingual sites
1793 if (!empty($lang)) {
1794 $lang = '&lang='.$lang;
1795 } else {
1796 $lang = ($app->getCfg('multilingual_support') == 1) ? ('&lang='.$iso_client_lang) : '';
1797 }
1798
1799 if (JCOMMENTS_JVERSION == '1.0') {
1800 $_Itemid = '&Itemid=' . ((!empty($_REQUEST['Itemid'])) ? $_REQUEST['Itemid'] : 1);
1801 $link = $app->getCfg('live_site') . '/index2.php?option=com_jcomments&no_html=1' . $lang . $lsfx . $_Itemid;
1802 } else if (JCOMMENTS_JVERSION == '1.5') {
1803 $link = JURI::root(true) . '/index.php?option=com_jcomments&tmpl=component'.$lang.$lsfx;
1804 } else {
1805 $link = JRoute::_('index.php?option=com_jcomments&tmpl=component'.$lang.$lsfx);
1806 }
1807 return JCommentsSecurity::fixAJAX($link);
1808 break;
1809
1810 case 'ajax-backend':
1811 if (JCOMMENTS_JVERSION == '1.0') {
1812 $link = $app->getCfg('live_site') . '/administrator/index3.php?option=com_jcomments&no_html=1';
1813 } else {
1814 $link = $app->getCfg('live_site') . '/administrator/index.php?option=com_jcomments&tmpl=component&'.JCommentsSecurity::getToken().'=1';
1815 }
1816 return JCommentsSecurity::fixAJAX($link);
1817 break;
1818
1819 default:
1820 return '';
1821 break;
1822 }
1823 }