#32792 [Fbk->Opn]: unlink() function says the file doesn't exists when it does
| From: | hans dot vdb at gmail dot com | Date: | Sun, 24 Apr 2005 13:28:09 +0000 |
| Subject: | #32792 [Fbk->Opn]: unlink() function says the file doesn't exists when it does | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78102@lists.php.net to get a copy of this message | ||
ID: 32792
User updated by: hans dot vdb at gmail dot com
Reported By: hans dot vdb at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Filesystem function related
Operating System: redhat linus
PHP Version: 4.3.10
New Comment:
Sorry, I'm not a system admin, is that version 4.3.11 because I tested
it on that version and it gives the same.
Regards
Previous Comments:
------------------------------------------------------------------------
[2005-04-21 22:48:25] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2005-04-21 20:35:24] hans dot vdb at gmail dot com
Description:
------------
The unlink() function says a file doesn't exist although it does
exists. I checked it with the file_exist() function, which returns
true.
It might be during the filename that is complicated (with a date in
it).
I can send you the whole source of the script but I think this is
sufficient to understand the error.
Thanks for your time.
Reproduce code:
---------------
http://electricsixforum.com/bug.zip
The needed code is in the backup.php file on line 142
Expected result:
----------------
(no output)
Actual result:
--------------
Warning: unlink(backups/backup 21-04-2005 13:04:54.tar.gz
): No such file or directory in
/home/babybab/public_html/backup/backup.php on line 142
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32792&edit=1