Help > Resolved and Released
Problem Installing Search
(1/1)
woody:
I'm trying to set up a review site for a friend on a Godaddy shared Linux site. I am new to Joomla, so I could easily be missing some basic concept
(PHP Version is 5.2.17)
Joomla 1.7.2
simple-review 3.0.11
I created my first review, and noticed it was not searchable. So I located the search plugin plg_Search_Reviews_3.0.7_final from the download page and installed it, and enabled it. Now when I search, I get the following error:
Fatal error: Call to a member function registerEvent() on a non-object in [...]/plugins/search/simplereview/simplereview.php on line 34
... which fwiw appears to be the bolded line in this bit of code:
--- Quote ---function simpleReviewSearchInitlegacy()
{
global $mainframe;
$version = new JVersion;
$joomla = $version->getShortVersion();
if(substr($joomla,0,3) == '1.6')
{
return;
}
$mainframe->registerEvent( 'onSearch', 'simpleReviewOnContentSearchLegacy' );
$mainframe->registerEvent( 'onSearchAreas', 'simpleReviewOnContentSearchAreasLegacy' );
}
--- End quote ---
row1:
Fixed in 3.0.12.
Navigation
[0] Message Index
Go to full version