Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello, please check the UNIX permissions on the file you are trying to replace, to make sure that the web server has write permissions.

    Same here. I tried replacing a PDF, the process went thru but the file was still an old one.

    I use your plugin on all my WP sites and it has stopped working with the 4.2.2 WP upgrade. Doesn’t write over the original file anymore.

    I had the same problem after WP 4.2.2 upgrade. Changed plugin file uploads.php on line 93 from 0777 to 0775 to get it to work again.

    // save original file permissions
    	$original_file_perms = fileperms($current_file) & 0775;

    Setting 0775 instead of 0777 should not make any difference.

    What has most likely happened is that the files in your uploads folder are no longer writable by the web server. This makes it impossible for WordPress to remove or change the files.

    We really need this working for a report launch tomorrow with all the media links pointing to a PDF that needed a last minute revision. Anyone have another plugin suggestion??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Media doesn't get replaced’ is closed to new replies.