test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • mehmet_alp Friend
    #149648

    Hello to everyone,

    I installed JA Lima via quickstart. It`running well but 1 problem:

    When I want to search smtng on the site following error is displayed:

    Warning: Invalid argument supplied for foreach() in /var/www/web14/html/_JA_Lima/plugins/search/content.php on line 254

    Warning: Invalid argument supplied for foreach() in /var/www/web14/html/_JA_Lima/plugins/search/content.php on line 254

    And further on some words I know that they are in my content are not displayed as found.

    Please help.

    BR

    Alp

    Sasa Ciric Friend
    #337027

    I have the same problem,
    can someone help us.

    Thanks..

    Saguaros Moderator
    #337178

    Dear mehmet_alp!

    i detected the issue, this is a bug from the core joomla. i think we should post this issue in the joomla site.

    i give you the quick fix for this :

    pls open the file: pluginssearchcontent.php and find codes at 253:
    [PHP] $new_row = array();[/PHP]
    replace:
    [PHP]
    if( empty($row) ) { continue; }
    $new_row = array();
    [/PHP]

    Good luck

    Sasa Ciric Friend
    #337212

    Thank zou for answer but I have also problems with this lines

    Warning: Invalid argument supplied for foreach() in /home1/puthrist/public_html/biblija/plugins/search/weblinks.php on line 138

    Warning: Invalid argument supplied for foreach() in /home1/puthrist/public_html/biblija/plugins/search/weblinks.php on line 143

    Warning: Invalid argument supplied for foreach() in /home1/puthrist/public_html/biblija/plugins/search/contacts.php on line 111

    Warning: Invalid argument supplied for foreach() in /home1/puthrist/public_html/biblija/plugins/search/categories.php on line 109

    Warning: Invalid argument supplied for foreach() in /home1/puthrist/public_html/biblija/plugins/search/sections.php on line 106

    Warning: Invalid argument supplied for foreach() in /home1/puthrist/public_html/biblija/plugins/search/newsfeeds.php on line 126

    Is there a way to menage this.

    Thank you.

    mehmet_alp Friend
    #337419

    First of all, thank you very much for your kind help.

    After insalling JA Lime into a new file on the server and trying the search function without changing anything (means no changes on the database just keeping it as installed) I recognised that the error wasn`t existing in the new installation. So I guessed the reason had to do with my changes in the database after the first installation. My site is in turkish, why I changed the Kollation of jos_content into latin5_turkish_ci. Since I am not a programmer I have no clue why, but somehow this seems to couse the problem. In the new installation I changed the collation of jos_content into utf8_unicode_ci and it works perfectly.

    @ tienhc: thanks very much for your kind help.

    Best regards

    Alp

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 3 voices, and was last updated by  mehmet_alp 14 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum