View Single Post
Old February 14th, 2005, 10:38 PM   #1 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Error replacing image

Hi!
Whenever I replace an image using the new RC3 feature, I get the following error on top of the action successful page:
Warning: unlink(/home/... /files/7/4/): Is a directory in /fotoblog/editimage.php on line 93

Line 93 is: unlink($folderstring . '/' . $oldoriginalname);
The above path was edited and that userid (74) changes accordingly to the user's id.

I have set my config to discard original images, can that be it? Since there is no originalname it is trying to unlink the dir.

Also related, I have given some usergroups the ability to edit but not delete their images. I thought they would be able to use the replace feature but they get an error message about lack of permissions.
rbl is offline