0

Hello there,

I am trying to make a CMS using wamp.

I made an uploading photos section, and when I try to delete the folder of the photos I get:
Warning: rmdir(C:/wamp/www/site/images/4b4731fda156e) [function.rmdir]: Directory not empty in C:\wamp\www\site\admin\process\delete.php on line 23

Although the directory is empty and I have checked it myself, and used unlink to remove any photos.

Is this a problem because of wamp not allowing this? does it have anything to do with wamp configuration?

And I think its worth knowing that I have changed the permissions using chmod to 0777


Thank you :)

4
Contributors
8
Replies
9
Views
7 Years
Discussion Span
Last Post by vaultdweller123
0

hmm, I see that the folder size is 7KB no files, no hidden files.. wtf? and it says that there is 1 file.. how come?

0

yeah ive used unlink() too, to delete files... there's no problem... the only error it will generate is when assigning incorrect path. The file you wish to delete does not exist.

0

ofcourse it does, otherwise I would have gotten an error no such directory.. its totally something else.

0

my guess is there is a file there.

c:\> cd \your\directory
c:\> Dir /ah (Press Enter)

that will show any hidden files. You may have done this already, but trying to help :)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.