eZ Community » Forums » Install & configuration » Trouble with extension «reCaptcha»...
expandshrink

Trouble with extension «reCaptcha» and «ezcomments»

Trouble with extension «reCaptcha» and «ezcomments»

Monday 17 January 2011 8:58:44 pm - 2 replies

Hi,

I would like to know if there is a way to install both reCaptcha and ezcomments extensions ?

If we install these 2 extensions we get this error message when we click the update button in «Setup -> Extensions» (in admin interface):

Problèmes détectés durant la génération du tableau de classes :

  • Class ReCaptchaResponse in file extension/recaptcha/classes/recaptchalib.php is already defined in:
    extension/ezcomments/classes/recaptchalib.php (var/autoload/ezp_extension.php)
    This class was not added to the autoload array.

My goal is to have recaptcha on the contact page and in comments?
Moreover, another problem situation:
if we create a private side where we use ezcomments (recaptcha is therefore useless in the comments) and if we have a contact page on the public side of the site.

Pascal

Tuesday 18 January 2011 10:47:01 am

Hi, Pascal

A workaround would be removing ezcomments/classes/recaptchalib.php in ezcomments (I assume they are using the same version because there is no big change for that library ).

For further solution, I haven't thought it out. This is a general problem for extensions. One way might be adding some mechanism to isolate autoloads for extensions?

--

Chen

Tuesday 18 January 2011 3:32:48 pm

Thanks Chen for your solution.

Pascal

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from