registration problem [Joomla 1.0.5 + CB 1.0RC2]

18 years 4 months ago #2883 by vancanneyt
Replied by vancanneyt on topic Re:registration problem
it works again when replacing database.php but that causes other isseus... users are complaining now that they can't edit content anymore and can't even login...
hope there will be a fix verry soon :s

Post edited by: vancanneyt, at: 2005/12/28 15:06

Dutch CB translator - tester

Please Log in to join the conversation.

18 years 4 months ago #2889 by matik71
Replied by matik71 on topic Re:registration problem
I think this line(550):

$vars = $object->getPublicProperties();

in file database.php of Joomla 1.0.5

should not exist or CoreTeam should something change in Community Builder.

greetings :)

Martin
HOSTING/Domains/Translators
www.en.winder.pl

Please Log in to join the conversation.

18 years 4 months ago #2891 by beat
Replied by beat on topic Re:registration problem
Ok. Had a chat earlier with Joomla! core team dev leader.

This problem is due to an API incompatibility introduced by Joomla! 1.0.5, which will be fixed in Joomla! 1.0.6, due out quickly (intended in the next 2 weeks).

If you need to run CB RC2 on Joomla! 1.0.5, you can do following instead of replacing the database.php file:

in components/com_comprofiler/comprofiler.php, search for 2 occurences of
[code:1]
$rowExtras = new stdClass();
[/code:1]
and replace them with:
[code:1]
$rowExtras = new mosDBTable('#__comprofiler', 'id', $database);
[/code:1]

also do same in administrator/components/com_comprofiler/admin.comprofiler.php (1 occurence)

This should normally solve your problem. Please test and confirm by replying here (I didn't check it on 1.0.5 yet, only on an older version).

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

18 years 4 months ago #2904 by kovox
Replied by kovox on topic Re:registration problem
I can't seem to find the code $rowExtras = new stdClass(); to replace in the .php file, I checked twice. Anyone find it? Am I looking at the wrong file or something?

Please Log in to join the conversation.

18 years 4 months ago #2909 by beat
Replied by beat on topic Re:registration problem
kovox wrote:

I can't seem to find the code $rowExtras = new stdClass(); to replace in the .php file, I checked twice. Anyone find it? Am I looking at the wrong file or something?


Search for this works fine here. In RC2:

comprofiler.php

line 512
line 757

admin.comprofiler.php

line 1033.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

18 years 4 months ago #2917 by goetzi
Replied by goetzi on topic Re:registration problem
Sorry, that doesn't seem to work. I get a 500 script error.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.250 seconds

Facebook Twitter LinkedIn