I installed the cb advanced search component (v 2.04) and it worked great after install. Then when I added some new profile custom fields in community builder, it did not work after that and I get this error on search.
Parse error: syntax error, unexpected ',', expecting T_STRING or T_VARIABLE or '{' or '$' in /home/thebesv1/public_html/web/components/com_cb_search/cb_search.html.php(469) : eval()'d code on line 10
I am not sure what the error means or how to fix it.
Happened when I added a mutliple select field and afterwards wanted to remove it. When I would unpublish the field, advanced search would give the same error. Deleting the field in CB doesn't do the trick, cause it won't be deleted (message "field is in a list").
I decided to delete the field via phpAdmin and now I can't get advanced search to work at all (even after reinstall).
Anybody got an idea?
Edit: FOUND IT!
I had earlier created a new list in CB's field management. The multiple select field was part of that new list. After I removed the field (EditList) the searching worked again.
Edit: FOUND IT!
I had earlier created a new list in CB's field management. The multiple select field was part of that new list. After I removed the field (EditList) the searching worked again.
Hope this will help you
Post edited by: rogierh, at: 2007/02/24 17:07
yes, I just found a similar type of fix, that worked as well.