Login     Sign up
Error when user eliminate picture without access
Eliz zeta (@eliz)
Join date: Nov 29th 2010
Community posts: 153
View Profile
Send Message

for exapmle :
user add pic 1.
because a problem of database access o restoring, picture 1 is damaged or lost
user enter his album and see title of pic but no pic on it.
he click on : delete.
and 3 errors:

Warning: unlink(uploads/userfiles/201101/15_19_w3v0i.jpg) [function.unlink]: No such file or directory in /home/++++/public_html/+++++/includes/libs/story.inc.php on line 1068

Warning: unlink(uploads/userfiles/201101/15_19_sstya.jpg) [function.unlink]: No such file or directory in /home/+++++/public_html/+++++/includes/libs/story.inc.php on line 1069

Warning: Cannot modify header information - headers already sent by (output started at /home/+++++/public_html/+++++e/includes/libs/story.inc.php:1068) in /home/+++++/public_html/+++++/includes/libs/common.inc.php on line 304

is there any way to delete directly the database information of this picture and no see it in stream neither on album ?

163 months ago