FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Search results blank...sometimes?? (search error blank page)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Search results blank...sometimes?? [message #163267 is a reply to message #163266] Wed, 13 October 2010 14:39 Go to previous messageGo to previous message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma:
Senior Member
That sounds like it could be your problem hehe

That is strange though, mb_substr is a builtin PHP function (http://php.net/manual/en/function.mb-substr.php)

Could you perhaps grab some of the code from your compiled search.php - should be located in WWW_ROOT/theme/THEMENAME/search.php - Search for mb_substr - It should look something like this:

/* Remove stuff in quotes */
	while (preg_match('!<cite>(.*?)</cite><blockquote>(.*?)</blockquote>!is', $body)) {
		$body = preg_replace('!<cite>(.*?)</cite><blockquote>(.*?)</blockquote>!is', '', $body);
	}

	$body = strip_tags($body);
	if (strlen($body) > $GLOBALS['MNAV_MAX_LEN']) {
		$body = mb_substr($body, 0, $GLOBALS['MNAV_MAX_LEN']) . '...';
	}
	return $body;
}


The piece of code its complaining about is located in search_forum_sel.inc.t


[Updated on: Wed, 13 October 2010 14:39]

Report message to a moderator

[Message index]
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: User Administration System: max 50 users displayed
Next Topic: Trying to register user gives blank page
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 21:33:47 GMT 2024

Total time taken to generate the page: 0.03375 seconds