<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - url rewriting and search.php]]></title>
		<link>http://punbb.informer.com/forums/topic/21736/url-rewriting-and-searchphp/</link>
		<description><![CDATA[The most recent posts in url rewriting and search.php.]]></description>
		<lastBuildDate>Wed, 24 Jun 2009 05:37:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128632/#p128632</link>
			<description><![CDATA[<p>i found the problem,</p><p>one of my extensions did set the $query variable, serahc.php is checking on isset($query), but is never clearing this var so i added a clear action for it (the last else):</p><div class="codebox"><pre><code>if (isset($_GET[&#039;search_id&#039;]))
{
....
}
else if (isset($_GET[&#039;action&#039;]))
{
....
}
else
{
unset($query);
}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Cereal)]]></author>
			<pubDate>Wed, 24 Jun 2009 05:37:25 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128632/#p128632</guid>
		</item>
		<item>
			<title><![CDATA[Re: url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128620/#p128620</link>
			<description><![CDATA[<p>Try to debug the process of selecting rewrite rule in &quot;&lt;FORUM_ROOT&gt;/rewrite.php&quot; (lines 45-76).</p>]]></description>
			<author><![CDATA[dummy@example.com (Slavok)]]></author>
			<pubDate>Tue, 23 Jun 2009 09:41:35 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128620/#p128620</guid>
		</item>
		<item>
			<title><![CDATA[Re: url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128423/#p128423</link>
			<description><![CDATA[<p>anyone what has an idea what causes this?</p>]]></description>
			<author><![CDATA[dummy@example.com (Cereal)]]></author>
			<pubDate>Thu, 11 Jun 2009 06:07:57 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128423/#p128423</guid>
		</item>
		<item>
			<title><![CDATA[Re: url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128270/#p128270</link>
			<description><![CDATA[<p>yeah without this rule, the searching works perfect</p>]]></description>
			<author><![CDATA[dummy@example.com (Cereal)]]></author>
			<pubDate>Thu, 04 Jun 2009 10:36:36 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128270/#p128270</guid>
		</item>
		<item>
			<title><![CDATA[Re: url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128264/#p128264</link>
			<description><![CDATA[<p>But does it really infuence? Works rewriting of search.php fine without the new rule?</p>]]></description>
			<author><![CDATA[dummy@example.com (Parpalak)]]></author>
			<pubDate>Thu, 04 Jun 2009 09:38:31 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128264/#p128264</guid>
		</item>
		<item>
			<title><![CDATA[Re: url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128258/#p128258</link>
			<description><![CDATA[<p>i create a new url rewriting as folowed</p><div class="codebox"><pre><code>$forum_rewrite_rules[&#039;/^wallpapers$/i&#039;] = &#039;extensions/&#039;.$ext_info[&#039;id&#039;].&#039;/page.php?p=2&#039;;</code></pre></div><p>i don&#039;t see how this can influence the one sued for the search ....</p>]]></description>
			<author><![CDATA[dummy@example.com (Cereal)]]></author>
			<pubDate>Thu, 04 Jun 2009 08:51:09 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128258/#p128258</guid>
		</item>
		<item>
			<title><![CDATA[Re: url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128256/#p128256</link>
			<description><![CDATA[<p>The value &quot;search.html&quot; is processed by this regex: <a href="http://punbb.informer.com/trac/browser/punbb/trunk/include/url/File_based/rewrite_rules.php#L21">http://punbb.informer.com/trac/browser/ &#133; es.php#L21</a></p><div class="codebox"><pre><code>&#039;/^(login|search|register)(\.html?|\/)?$/i&#039;     =&gt;    &#039;$1.php&#039;,</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Parpalak)]]></author>
			<pubDate>Thu, 04 Jun 2009 08:48:50 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128256/#p128256</guid>
		</item>
		<item>
			<title><![CDATA[Re: url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128251/#p128251</link>
			<description><![CDATA[<p>hmm,</p><p>there are no se% hooks in the db ...</p><p>the only thing there is are some url rewrites in a custom extension and it seems that these are creating the troubles<br />more specific:<br /></p><div class="codebox"><pre><code>$query = array(
                                &#039;SELECT&#039;        =&gt; &#039;*&#039;,
                                &#039;FROM&#039;          =&gt; &#039;cpages&#039;
                        );
                        $result = $forum_db-&gt;query_build($query) or error(__FILE__, __LINE__);
                        while ( $item = $forum_db-&gt;fetch_assoc($result) ) {
                                $forum_rewrite_rules[&#039;/^&#039;.$item[&#039;url&#039;].&#039;$/i&#039;] = &#039;extensions/&#039;.$ext_info[&#039;id&#039;].&#039;/page.php?p=&#039;.$item[&#039;id&#039;];
                        }</code></pre></div><p>but there are no &#039;search&#039; urls in the db and certainly no search.html</p>]]></description>
			<author><![CDATA[dummy@example.com (Cereal)]]></author>
			<pubDate>Thu, 04 Jun 2009 07:41:45 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128251/#p128251</guid>
		</item>
		<item>
			<title><![CDATA[Re: url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128248/#p128248</link>
			<description><![CDATA[<p>If I request the search.html page, your forum tries to display some search results. Did you modify the code of your forum? Have you any extensions installed, which can affect the search page?</p>]]></description>
			<author><![CDATA[dummy@example.com (Slavok)]]></author>
			<pubDate>Thu, 04 Jun 2009 07:13:31 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128248/#p128248</guid>
		</item>
		<item>
			<title><![CDATA[url rewriting and search.php]]></title>
			<link>http://punbb.informer.com/forums/post/128245/#p128245</link>
			<description><![CDATA[<p>hi, when i use url rewriting (the file based fancy one) the search link is not working</p><p>this is with the rewrite: <a href="http://neworder.box.sk/forum/search.html">http://neworder.box.sk/forum/search.html</a><br />this is the direct link: <a href="http://neworder.box.sk/forum/search.php">http://neworder.box.sk/forum/search.php</a></p><p>any ideas what goes wrong?</p>]]></description>
			<author><![CDATA[dummy@example.com (Cereal)]]></author>
			<pubDate>Thu, 04 Jun 2009 06:40:23 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128245/#p128245</guid>
		</item>
	</channel>
</rss>
