![]() |
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. |
Re: Error replacing image The error message you're getting isn't creating any problems. It's just trying to delete the original size image as well, which of course isn't there. If you'll look in your editimage.php file for three instances of 'unlink' (all three will be in a row) and add a @ sign in front of them then that will take care of the error at the top of the screen. For the permissions issue, try looking for this code: Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
Re: Error replacing image It did! Thanks Brian! =) |
| All times are GMT -5. The time now is 07:01 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0