-
AuthorPosts
-
mehmet_alp Friend
mehmet_alp
- Join date:
- April 2009
- Posts:
- 97
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
March 19, 2010 at 2:40 pm #149648Hello 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
March 20, 2010 at 5:11 pm #337027I have the same problem,
can someone help us.Thanks..
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 22, 2010 at 7:39 am #337178Dear 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
March 22, 2010 at 9:44 am #337212Thank 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 Friendmehmet_alp
- Join date:
- April 2009
- Posts:
- 97
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 14
- Thanked:
- 2 times in 1 posts
March 23, 2010 at 1:14 pm #337419First 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
1 user says Thank You to mehmet_alp for this useful post
-
AuthorPosts
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