Bug #43511 [Fbk->NoF]: unlink() gives "No error in..." warning
Edit report at https://bugs.php.net/bug.php?id=43511&edit=1
ID: 43511
Updated by: php-bugs@lists.php.net
Reported by: marius dot radvan at yahoo dot com
Summary: unlink() gives "No error in..." warning
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: *General Issues
Operating System: windows
PHP Version: 5.2.5
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2011-04-05 23:21:46] sendspampl0x at live dot de
I am not sure if this is what fixed the bug in the end, but I used:
if(is_file("$del_path")){
unlink($del_path);
}
Instead of:
unlink($del_path);
I changed a few other things as well, so I am really not sure what fixed it in the end. I thought I
would share though in case it might help.
------------------------------------------------------------------------
[2011-02-17 12:01:12] pajoye@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Without any dep, uploaded files or not do not affect the way unlink work. But
temporary files during the processing of uploaded files may cause this error, but
that's not a bug.
------------------------------------------------------------------------
[2011-02-17 11:57:56] gheos at 24 dot fi
I try to rename .lnk files and get this no error bug.
I also get it if I try to copy them......
------------------------------------------------------------------------
[2010-09-01 23:46:13] wytsep at hotmail dot com
I got this when I uploaded a file which exceeded the maximum file size which was defined in HTML
like this:
<input type="hidden" name="MAX_FILE_SIZE" value="50000">
After removing the tag it worked.
(PHP version 5.3.0)
------------------------------------------------------------------------
[2010-08-10 22:42:00] calicojack at gmail dot com
Getting this as of PHP Version 5.2.9-2 on Windows Server 2008.
if(ftp_put($connection, $dest, $source,FTP_ASCII)){
echo 'FTP Upload SUCCESS!';
ftp_close($connection);
unlink($source);
}
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=43511
--
Edit this bug report at https://bugs.php.net/bug.php?id=43511&edit=1
Thread (9 messages)