The fix for getting cb to work with php 5.3 issues is as follow:
1. comprofiler.html.com
[code:1]echo HTML_comprofiler::_cbTemplateRender( $myUser, 'List', 'drawListBody', array( &$users, &$columns, $tableContent, $listid, $ueConfig ) );
[/code:1]
Should you change to:
[code:1]echo HTML_comprofiler::_cbTemplateRender( $myUser, 'List', 'drawListBody', array( &$users, &$columns, &$tableContent, $listid, $ueConfig ) );
[/code:1]
And second, change the file:administrator/components/com_comprofiler/plugin.foundation.php
[code:1]if ( ! $this->_tryCmsDoc( 'addCustomTag', $customHead ) ) {
[/code:1]
To
[code:1]if ( ! $this->_tryCmsDoc( 'addCustomTag', array( $customHead ) ) ) {
[/code:1]
You also have to change in the
administrator/components/com_comprofiler/plugin.foundation.php
to:
[code:1]function _tryCmsDoc( $type, $params ) {
PHP 5.3 work around
if ( !is_array( $params ) )
$params = (array)$params ;
if ( $this->_cmsDoc ) {
call_user_func_array( array( $this->_cmsDoc, $type ), $params );
return true;
}
return false;
}
[/code:1]
Where the "PHP 5.3 work around " is the real fix.
Then you have to turn on the Joomla registration to ON. And the cb registration from YES to Global.
Then everything should be working for you. Until the cb 1.2.2 are comming with all the right fixes
Post edited by: Mike999, at: 2010/01/18 00:08
Post edited by: Mike999, at: 2010/01/18 00:08