<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Search in forums only bug?</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Fri, 17 Apr 2026 15:53:45 -0000</pubDate>

		<item>
			<title>Kort</title>
			<description><![CDATA[The Search plugin will be modified heavily for Siena - the problem is likely to be fixed also.]]></description>
			<pubDate>Za, 01 Mei 2010 02:58:21 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=5565&d=0#post24390]]></link>
		</item>
		<item>
			<title>foxhound</title>
			<description><![CDATA[I just found this here on this site. I was looking for some info and decided I did not want to search topic titles and only wanted to search the topics.<br />
So, try for yourself:<br />
<br />
Search query: comment<br />
Forums only<br />
Deselect topic titles, search only in posts.<br />
<br />
You will get more than 30 matches, pagination is active but no topics show. If you than click to go to page 2 and click to go a page back this error comes up: <pre class="code">#0  sed_diefatal(SQL error : 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 'LIMIT 0, 30' at line 9) called at &#091;/htdocs/system/database.mysql.php:219&#093;
#1  sed_sql_query(SELECT SQL_CALC_FOUND_ROWS p.fp_id, p.fp_text, t.ft_firstposterid,
					t.ft_firstpostername, t.ft_title, t.ft_id, t.ft_updated, s.fs_id, s.fs_title, s.fs_category
			 	FROM sed_forum_posts p, sed_forum_topics t, sed_forum_sections s
				WHERE 1 AND (p.fp_text LIKE '%comments%'
					OR t.ft_title LIKE '%comments%')
				AND p.fp_topicid=t.ft_id 
				AND p.fp_sectionid=s.fs_id  
				GROUP BY t.ft_id ORDER BY 
				LIMIT 0, 30) called at &#091;/htdocs/plugins/search/search.php:305&#093;
#2  include_once(/htdocs/plugins/search/search.php) called at &#091;/htdocs/system/core/plug/plug.inc.php:110&#093;
#3  require_once(/htdocs/system/core/plug/plug.inc.php) called at &#091;/htdocs/plug.php:31&#093;

Cotonti
2010-04-25 09:11
Fatal error : SQL error : 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 'LIMIT 0, 30' at line 9</pre>
<br />
<br />
If you search all and only deselect &quot;topic titles&quot; it will work.<br />
Thought I should share this bug.<br /><br /><b>Added 5 days later:</b><br /><br />I guess this is an IP related bug? Nobody else experiences this? Ah well, I wont bother anymore.]]></description>
			<pubDate>Ma, 26 Apr 2010 00:13:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=5565&d=0#post24337]]></link>
		</item>
	</channel>
</rss>