Hi there,
I have just managed finally to install CB 1.1 into my site which is running in Joomla 1.5.3 and all but the following seems to be working just fine.
The problem is that when I up-loaded an image to use as my member image I can not seem to find within the admin where I can "approve" the image. It has been up-loaded ok into the following directory public_html/CCA/images/comprofiler and it has automatically created a thumbnail version of said image. Any help would be great.
The other thing is that the following appears in the page when I open up Edit User in the User Management section: Warning: Invalid argument supplied for foreach() in /home/c/c/ccalentejo/public_html/CCA/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 240 Any ideas of what might be wrong and could it be to do with the other problem above?
Here is what is in the PHP file, the part in "Red Bold Letters" is line 240:
if ( ( count( $userParams ) > 0 ) && in_array( $_CB_framework->getCfg( "frontend_userparams" ), array( '1', null) ) ) {
//Loop through each parameter and render it appropriately.
foreach($userParams AS $userParam) {
$return .= "<tr>\n";
$return .= "<td class=\"titleCell\">" . $userParam[0] . ":</td>\n";
$return .= "<td class=\"fieldCell\">" . $userParam[1];
$return .= getFieldIcons($ui, false, false, (isset($userParam[2]) && class_exists("JText") ? JText::_($userParam[2]) : null), (isset($userParam[3]) && class_exists("JText") ? JText::_($userParam[3]) : null));
$return .= "</td></tr>\n";
}
All the best and thanks in advance,
Phil