[SOLVED] Error Msg.

14 years 4 months ago #119887 by dziamdziak
Replied by dziamdziak on topic Re:[SOLVED] Error Msg.
What changes you made ??

Please Log in to join the conversation.

14 years 3 months ago #120755 by carsten888
Replied by carsten888 on topic Re:[SOLVED] Error Msg.
is there a CB patch yet to fix this issue without having to hack the Joomla core?

Please Log in to join the conversation.

14 years 3 months ago #121151 by carsten888
Replied by carsten888 on topic Re:[SOLVED] Error Msg.
this is copy-pasted from the above url, which saves you time searching through the German site:

[code:1]/libraries/joomla/document/document.php

function addStyleSheet($url, $type = 'text/css', $media = null, $attribs = array())
{
$find = '.css';

if (is_array($url)) {
while ($urlpos = current($url)) {
if (strpos($urlpos, $find)) {
//echo key($url).'<br />';
//echo "URLPOS: ".$urlpos;
$urlfound = $url[key($url)];
//echo $urlfound;
}
next($url);
}
if ($urlfound) $url = $urlfound;
}

$this->_styleSheets[$url] = $type;
$this->_styleSheets[$url] = $media;
$this->_styleSheets[$url] = $attribs;
}




Community Builder Files:



/administrator/components/com_comprofiler/plugin.foundation.php

function _tryCmsDoc( $type, $params ) {
if ( $this->_cmsDoc ) {
if (is_string($params)) {
//HACK PHP 5.3
$params = func_get_args();
array_shift($params);

foreach($params as $k => &$param){
$params[$k] = &$param;
}
}
call_user_func_array( array( $this->_cmsDoc, $type ), $params );
return true;
}
return false;
}



/administrator/components/com_comprofiler/plugin.class.php


function drawListBody( &$users, &$columns, $tableContent, $listid, $allow_profilelink ) {
$this->users =& $users;
$this->columns =& $columns;
$this->tableContent =& $tableContent;
$this->listid = $listid;
$this->allow_profilelink = $allow_profilelink;
return $this->draw( 'Body' );
}
[/code:1]

works in Joomla 1.5.15 with CB 1.2.1

Please Log in to join the conversation.

14 years 2 months ago #124244 by lolak10
Replied by lolak10 on topic Re:[SOLVED] Error Msg.
thank you for the solution, i am using PHP 5.2.x
and also got this error on my web, and the problem has been fixed B) www.balifotografer.net

Please Log in to join the conversation.

13 years 10 months ago #135390 by da8iwr
Replied by da8iwr on topic Re:[SOLVED] Error Msg.
I had the same trouble today as this and upgraded to 1.2.2 and it has fixed it, So you dont need to hack anymore, just update your Comunity builder system :)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.219 seconds

Facebook Twitter LinkedIn