View Full Version : Captcha reset
MersauX
11-09-2008, 03:45 AM
I'm having an issue with the captcha reset on my blog contact form. When used on my localhost it works fine, but on hostmonster when I click the reload button for captcha nothing happens. See for yourselves:
http://www.danizaimamuzaferije.com/kontakt/
I'm using all the same plugins as on my localhost and everything else is the same, could it be a hostmonster issue?
Chella
11-09-2008, 09:02 AM
Refreshing the browser refreshes the captcha, but not the button. Could there be an overlooked issue in the code?
MersauX
11-09-2008, 01:13 PM
I don't know, it's a Wordpress Plugin and it works OK on localhost, clicking the button changes captcha, but on the live site it doesn't.
I know my way around php a bit, but not so good in order for me to identify a code issue, unfortunately.
sdasevne
11-09-2008, 06:47 PM
when I click the reload button for captcha nothing happens.
When I click the reload button, I get a message in the lower left corner of my IE screen that says "Error on Page".
The error message is
Line 1
Char 1
Error: Permission denied
Code 0
URL http://www.danizaimamuzaferije.com/kontakt/
pghcollectibles
11-09-2008, 09:33 PM
i dont see the function reset_captcha in the romote script but this is the only one that relates and it is a little too complex for my knowledge so far:
http://blog.pixelseeker.net/wp-content/plugins/cforms/js/cforms.js
you could probably do this:
change this:
<a title="reset captcha image" href="javascript:reset_captcha('')">
to this:
<a title="reset captcha image" href="http://www.danizaimamuzaferije.com/kontakt/">
it should work since refreshing the page changes the captcha but it will also reset your form and that is not cool. the way you have it now if it worked, uses ajax and would change the image and the value your post variables are expecting from your cforms_captcha input
you could write your own ajax code for it but thats sort of bypassing the problem, not finding and solving it but...
MersauX
11-10-2008, 03:30 AM
Got it solved by reinstalling the plugin, thank you all for your suggestions.
Powered by vBulletin™ Version 4.0.5 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.