Problem with DUI plugin wordpress

19 febrero, 2012

The last month i moved my blog from godaddy to hostgator, and went i saw how many file i have in the upload folder, was a shock, more than 3000 files wtf?!?! the problem is becouse went we upload files(image) with the interface wordpress automatic make all the size of they.

i found a plugin who delete all the file(image) delete UnUsed images file that was not referred by any post and page of wordpress

The problem was, this error when i was try to make the scan

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/myblog/public_html/wp-content/plugins/dui/dui10.php on line 170
There are total 0 unused images file

The problem i’m think is becouse we have a shared hosting and we dont have the permission  to work fine with chdir(), i change the code, and now is work

warning: If you have a lots files, is probably going to fail, because you are going to overload your server, i will work in a new version to solve this problem

Here you have DNUI plugin a new and better way to delete not used image, but if you want the old….

Here you have the new version call DUI 1.1

The original plugin you can find it here