? Success

User tests: Successful: Unsuccessful:

avatar degobbis
degobbis
31 Mar 2015

What this PR do

At a german Support Forum we had the report that the new Captcha only loads on the seccond pageload. This PR trys to fix it.
This PR also remove the usage of file_get_contents and replace it with JHttpFactory::getHttp()->post

How to test

  • Enable the new captcha plugin (set version to 2)
  • Set the captcha as default at the global configuration (Backend --> Global Configuration --> Captcha)
  • Create a contact form menu entry with capcha enabled
  • access the fronted view the first time
  • the v2 captcha should not show
  • try to reload the site
  • the capcha is shown
  • apply the patch
  • try again. It should load in the first site load

See the german forum

http://forum.joomla.de/index.php/Thread/211-Google-recaptcha-ich-bin-kein-Roboter-l%C3%A4dt-nicht-immer/

avatar degobbis degobbis - open - 31 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 31 Mar 2015
Labels Added: ?
avatar brianteeman
brianteeman - comment - 31 Mar 2015

I have not encountered this problem - I did not see the problem when I
created this video for joomla https://www.youtube.com/watch?v=S4bSkFx8ULY

avatar zero-24
zero-24 - comment - 31 Mar 2015

@brianteeman did your host have enabled: allow_url_fopen?

EDIT: Maybe also only IE11?

avatar brianteeman
brianteeman - comment - 31 Mar 2015

Yes

avatar SniperSister
SniperSister - comment - 31 Mar 2015

The http->post should be changed to a http->get() request, otherwise you're using the wrong http verb.

avatar zero-24
zero-24 - comment - 31 Mar 2015

Yes

Thanks this looks like a IE11 issue in combination with allow_url_fopen Off.

And the strange is:

Bevor the patch

  • IE11 and allow_url_fopen Off --> don't work
  • But e.g. Chrome and allow_url_fopen Off --> work

After the patch

  • IE11 and allow_url_fopen Off --> work
  • But e.g. Chrome and allow_url_fopen Off --> don't work
avatar zero-24 zero-24 - change - 31 Mar 2015
Category Plugins
avatar zero-24
zero-24 - comment - 1 Apr 2015

@test successful.

bevor the patch

  • Chrome works
  • IE11 don't work

after the patch

  • Chrome works
  • IE11 works

Thanks @degobbis

avatar zero-24 zero-24 - test_item - 1 Apr 2015 - Tested successfully
avatar sanderpotjer
sanderpotjer - comment - 15 Apr 2015

@test successful

In addition this patch also fixed an issue on a website that was using multiple instances of ReCAPTCHA Version 2 on the same page.

avatar SniperSister SniperSister - change - 15 Apr 2015
Status Pending Ready to Commit
avatar SniperSister
SniperSister - comment - 15 Apr 2015

Two successful tests, moving to RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6616.

avatar zero-24 zero-24 - change - 15 Apr 2015
Labels Added: ?
avatar wilsonge wilsonge - change - 16 Apr 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-04-16 00:25:57
avatar wilsonge wilsonge - close - 16 Apr 2015
avatar zero-24 zero-24 - close - 16 Apr 2015
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment