Viewing 15 replies - 1 through 15 (of 23 total)
  • Where is your site?

    Thread Starter meganerd2012

    (@meganerd2012)

    localhost right now. ??

    Try this:

    Open file:
    /wp-content/plugins/contact-form-7/wp-contact-form-7.php

    Edit line (around 50):

    Change this:

    define( ‘WPCF7_LOAD_JS’, true );

    To this:

    define( ‘WPCF7_LOAD_JS’, false );

    @mickeyroush

    Mod of script from TRUE to FALSE allows submission confirmation response. But disabling javascript check generates an unlink warning and a permissions denied statement across the top of rendered page.
    Not good.

    jstana wrote:

    Mod of script from TRUE to FALSE allows submission confirmation response. But disabling javascript check generates an unlink warning and a permissions denied statement across the top of rendered page.
    Not good.

    I’m not experiencing any of that. Can you provide an image?

    grumo64 wrote:

    Not a good solution!

    I prefer understand what the problem is(host, hack…) and keep my core plugin clean for future update…
    Note that prev week all my forms works good !
    In my case if I tcheck my source code I find a
    <font id=”xzwi”> juste before my closing body tag ??

    May not be for your issue. I just thought it might help point you or someone else in the right direction.

    Good luck, may be someone else will help you.

    @mickeyroush

    The following errors were generated on the subsequent page after a successful submission using code, “define( ‘WPCF7_LOAD_JS’, false );”

    Sample of code warning, permissions denied

    Thanks evreybody,
    for me the probleme was on my host ??
    An old theme not secure…and not due to contact form7 or Really Simple captcha.
    Sorry for that,

    jstana,
    when I submit yor form, my firebug console return me a :

    <b>Warning</b>:  unlink(D:\inetpub\stana\blog/wp-content/uploads/wpcf7_captcha/1015595072.png) [<a href='function.unlink'>function.unlink</a>]: Permission denied in <b>D:\inetpub\stana\blog\wp-content\plugins\really-simple-captcha\really-simple-captcha.php</b> on line <b>190</b><br />
    <br />
    <b>Warning</b>:  unlink(D:\inetpub\stana\blog/wp-content/uploads/wpcf7_captcha/1015595072.txt) [<a href='function.unlink'>function.unlink</a>]: Permission denied in <b>D:\inetpub\stana\blog\wp-content\plugins\really-simple-captcha\really-simple-captcha.php</b> on line <b>190</b><br />

    juste before the output form, maybe it could help…

    Probably a chmod issue…

    @grumo64,

    You caught my Contact Form 7 form javascript disabled, testing @mickeyroush’s suggestion. My linked sample image shows the same code errors.

    Normally, my trouble mirrors @meganerd2012’s troubles exactly. So somehow it is a javascript issue calling the response after submission.

    Mail goes, CAPTCHA prevents BOTS, all good. Just no verification of send or fail, (the spinning arrow).

    And chmod is a non-issue on IIS.

    Thanks for the concern, hope you work out your issue.

    grumo64 may have a point, as the author of the plugin just made some changes to try and make Really Simple Captcha more secure. I’m not sure all what he did but check to see if there’s an .htaccess file in wp-content/uploads/wpcf7_captcha/. Since you’re on an IIS (It Isn’t Secure) machine, I’m not really sure what to tell you.

    ??

    i got the same issue (arrows spinning endlessly) with really simple captcha 1.5 and contactform7 3.1.1 installed. i just uninstalled the current version and installed the old 1.4 one instead and everything is working fine now.

    @ christian70
    Could not find the older ver., so got a different plug-in from Mike Challis with all the trimmings.
    Never looked back.

    Thread Starter meganerd2012

    (@meganerd2012)

    Open file:
    /wp-content/plugins/contact-form-7/wp-contact-form-7.php

    Edit line (around 50):

    Thank you. That worked for me but disabled the javascript and was hoping to look for a fix.

    I installed the newest WordPress, newest version of Contact Form 7 and newest version of Really Simple Plugin yesterday. Same thing.

    Finally, I just did what christian70 did and installed 1.4. Works fine now.

    Just thought I’d share something that appears to work for me, though I’m not sure yet if it has any negative implications for the use of the plugin.

    If you open really-simple-captcha.php and head to line 190 you’ll see:

    foreach ( $suffixes as $suffix ) {
    			$filename = sanitize_file_name( $prefix . $suffix );
    			$file = trailingslashit( $this->tmp_dir ) . $filename;
    			if ( is_file( $file ) )
    				unlink( $file );
    		}

    Line 190 is the line indicated in the error message you may either get back in your POST response, or displayed on the page if JavaScript is turned off.

    I decided that this functionality can’t be that important so I changed this section to:

    foreach ( $suffixes as $suffix ) {
    			$filename = sanitize_file_name( $prefix . $suffix );
    			$file = trailingslashit( $this->tmp_dir ) . $filename;
    			if ( is_file( $file ) ){
    				//Commented this out because it breaks things and makes me sad.
    				//unlink( $file );
    			}
    		}

    This seems to do the trick for me, really annoying issue, hopefully it gets sorted at some point soon.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Spinning Arrow with WP 3.3.1, Contact Form 7 & Really Simple CAPTCHA’ is closed to new replies.