Solved

recaptcha not working

Posted on 2014-09-24
7
141 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
  • 3
  • 2
7 Comments
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ebay devID, appID, certID, userToken 2 29
Button to go back 3 25
How would I do this...? 2 28
PHP error function not working on AWS 10 10
This article discusses four methods for overlaying images in a container on a web page
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

803 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