• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem running the recaptcha code from the wiki libarary

#1
[eluser]Oussama M Billah[/eluser]
Hello,

I have problem having the recaptcha validating correctly.

http://codeigniter.com/wiki/ReCAPTCHA/

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:

http://codeigniter.com/wiki/e5b188f617d6...fafb65c2d/

any idea what can be wrong?

#2
[eluser]yannyannyann[/eluser]
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.
http://www.spaceagenda.com/pages/submit

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
http://www.spaceagenda.com

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

thanks in advance Smile

#3
[eluser]yannyannyann[/eluser]
I think it's linked to my htacess file or config of codeigniter.

Code:
# 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)

#4
[eluser]yannyannyann[/eluser]
Finally I adandonned and chose another captcha solution.
Had no time to look more into it. Sad


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.