Welcome Guest, Not a member yet? Register   Sign In
problem running the recaptcha code from the wiki libarary

[eluser]Oussama M Billah[/eluser]

I have problem having the recaptcha validating correctly.


When I fill the form i get redirected to the system home page regardless of wether the information in the form matches the captcha text.

the code is the same as in the zip file i downloaded from here:


any idea what can be wrong?

I think i have the same problem as you:

I am sure this is a minor problem, but in the doc I haven't found yet
where to configure my reCaptcha to solve my problem:

I have recaptcha displayed in my form.

But as soon as I click on the text field or on the refresh or play
audio button, i get redirected to the root URL

How can I proceed so it stays in the submit page ?

thanks in advance Smile

I think it's linked to my htacess file or config of codeigniter.

# Options
Options -Multiviews
Options +FollowSymLinks

#Enable mod rewrite
RewriteEngine On
#the location of the root of your site
#if writing for subdirectories, you would enter /subdirectory
RewriteBase /

#Removes access to CodeIgniter system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^sys.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

#This last condition enables access to the images and css
#folders, and the robots.txt file
RewriteCond $1 !^(index\.php|img|robots\.txt|css)

RewriteRule ^(.*)$ index.php?/$1 [L]

Because I have just tried it here and it works : http://www.spaceagenda.com/test/submit.php
(this is a real path and real file)

Finally I adandonned and chose another captcha solution.
Had no time to look more into it. Sad

Theme © iAndrew 2016 - Forum software by © MyBB