Search issues when using hebrew langugae

User avatar
Joomla! Explorer
Joomla! Explorer
Posts: 305
Joined: Mon Aug 22, 2005 11:39 am
Location: UK

Search issues when using hebrew langugae

Post by alan-s » Fri Nov 11, 2011 5:45 pm

Joomla 1.5.23
PHP 5.2.17
MySQL 5.0

I have a site in RTL style, using Hebrew language pack front and back. I dont speak Hebrew unfortunately.

Whenever a search is conducted an error is produced.
A search results in a url like this:

The error produced is:
Warning: Invalid argument supplied for foreach in
mydomain/plugins/search/content.php on line 254

I have tried disabling plugins and have looked at the code which seems to be a problem connected with counting the actual results - the array of results seems to return zero.

I have noticed the $limit -= in queries which seems like minus the count but cant hack my way around it

Code: Select all

$db->setQuery( $query, 0, $limit );
$list = $db->loadObjectList();
$limit -= count($list);
I see language pagination issues mentioned in the forum but assumed this was a separate issue.

Any pointers welcome :)
if you don't know where you're going you are bound to end up somewhere....

Please read forum rules regarding signatures:

Joomla! Enthusiast
Joomla! Enthusiast
Posts: 215
Joined: Wed Oct 10, 2007 9:46 am
Location: Israel, TA

Re: Search issues when using hebrew langugae

Post by oc666 » Wed Dec 21, 2011 10:42 pm

Could you print $query and show us the output? - new way to insert ads to your website


Return to “Hebrew Forum”