implode error in member's list after upgrade?
- sitewonders
- OFFLINE
- Posts: 32
- Thanks: 0
- Karma: 0
I had the same error, and it happened when I selected "name" as the first field in column 1. When I saved the list, I received the same error (1 per user in the list) and all other fields in the list were shown (avatar, email, etc)
To fix it, go to your database and find the table jos_comprofiler_lists, then select your list, and click to edit it, then find the field 'col1fields', and uncheck the column "null" (if checked) and add the value '41' (which is the field id of 'name') to the 'value' field.
Your list should be fixed now. If your first column field is not name, you will have to find the corresponding field id on the table jos_comprofiler_fields
I hope this helps. This is obviously a bug.
This did nothing, no change...
Please Log in or Create an account to join the conversation.
- nant
- OFFLINE
- Posts: 25532
- Thanks: 1834
- Karma: 877
--
Nick (nant)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Tutorials + Search the forums
For more add-ons and support: Upgrade your membership
Links: Community Builder - Languages - Adv/Pro/Dev membership - CBSubs Paid Subscriptions - GPL Templates - Hosting
Visit my CB Profile - Send me a Private Message (PM)
Please Log in or Create an account to join the conversation.
- amdoolittle
- OFFLINE
- Posts: 1
- Thanks: 0
- Karma: 0
On line 939, implode was in fact passing a bad value. It was attempting to pass $html which had not been previously defined as an array value.
I simply changed line 926:
Before:
[code:1]$htmlFields = array();[/code:1]
After:
[code:1]$html = array();[/code:1]
And voila, my page now works properly. $htmlFields is never used in the code, and I'm assuming was a typo(?) meant to be $html.
Post edited by: amdoolittle, at: 2008/05/05 22:41
Please Log in or Create an account to join the conversation.
- Word Warrior
- OFFLINE
- Posts: 39
- Thanks: 0
- Karma: 0
Just returned to CB after many problems while on old php4 server and other stuff that went wrong. Now moved to Plesk server PHP5 and it now allows chmod 777 too (only allowed 755 before)
However, I'm getting this warning in the front end "Your Profile" when a user goes into edit profile:-
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/mydomain/httpdocs/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 240
Any ideas?
Please Log in or Create an account to join the conversation.