CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Joomla Extensions (Moderator: lcdweb) »
  • Fatal Error on Recaptcha
Pages: [1]

Author Topic: Fatal Error on Recaptcha  (Read 3118 times)

vkat

  • Guest
Fatal Error on Recaptcha
March 09, 2010, 03:29:13 pm
Hello, I am running latest Civicrm and Joomla and am trying to implement the recaptcha. I have installed the AlphaRegistration module and have the public and private key set. But I am still getting the following message when recaptcha is enabled and I test the registration for an event:
Fatal error: Cannot redeclare _recaptcha_qsencode() (previously declared in /home/mysite/public_html/plugins/system/recaptchalib.php:50) in /home/mysite/public_html/administrator/components/com_civicrm/civicrm/packages/recaptcha/recaptchalib.php  on line 55

Does anyone know what I've done wrong. Thank you for your help.

nzampella

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.5.3
  • CMS version: Joomla 3.3.6
  • MySQL version: 5.5.36
  • PHP version: 5.4.31
Re: Fatal Error on Recaptcha
April 12, 2011, 09:42:37 am
I've figure out this error, as I had the same error.

Check to see if you have a reCaptcha plugin installed for registration of normal site users.   I found that the one I had installed to protect my registration from bots was interfering with the Event Registration reCaptcha.

Since standard reCaptcha code is a library packaged in the file recaptchalib.php, any function called in a previously loaded file, will cause the error you see.

I disabled my plugin, and the event registration page worked fine.    This does bring up a problem, how do you protect your normal registration and event registration at the same time.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Joomla Extensions (Moderator: lcdweb) »
  • Fatal Error on Recaptcha

This forum was archived on 2017-11-26.