Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Using CB login module for Joomla login

Using CB login module for Joomla login 10 months 2 weeks ago #53150

  • arosscpa
  • arosscpa's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 48
  • Karma: 0
I've read Rod Martin's tutorial Collecting More Information From Joomla Users When They Register and have set up my module with the added data I need to collect. When I test the module by trying to register a sample member, the module appears to verify the data and the recaptcha codes, but then it just hangs with a blank (as in totally, complete white nothingness) screen The web site is www.fihf.org. Could someone point me the right direction for debugging this?

Thanks,

Allen Ross
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53153

  • tessa
  • tessa's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4032
  • Thank you received: 138
  • Karma: 10
Hi Allen,

Please turn your error reporting to max to view the PHP errors on that blank white page:
www.ostraining.com/blog/joomla/how-to-tu...eporting-to-maximum/

From here, we can determine where the problem is happening.

Weird question - Are you using a joomdle plugin of some sort?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53161

  • arosscpa
  • arosscpa's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 48
  • Karma: 0
Hi Tessa,

Thanks for your quick answer. I changed the error reporting as you said, and got the following result: "Fatal error: Cannot redeclare _recaptcha_qsencode() (previously declared in /mnt/data/vhosts/fihf.org/httpdocs/components/com_comprofiler/plugin/user/plug_cbrecaptcha/recaptcha/recaptchalib.php:47) in /mnt/data/vhosts/fihf.org/httpdocs/administrator/components/com_k2/lib/recaptchalib.php on line 66."

I'm not sure what this means.

Thanks,

Allen Ross
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53163

  • arosscpa
  • arosscpa's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 48
  • Karma: 0
Hi Tessa,

I think that part of the problem may be that I have the Captcha-Recaptcha codes for our development site in the production site. I can't remember where you go in Joomla!/K2/Community Builder to check on these codes. Could you point me in that direction?

Thanks,

Allen
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53172

  • tessa
  • tessa's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4032
  • Thank you received: 138
  • Karma: 10
Hi Allen,

You can always retrieve your code from here:
www.google.com/recaptcha/whyrecaptcha

Just type in your domain name again and it will generate a code for your domain name.

Is this what you are asking?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53177

  • arosscpa
  • arosscpa's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 48
  • Karma: 0
Hi Tessa,

No, I have the codes. I just cannot remember where in Joomla or CB I need to access so I can input the correct code.

Thanks,

Allen
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53179

  • tessa
  • tessa's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4032
  • Thank you received: 138
  • Karma: 10
Hi Allen,

I'm pretty sure you can go into the Plugin Manager and find Captcha - ReCaptcha plugin and add the codes there.

I have an extension that uses a recaptcha add on, but I have to edit the settings for it in the plugin manager, which comes as a core plugin for Joomla.

Let me know if this works.
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53195

  • arosscpa
  • arosscpa's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 48
  • Karma: 0
Hi Tessa.

I went in and changed the public and private keys, and made sure that the appropriate selections were made in the User Options parameters. I am still getting the following error:

Fatal error: Cannot redeclare _recaptcha_qsencode() (previously declared in /mnt/data/vhosts/fihf.org/httpdocs/components/com_comprofiler/plugin/user/plug_cbrecaptcha/recaptcha/recaptchalib.php:47) in /mnt/data/vhosts/fihf.org/httpdocs/administrator/components/com_k2/lib/recaptchalib.php on line 66

Can you suggest anything else I might trouble shoot? Again, the web site address is www.fihf.org.

Thanks,

Allen
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53208

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Hi Allen,

What captcha plugin do you have chosen in
Global Configuration > Site > Site Settings as the default?

Ed
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53212

  • arosscpa
  • arosscpa's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 48
  • Karma: 0
Hi Ed,

Captcha - Recaptcha.

Thanks,

Allen
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53216

  • tessa
  • tessa's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4032
  • Thank you received: 138
  • Karma: 10
Hi Allen,

I am pretty sure community builder has it's own recaptcha plugin, and Joomla has it's own recaptcha plugin, and you have them both enabled and they are conflicting with eachother's similar php code.

Can you try disabling the Joomla recaptcha and see what happens?

Or try the other way around. Try finding the community builder captcha plugin in the Plugin manager.

Just throwing a guess, but check it out. :-)
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53229

  • arosscpa
  • arosscpa's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 48
  • Karma: 0
Hi Tessa & Ed,

Thanks for the lead -- was 50% of the answer, and led to the other 50%. I turned off Captcha-Recaptcha is Joomla!, and got the same error message. But then I noticed the K2 directory was mentioned in the error message. I went to K2 options, put in the correct private and public keys for Captcha-Recaptcha in the K2 Options advanced tabbed and then went down a line or two below on the same tab, and tuned off the Captcha option for Login/Registration (because I'm using the CB login/register module.) Problem solved!

Thanks again,

Allen Ross
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53234

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Thanks for letting us know, Allen.

Good initiative at finding all those options and making the changes. We don't usually know what's on someone's site, so it' hard to give a simple answer sometimes.

You did exactly the right thing by doing some detective work on the details. Keep at it.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Using CB login module for Joomla login 10 months 2 weeks ago #53239

  • tessa
  • tessa's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4032
  • Thank you received: 138
  • Karma: 10
Hi Allen,

I'm glad it works now! This is why we ask a series of questions. Most of the time it ends up leading to the answer! :-)
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.