Author Topic: ReCaptcha Integration Plugin is not working  (Read 2447 times)

0 Members and 1 Guest are viewing this topic.

Offline meherbala

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
ReCaptcha Integration Plugin is not working
« on: September 08, 2010, 12:24:47 AM »
Hi,

I have added the ReCaptcha Integration Plugin on my website but currently it is giving a problem.

The problem I am facing is that when a user is on the registration page the ReCaptcha graphic appears.

At the same time when any other user come on the registration page only the ReCaptcha graphic disappears and only the syntax is shown i.e. { captcha }.


Website URL: http://www.opensourcevarsity.com

Please can some one help me out.

Thank You in advance.

Offline BDD

  • Global Moderator
  • Full Member
  • *****
  • Posts: 146
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #1 on: September 08, 2010, 02:39:34 AM »
Hello,

I am, at the same time, opening your registration page:

http://www.opensourcevarsity.com/user/register

with 3 difference browsers, FireFox, IE and Safari, and don't see the problem you reported. reCAPTCHA is rendered properly in all 3 browsers.

Do you have any kind of caching enabled in either your browser or server preference?

Offline meherbala

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #2 on: September 08, 2010, 02:52:17 AM »
Hi,

Yes now the ReCaptcha graphic appears in all browser.

I turned off the Joomla Cache Plugin.

If the Joomla Cache Plugin is On the ReCaptcha graphic appears in one browser and in another browser the ReCaptcha graphic disappears.

Why does Joomla Cache Plugin causing the issue?

Joomla Cache Plugin is useful as it reduces the page load time.

Offline BDD

  • Global Moderator
  • Full Member
  • *****
  • Posts: 146
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #3 on: September 08, 2010, 03:19:52 AM »
Hello,

Please double check the order by which plugins are executed. Caching plugin should be executed after all other plugins.
« Last Edit: September 08, 2010, 09:43:29 PM by BDD »

Offline meherbala

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #4 on: September 08, 2010, 07:15:43 AM »
Thank you for your prompt reply.

Just a question:  Why should the Caching plugin be executed after all other plugins?


Offline BDD

  • Global Moderator
  • Full Member
  • *****
  • Posts: 146
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #5 on: September 08, 2010, 09:42:20 PM »
Just a question:  Why should the Caching plugin be executed after all other plugins?

Because at that time, the content generated by Joomla is at the final state. If the caching plugin is executed before other plugins then, if any plugin executed after the caching plugin alters the generated content, you will lost the final content when reloading from cache.

For example, when you use our reCAPTCHA plugin inclusion syntax to embed the captcha, if the caching plugin is executed before our plugin, it will actually cache the generated content with the {captcha} string itself. Then when reloading from cache, all you will see is the {captcha} string not the expected captcha verification field.

Offline meherbala

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #6 on: September 08, 2010, 11:24:23 PM »
Thank a lot for the detailed explanation.

Will try and do want you said and then re-test again.

Offline BDD

  • Global Moderator
  • Full Member
  • *****
  • Posts: 146
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #7 on: September 08, 2010, 11:47:17 PM »
Thank a lot for the detailed explanation.

You are welcome.

Will try and do want you said and then re-test again.

Please share your experience with other users here. Thanks.

Offline meherbala

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #8 on: September 09, 2010, 01:05:37 AM »
Hello,

Please double check the order by which plugins are executed. Caching plugin should be executed after all other plugins.

I did exactly as you told to do.

The second last plugin order is Content - JComments (which has the order 10002).

I enabled the Joomla Cache Plugin and re-arranged the order of the plugin to 10003.

I tested the registration page BUT the registration failed.

After filling in the details in the registration page, I clicked on register button, the page got refreshed.

The new user did not get stored in the users list.

I disabled the Joomla Cache Plugin. I re-tested the registration form.

The new users registration when successful.

Please may I know how to fix this?

Regards,
Meher
http://www.opensourcevarsity.com/

Offline BDD

  • Global Moderator
  • Full Member
  • *****
  • Posts: 146
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #9 on: September 09, 2010, 03:41:33 AM »
Quote
I did exactly as you told to do.

The second last plugin order is Content - JComments (which has the order 10002).

I enabled the Joomla Cache Plugin and re-arranged the order of the plugin to 10003.

I tested the registration page BUT the registration failed.

After filling in the details in the registration page, I clicked on register button, the page got refreshed.

The new user did not get stored in the users list.

Is there any error / warning message?

Offline meherbala

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #10 on: September 09, 2010, 07:06:38 AM »
Is there any error / warning message?

No error message come up.

Offline BDD

  • Global Moderator
  • Full Member
  • *****
  • Posts: 146
  • Karma: +0/-0
    • View Profile
Re: ReCaptcha Integration Plugin is not working
« Reply #11 on: September 09, 2010, 09:46:48 PM »
No error message come up.

Have you enabled Maximum Error Reporting in Joomla global configuration?

 

This is not an official Joomla! Site. The use of the words Joomla is intended to describe what the products are designed for and should not be considered an endorsement by the related Projects.