Help with users community page

14 years 1 month ago #1371 by mambocbash
I was building up the users profile fields. I have fingered something because of which I am getting the error as

" Warning: Invalid argument supplied for foreach() in /home/mauji/public_html/components/com_comprofiler/comprofiler.html.php on line 718 "

Earlier I was getting the tabular data showing
Image Name Other details

Can somebody suggest a solution.

14 years 1 month ago #1401 by Klette
Hi Karma,

maxbe there's an error in your sql code. check your list in the list manager. take a close look to the filter options, you set. is the sql code correct (to see this, you need to switch the filter options from 'simple' to 'advanced')?
maybe there is an argument missing, for example: field_name' = ... instead of 'field_name' = ....
so if you're not sure about the code, setup your filter options again
14 years 1 month ago #1430 by mambocbash
Thanks Klette

The error says invalid argument in comprofiler.html.php .
How do I implement that you have suggested. Could you spell out the steps ?

Or if i reinstall the cb2 package would it help ? Please suggest ...

14 years 1 month ago #1439 by Klette
Hi Karma,

no, I don't think you need to reinstall the complete community builder component.
I think the problem is within your filter options (Those are the options you defined when you made your user lists). The error occurs in the omprofiler.html.php, because tis file is trying to run a the wrong sql argument of the filter options. Try the following:

1. login into to the joomla backend

2. Select the community builder component

3. select the list management

4. select the last list you made before the error occurred (If this won't work, try step 5 with the rest of your lists, too)

5. delete the filter options and make them again (sorry for my bad english)

Of course, there is still the possibility that I'm completely wrong. But I hope this will help you fixing your problems

Good luck!
14 years 1 month ago #1768 by mambocbash
Hi Klette
Thanks a ton It worked
Moderators: beatnantkrileon
Time to create page: 0.420 seconds

Facebook Twitter LinkedIn