Edit report at http://bugs.php.net/bug.php?id=43511&edit=1
ID: 43511 Updated by: paj...@php.net Reported by: marius dot radvan at yahoo dot com Summary: unlink() gives "No error in..." warning -Status: No Feedback +Status: Feedback Type: Bug Package: *General Issues Operating System: windows PHP Version: 5.2.5 Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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); } ------------------------------------------------------------------------ [2008-12-22 01:36:11] admin at beyondmaster dot com I got the same error even trying to set chmod to 0777 chmod() [function.chmod]: No error in ... on line 34 Warning: unlink() [function.unlink]: No error in ... ------------------------------------------------------------------------ [2007-12-15 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ 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 http://bugs.php.net/bug.php?id=43511 -- Edit this bug report at http://bugs.php.net/bug.php?id=43511&edit=1