registration problem [Joomla 1.0.5 + CB 1.0RC2]

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

Sorry, that doesn't seem to work. I get a 500 script error.

hmm. strange. Please re-check your syntax exactly (best is to cut&paste).

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 #2931 by goetzi
Replied by goetzi on topic Re:registration problem
I did copy and paste, but I found the following: I had enabled SEF with OpenSEF. If I disable it this error occurs (after sending the registration form):

[code:1]Warning: implode() [function.implode]: Bad arguments. in /kunden/108014_96450/rp-hosting/10250/10479/www/judo/joomla/includes/database.php on line 560
store error:«»DB function failed with error number 1062<br /><font color="red">Duplicate entry '0' for key 1 SQL=INSERT INTO jos_comprofiler ( ) VALUES ( )</font><br />SQL = <pre>INSERT INTO jos_comprofiler ( ) VALUES ( )</pre>[/code:1]

Please Log in to join the conversation.

18 years 4 months ago #2932 by yoshi
Replied by yoshi on topic Re:registration problem
did the code change as deascribed but errors are still shown when clicking the confirmation email during regisration.

Have now reverted back to the 104 version of the database.php

edit took out error reference as I found a fix

Post edited by: yoshi, at: 2005/12/29 13:58

Please Log in to join the conversation.

18 years 4 months ago #2939 by serge
Replied by serge on topic Re:registration problem - NEW BUGFIX...
NEW BUGFIX...

I got a bugfix for the Community Builder problem with Joomla 1.0.5.

Patch the joomladir/include/database.php with the following... Below you see the diff report of the fix.

550,554c550,554
< $vars = $object->getPublicProperties();
<
< foreach ($vars as $k) {
< $v =& $object->$k;
< if (is_array( $v ) or is_object( $v ) or $v === NULL) {
---
> foreach (get_object_vars( $object ) as $k => $v) {
> if (is_array($v) or is_object($v) or $v === NULL) {
> continue;
> }
> if ($k[0] == '_') { // internal field

The area with the < is the original database.php in 550-554
The area with the > is the patch.

For this patch I use the part of the function from Joomla 1.0.4, while the rest of the file is Joomla 1.0.5. Use this only when you have upgraded the site with Joomla 1.0.5 and try it first on a test server.

Note: Use the original com_comprofiler files and not the patched ones. The patch is meant for a unmodded comprofiler.

Get here the complete fix (If I dont make a mistake with this form.....

Attachment database.php not found

Please Log in to join the conversation.

18 years 4 months ago #2968 by stevebor1
Replied by stevebor1 on topic Re:registration problem - NEW BUGFIX...
you will have to reattach and zip it.

Karma Me Up!
File Attachment:


FITcommunity
Joomla! 1.0.12 - Community Builder 1.0.2 - Joomlaboard 1.1.2
Own Mods Featured Profile Mod
My Real Day Job
File Attachment:

Mobile Wallet and Social Lending, Anywhere!

Please Log in to join the conversation.

18 years 4 months ago #2970 by stevebor1
Replied by stevebor1 on topic Re:registration problem - NEW BUGFIX...
I reverted the back to the original com_comprofiler.php and admin_comprofiler.php and used the patch above on the database.php which seems to clear up any errors.

but ever since the upgrade to 1.0.5, before and after applying patch above i noticed its not sending out the registration email confirmation. I check all my settings under config CB and all seems to be right. anyone else notice this?

it was sending when i was using 1.0.4

Post edited by: stevebor1, at: 2005/12/30 00:41

Karma Me Up!
File Attachment:


FITcommunity
Joomla! 1.0.12 - Community Builder 1.0.2 - Joomlaboard 1.1.2
Own Mods Featured Profile Mod
My Real Day Job
File Attachment:

Mobile Wallet and Social Lending, Anywhere!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.529 seconds

Facebook Twitter LinkedIn