<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: [Plugin: Search Unleashed] problem after 2.7 upgrade</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: [Plugin: Search Unleashed] problem after 2.7 upgrade</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 17:07:10 +0000</pubDate>

<item>
<title>Eric P on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-1024044</link>
<pubDate>Mon, 23 Mar 2009 14:50:01 +0000</pubDate>
<dc:creator>Eric P</dc:creator>
<guid isPermaLink="false">1024044@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Nice catch tomchen1989. I used your fix interim.&#60;/p&#62;
&#60;p&#62;The author has since fixed this issue in version Version: 0.2.27. I was having the same problem and this version works for me.
&#60;/p&#62;</description>
</item>
<item>
<title>phbyerly on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-987474</link>
<pubDate>Mon, 16 Feb 2009 05:54:20 +0000</pubDate>
<dc:creator>phbyerly</dc:creator>
<guid isPermaLink="false">987474@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Love this search, but it's causing problems with making posts.  Posts save just fine, but I end up with a totally blank page with URL/wp-admin/post.php - no error message, just an empty page.  Same thing when I edit a post - it changes, but I get a blank page.&#60;/p&#62;
&#60;p&#62;I tried the two changes suggested above by tomchen1989, it did not help.
&#60;/p&#62;</description>
</item>
<item>
<title>tubalreversal on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-985908</link>
<pubDate>Sat, 14 Feb 2009 05:31:14 +0000</pubDate>
<dc:creator>tubalreversal</dc:creator>
<guid isPermaLink="false">985908@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks guys works for me :)
&#60;/p&#62;</description>
</item>
<item>
<title>tomchen1989 on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-964104</link>
<pubDate>Fri, 23 Jan 2009 11:56:36 +0000</pubDate>
<dc:creator>tomchen1989</dc:creator>
<guid isPermaLink="false">964104@http://wordpress.org/support/</guid>
<description>&#60;p&#62;oops, my mistake...:)
&#60;/p&#62;</description>
</item>
<item>
<title>doctorkaraca on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-962995</link>
<pubDate>Thu, 22 Jan 2009 07:04:24 +0000</pubDate>
<dc:creator>doctorkaraca</dc:creator>
<guid isPermaLink="false">962995@http://wordpress.org/support/</guid>
<description>&#60;p&#62;tomchen1989 you are genius and my hero. Your instructions above works wonderfully. One minor thing, &#60;/p&#62;
&#60;p&#62;&#60;code&#62;$this-&#38;gt;first_match = mb_strlen ($this-&#38;gt;text, get_option (&#38;#39;blog_charset&#38;#39;));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;is not in models\search-unleashed.php but in models\highlighter.php.&#60;/p&#62;
&#60;p&#62;Thanks a lot.
&#60;/p&#62;</description>
</item>
<item>
<title>tomchen1989 on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-962796</link>
<pubDate>Thu, 22 Jan 2009 00:18:32 +0000</pubDate>
<dc:creator>tomchen1989</dc:creator>
<guid isPermaLink="false">962796@http://wordpress.org/support/</guid>
<description>&#60;p&#62;this problem is caused by the lack of mbstring module, so you can also install the mbstring module to solve the problem.
&#60;/p&#62;</description>
</item>
<item>
<title>tomchen1989 on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-962794</link>
<pubDate>Thu, 22 Jan 2009 00:16:52 +0000</pubDate>
<dc:creator>tomchen1989</dc:creator>
<guid isPermaLink="false">962794@http://wordpress.org/support/</guid>
<description>&#60;p&#62;FOR THE STEP 1: if you want more exact, replace that with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if (!function_exists (&#38;#39;mb_strlen&#38;#39;))
{
	function mb_strlen1 ($str, $encoding) {
		if ($encoding==&#38;#39;UTF-8&#38;#39;) {
			return preg_match_all(&#38;#39;%(?:
					  [\x09\x0A\x0D\x20-\x7E]           # ASCII
					&#124; [\xC2-\xDF][\x80-\xBF]            # non-overlong 2-byte
					&#124;  \xE0[\xA0-\xBF][\x80-\xBF]       # excluding overlongs
					&#124; [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte
					&#124;  \xED[\x80-\x9F][\x80-\xBF]       # excluding surrogates
					&#124;  \xF0[\x90-\xBF][\x80-\xBF]{2}    # planes 1-3
					&#124; [\xF1-\xF3][\x80-\xBF]{3}         # planes 4-15
					&#124;  \xF4[\x80-\x8F][\x80-\xBF]{2}    # plane 16
					)%xs&#38;#39;,$str,$out);
		}else{
			return strlen($str);
		}
	}
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>tomchen1989 on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-962793</link>
<pubDate>Thu, 22 Jan 2009 00:15:22 +0000</pubDate>
<dc:creator>tomchen1989</dc:creator>
<guid isPermaLink="false">962793@http://wordpress.org/support/</guid>
<description>&#60;p&#62;=================STEP 1===================&#60;br /&#62;
open the file search-unleashed.php (line 697-703 for v0.2.24),&#60;br /&#62;
replace this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if (!function_exists (&#38;#39;mb_strlen&#38;#39;))
{
	function mb_strlen ($str, $encoding)
	{
		return strlen ($str);
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if (!function_exists (&#38;#39;mb_strlen&#38;#39;))
{
	function mb_strlen1 ($str, $encoding)
	{
		return strlen ($str);
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;=================STEP 2===================&#60;br /&#62;
then open the file models\search-unleashed.php (line 21 for v0.2.24),&#60;br /&#62;
replace this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$this-&#38;gt;first_match = mb_strlen ($this-&#38;gt;text, get_option (&#38;#39;blog_charset&#38;#39;));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if (!function_exists (&#38;#39;mb_strlen&#38;#39;)){
			$this-&#38;gt;first_match = mb_strlen1 ($this-&#38;gt;text, get_option (&#38;#39;blog_charset&#38;#39;));
		}else{
			$this-&#38;gt;first_match = mb_strlen ($this-&#38;gt;text, get_option (&#38;#39;blog_charset&#38;#39;));
		}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>tubalreversal on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-961821</link>
<pubDate>Wed, 21 Jan 2009 02:17:48 +0000</pubDate>
<dc:creator>tubalreversal</dc:creator>
<guid isPermaLink="false">961821@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I tried&#60;br /&#62;
function mb_strlen ($str, $encoding = &#34;base64&#34;)&#60;br /&#62;
this got rid of the error on edit.php but it is still there on post.php
&#60;/p&#62;</description>
</item>
<item>
<title>tubalreversal on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-961727</link>
<pubDate>Tue, 20 Jan 2009 23:50:56 +0000</pubDate>
<dc:creator>tubalreversal</dc:creator>
<guid isPermaLink="false">961727@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I may have spoken too soon i now see a similar error on the wp-admin/post.php page and have deactivated again.
&#60;/p&#62;</description>
</item>
<item>
<title>tubalreversal on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-961684</link>
<pubDate>Tue, 20 Jan 2009 23:14:25 +0000</pubDate>
<dc:creator>tubalreversal</dc:creator>
<guid isPermaLink="false">961684@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks 'doctorkaraca' editing search-unleashed.php to function mb_strlen ($str) worked for me.&#60;/p&#62;
&#60;p&#62;We also have php version 4.4.7 and wp-admin/options-reading.php is set to UTF-8
&#60;/p&#62;</description>
</item>
<item>
<title>doctorkaraca on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-944989</link>
<pubDate>Sun, 04 Jan 2009 21:11:19 +0000</pubDate>
<dc:creator>doctorkaraca</dc:creator>
<guid isPermaLink="false">944989@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Following line exists in my wp-config.php&#60;/p&#62;
&#60;p&#62;&#60;code&#62;define(&#38;#39;DB_CHARSET&#38;#39;, &#38;#39;utf8&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If I don't change the search-unleashed.php as I mentioned above, I cannot add or edit any posts. After the change however, I am able to post new entries and edit existing posts whose titles don't exceed 30 characters or so... Wierd.&#60;/p&#62;
&#60;p&#62;My host is using PHP 4.4.7 still. I wonder if I am missing out on some important new PHP functionality.
&#60;/p&#62;</description>
</item>
<item>
<title>hallsofmontezuma on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-931466</link>
<pubDate>Fri, 19 Dec 2008 23:35:47 +0000</pubDate>
<dc:creator>hallsofmontezuma</dc:creator>
<guid isPermaLink="false">931466@http://wordpress.org/support/</guid>
<description>&#60;p&#62;That variable checks the database to see the charset you have, ie UTF-8.  Though the search may work fine for you if it disregards the setting, you possible haven't set that option for your WordPress installation.  &#60;/p&#62;
&#60;p&#62;Check your wp-config.php, is your charset set to utf8?
&#60;/p&#62;</description>
</item>
<item>
<title>doctorkaraca on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-930663</link>
<pubDate>Fri, 19 Dec 2008 06:55:10 +0000</pubDate>
<dc:creator>doctorkaraca</dc:creator>
<guid isPermaLink="false">930663@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Editing search-unleashed.php and changing line 699 as follows temporarily works for me as I wait for the next update of the plugin.&#60;/p&#62;
&#60;p&#62;Find the line that goes:&#60;/p&#62;
&#60;p&#62;	function mb_strlen ($str, $encoding)&#60;/p&#62;
&#60;p&#62;and replace it with:&#60;/p&#62;
&#60;p&#62;	function mb_strlen ($str)&#60;/p&#62;
&#60;p&#62;I hope I am not breaking anything. But as I said, it's a temp solution and it works for me.
&#60;/p&#62;</description>
</item>
<item>
<title>tubalreversal on "[Plugin: Search Unleashed] problem after 2.7 upgrade"</title>
<link>http://wordpress.org/support/topic/225204#post-924192</link>
<pubDate>Sat, 13 Dec 2008 23:40:28 +0000</pubDate>
<dc:creator>tubalreversal</dc:creator>
<guid isPermaLink="false">924192@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I have just upgraded to wordpress 2.7 and am getting Warning: Missing argument 2 for mb_strlen() in /usr/home/blog/wp-content/plugins/search-unleashed/search-unleashed.php on line 698. Please advise.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
