I wasn’t able to reproduce the error you got. Can you try temporarily disabling all the other plugins you have installed, and switching to the Twenty Twelve theme? That will test if the problem is caused by Overwrite Uploads or by another plugin/theme.
I added the idea about the checkbox to the requests list.
Thread Starter
toto
(@toto)
Yes, i testesd it now.
I used total clean installation of WP – 3.5.1 and latest version of Overwrite Uploads – 1.0.2 plugin.
All other plugins was disabled.
The theme is default Twenty Twelve.
No other settings are used.
I added necessary code in file.php, checked it twice.
And the results are:
1. The message: “Overwrite Uploads requires a new filter to be added to WordPress. If this is a new installation or you recently upgraded WordPress, please see the installation instructions on the Installation page for information on adding it.” is permanent on top and not disapear even if you add new hooks???
2. On Drop files here (media-new.php) when upload files i recive error:
Fatal error: Call to a member function get() on a non-object in #######\wordpress3\wp-includes\cache.php on line 113 on each file uploaded?
3. If you put file with same name it not re-uploaded it just copied with new name with digit after name. So the plugin not working not Overwrite the existing files?
Whats to do next?
The error message in #1 appears if the plugin detects that the modifications weren’t made completely. Can you run through the installation instructions again and double check everything?
Thread Starter
toto
(@toto)
Hi Ian Dunn thanks i recheck all steps again, and i WORKS!!!
But i saw other problem. When upload other file and if it replace the old file the attached file is cleared?
So all posts witch has had featured post set and if the image is overwrited, the image is not seted anymore to the post?
Any Ideas an help here?
That’s a good point. The plugin should probably delete the new Media Library entry, instead of the old one.
I’ll add that to the TODO list, but I’m not sure when I’ll have time to actually fix it. If you’re a programmer and want to submit a patch, it’d be greatly appreciated.