WordPress.org

Forums

Really Simple CAPTCHA
Fix unlink bug please!!! (1 post)

  1. Ferenc Vasóczki
    Member
    Posted 1 year ago #

    Hi!

    I've added this plugin to integrate it into the contact form.
    Do everything in right way, but when i try to send the contact form, i've get an error message in console, about permission denied to unlink the temporary file.

    I am developing on localhost, win7 64 bit, but the production environment will be linux. But it doesn't matter, i will explain it later.

    So i tried to find a solution, and i've found this topic:
    http://wordpress.org/support/topic/plugin-really-simple-captcha-function-cleanup-unlink-permission-denied

    Change the>

    //$file = trailingslashit( $this->tmp_dir ) . $filename;
    $file = untrailingslashit( $this->tmp_dir ) . $filename;

    solved my problem. That's nice.

    I am a programmer, so i could handle, if we are on windows do this, otherwise do that.

    The main problem is, if i will update the plugin, if there will be later relase of plugin, i will lost these pieces of codes.

    Please fix it as soon as possible, to take away the headache from us.

    Thank you.

    https://wordpress.org/plugins/really-simple-captcha/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Really Simple CAPTCHA
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Ferenc Vasóczki
  • This topic is not resolved
  • WordPress version: 3.8.1