?
Solved

recaptcha not working

Posted on 2014-09-24
7
Medium Priority
?
149 Views
Last Modified: 2014-09-25
Was hired to do a very very very low budget redesign on website.  Their contact page had a recaptcha in place.  I copied over all related files (some I am not sure are even used any more) to beta server (contact.php, cntct.php, recaptchalib.php, php,ini, ffstyl.js) and put the form on the new page but it doesn't work.  Not sure why.  Hope it is a simple missing colon.  Help please.

current live site
http://www.freshflo.com/contact.html

beta site
http://nsitedesigns.com/nsitedesigns/freshflo/contact.html
0
Comment
Question by:nsitedesigns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 40342267
Recaptcha needs to know what web sites it's working with.  The message is "Input error: Invalid referer" which means your code that worked with freshflo.com will not work with nsitedesigns.com.  This will probably not be a problem if you're just doing a replacement in the original domain.

In the alternative, you might consider a simpler and more human-friendly CAPTCHA test.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_9849-Making-CAPTCHA-Friendlier-with-PHP-Image-Manipulation.html
0
 
LVL 14

Expert Comment

by:quizwedge
ID: 40342271
Recaptcha is linked to a domain. Since it's a new domain, it's an invalid referrer. It's been a while since I've messed with Recaptcha, but you may be able to list multiple domains as referrers or you may have to set up a new Recaptcha account for testing and then switch it back for the live site.
0
 
LVL 14

Expert Comment

by:quizwedge
ID: 40342276
Just did a little bit of searching and saw that Recaptcha may have something called a global key. This may work for you, but would have to be changed in the account.
0
WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

 

Author Comment

by:nsitedesigns
ID: 40342335
Ray hit is right on the head (and he was first).  I saved page as beta and uploaded to live site. Recaptcha displays there.  Yippeee!  An easy fix!  

Thanks Ray for your tips on an easier alternative to Recaptcha.  I have already "donated hundreds of dollars worth of my time" so for THIS project I will not be making the update but for other sites, this will be ideal!
0
 
LVL 14

Expert Comment

by:quizwedge
ID: 40342355
Sounds like @nsitedesigns meant to give the points to Ray, which I'm fine with. He beat me to the submit button fair and square. :)
0
 

Author Comment

by:nsitedesigns
ID: 40342459
YOu are correct.  Thanks for bringing my attention to this matter. I have requested that he get the points.
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question