При выводе материалов таблицей и включенном опенсеф таблица с материалом отображается но между словом "Отображать" и впадающем списком, в котором можно выбрать какое кол-во материалов отображать на странице, выпадают следующие строки с ошибкой
Notice: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[selectedIndex].value + '&limitstart=0' ORDER BY site_id DESC, published DESC, v' at line 4 in /home/***/www/includes/database/database/database.php on line 328
SELECT * FROM jos_opensef_sef WHERE published = '1'
AND valid = '1'
AND (direction IS NULL OR direction = '' OR direction = 'o')
AND internal='index.php?option=com_content&task=category§ionid=18&id=178&Itemid=1275&limit=' + this.options[selectedIndex].value + '&limitstart=0'
ORDER BY site_id DESC, published DESC, valid DESC, LENGTH(direction) DESC limit 1
/home/***/www/includes/database/database/database.php:437
/home/***/www/administrator/components/com_sef/sef.class.php:292
/home/***/www/administrator/components/com_sef/core/sef.rewriter.php:124
/home/***/www/administrator/components/com_sef/core/sef.rewriter.php:70
/home/***/www/administrator/components/com_sef/sef.functions.php:415
/home/***/www/includes/pageNavigation.php:52
/home/***/www/components/com_content/content.html.php:386
/home/***/www/components/com_content/content.html.php:229
/home/***/www/components/com_content/content.php:786
/home/***/www/includes/Cache/Lite/Function.php:48
/home/***/www/includes/joomla.cache.php:56
/home/***/www/components/com_content/content.php:70
/home/***/www/index.php:295
Joostina 1.2 v2 stable
на хосте
apache 1.3.34
mysql 5.0.67
PHP 5.2.8
В чем может быть ошибка и где копать, чтобы ее поправить?