[email protected] Posted September 17, 2013 Share Posted September 17, 2013 Hope someone can advise how to fix this. I noticed a few months ago suddenly my reCaptcha developed an issue. kept on coming up with the following error and would not let my customers pass. : The following errors were detected: The verification code was incorrect. Please try again. I couldn`t sort it out so i disabled reCaptcha in admin. I then got a large increase in those annoying robot registrations. I thought i would try fresh known working code for my "Contact form" and just pasted it in. That was a mistake! It has now doubled up this form on the font end of the website and has also added the reCaptcha in admin as well as you can see in the pics attached. and it won`t let me reverse this now. even when i delete the code and try to use the save button , it does nothing. I have no working contact form now. any clues? thanks everybody for reading. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 17, 2013 Author Share Posted September 17, 2013 I have recent a backup of the store, so if someone can suggest which file contains the "Contact Us" I could possible overwrite with the backup file? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 17, 2013 Share Posted September 17, 2013 You might need to overwrite these files, depending on what you previously edited: admin/sources/documents.contact.inc.php and/or admin/skins/default/documents.contact.php I looked for a file controlling recaptcha, but I couldn't spot it. Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 17, 2013 Share Posted September 17, 2013 "I thought i would try fresh known working code for my "Contact form" and just pasted it in." Pasted it in to where? In admin, Contact Form, General tab, the appearance of the recaptcha is very strange. There is no reason for it to be here. The code for the recaptcha could be showing up here (again, most weird) if you pasted the HTML to the whole form into the editor box on the Content tab. The Content tab says, "It is possible to add extra information to the contact section of the store such as phone numbers and postal addresses using the rich text editor below." (Emphasis mine.) So, if you entered anything in the editor box, please delete it. We can start looking for the problem with the reCaptcha elsewhere. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 17, 2013 Author Share Posted September 17, 2013 Thanks guys, I pasted some html contact form code directly into the content box. I immediately realised that was a mistake because it is for extra info.only. I can delete the text out of the content box but the save button is unresponsive so it wont update. I don`t remember the recaptcha showing like it is now in admin on the page. Tthe second issue, was what forced me to look at reCaptcha in the first place. It wouldn`t allow customers past it in shop front, both on the contact us page and also during checkout. There were zero sales during that time so I had to disable reCaptcha to get it working again. I asked our hosts if anything had changed and they indicated that they had installed a "mod-security update which may have blocked your site." But they told us they "created an exception to eliminate that ruleset from your site." the reCaptcha is still broken thouhgh. Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 17, 2013 Share Posted September 17, 2013 "I can delete the text out of the content box but the save button is unresponsive so it won't update." Wow! In the file /controllers/controller.admin.session.true.inc.php, near line 2, find: if(!defined('CC_DS')) die('Access Denied'); After that line, add: $contact = $GLOBALS['config']->get('Contact_Form'); unset($contact['description']); $GLOBALS['config']->set('Contact_Form', '', $contact); Visit any page in admin (such as the dashboard). After which, restore the file you just edited. Remind us of the web address where we can see the reCaptcha failing? Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 18, 2013 Author Share Posted September 18, 2013 Thanks bsmither, that solved the contact us form issue and is back to normal. thank you so much! genius. Would love to see if i can get the re-Captcha going now if possible. I am getting so many robot registrations it is not funny. When re-Captcha form is filled in and the "Send messages" button is pressed, It hangs for a few moments and then refreshes the page and throws that error... The following errors were detected: The verification code was incorrect. Please try again. Interestingly, after i have tried a few times, i disable re-Captcha in admin and then immediately if i go to the store front, the messages are sent successfully. Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 18, 2013 Share Posted September 18, 2013 Remind us of the web address where we can see the reCaptcha failing? Is the reCaptcha showing you numbers and photos at present? Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 18, 2013 Author Share Posted September 18, 2013 trouble is, i am going to lose customers if i switch it on again, so not sure how to go about this. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 18, 2013 Author Share Posted September 18, 2013 I just enabled reCaptcha and did a few tests. The first time it displayed a number and photo - but still didn`t work. then after every refresh it displayed two random words - no photos. - Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 22, 2013 Author Share Posted September 22, 2013 Is anyone able to help with this issue, i am getting swamped now with spam customer registrations because my reCaptcha stopped working so I had to disable it. Should i be looking at the cart or could it be a server issue? When re-Captcha form is filled in and the "Send messages" button is pressed, It hangs for a few moments and then refreshes the page and throws that error... The following errors were detected: The verification code was incorrect. Please try again. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 22, 2013 Share Posted September 22, 2013 Strange - my Recaptcha is always two words to decipher - I hate it and would love to use Nucapcha instead, but never have been able to work out how to use their free code. I use the Wordpress plugin version for our plushmemories.com if you'd like to see it in action. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 22, 2013 Author Share Posted September 22, 2013 When i activate reCaptcha it it is two words like normal. The problem is that it will not allow the customer through even when the the correct words are typed in. It acts like a brick wall so i had to turn it off. Can it be a security setting with my host? I have re-Captcha working on another site ok. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 24, 2013 Author Share Posted September 24, 2013 Strange - my Recaptcha is always two words to decipher - I hate it and would love to use Nucapcha instead, but never have been able to work out how to use their free code. I use the Wordpress plugin version for our plushmemories.com if you'd like to see it in action. so.... the plushmemories.com site is a cubecart store? Is installing this wordpress plugin into cubecart difficult? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 24, 2013 Share Posted September 24, 2013 No, plushmemories.com is a wordpress blog, and I'm using a Wordpress Nucaptcha plugin for the captcha. BUT Nucaptcha offers open source code to add their captcha to ANY site - I just don't have the expertise to do it. I asked for help at one time on the 3rd party forum with incorporating the Nucaptcha code into my CC site, with no takers. Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 25, 2013 Author Share Posted September 25, 2013 I have found the error it is throwing. PHP Notice: Unable to reach reCAPCHA server. in /usr/home/batterydoctor/WWW/store/includes/lib/recaptcha/recaptchalib.php on line 77, referer: http://www.batterydoctor.com.au/store/index.php?_a=confirm Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 25, 2013 Author Share Posted September 25, 2013 (edited) more... PHP Notice: cURL Error (28): getpeername() failed with errno 57: Socket is not connected in /usr/home/batterydoctor/WWW/store/classes/request.class.php on line 250, referer: http://www.batterydoctor.com.au/store/index.php?_a=confirm Edited September 25, 2013 by Dirty Butter Edited posts to put text in quote box Quote Link to comment Share on other sites More sharing options...
[email protected] Posted September 29, 2013 Author Share Posted September 29, 2013 It appears this may have been a curl issue and has now been resolved. I have no other details except the following from our hosts who kindly did a fix. "reloaded/recompiled the curl interpreter " the issue was a known bug from the following link http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/180942 Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted September 29, 2013 Share Posted September 29, 2013 Great! Glad your host found the issue. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.