From:             Laurent dot Lyaudet at gmail dot com
Operating system: Debian Linux
PHP version:      5.4.17
Package:          FTP related
Bug Type:         Bug
Bug description:Warning for a success message with ftp_chdir

Description:
------------
Hi,

I found the following trace in an error log of a php script I launch as
background task.

//-----------------------------------------------------------------------
root@wheezyDEVLaurent:~# more /home/web/teliedi/log/logErreur.txt
2013-08-05 : 11:05:11 :  000002 | runPersistant.php
                                   | ftp_chdir(): Requested file action
okay, co
mpleted.
2013-08-05 : 11:05:11 : CALLSTACK - DESC (Nb ignores : 1, Nb limite : 0)
--------------------------------------------------------------------------------
--------------------------------------

Appel : ErreurCli(2,"ftp_chdir(): Requested file action okay,
completed.","/home
/web/teliedi/appli/includes/classes/CRecipientFtp.php",341,array(true,CServeurFt
p))

Fichier : /home/web/teliedi/appli/includes/classes/CRecipientFtp.php
Ligne : 341
Appel : ftp_chdir(RESOURCE,"TOUR_XML")

//----------------------------------------------------------------

It is surprising to obtain a warning but the message is "Requested file
action okay, completed."

The version is latest debian package for wheezy but more ancient than
5.4.17
root@wheezyDEVLaurent:~# php --version
PHP 5.4.4-14+deb7u3 (cli) (built: Jul 17 2013 14:54:08)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans

I have no idea how to reproduce this bug and I don't know if it has been
already corrected. I think a code analysis of ftp_chdir is needed to find
in which case one can throw a warning with this message.

Let me know if I can help further.

Best regards,
   Laurent Lyaudet






-- 
Edit bug report at https://bugs.php.net/bug.php?id=65392&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65392&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65392&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=65392&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65392&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65392&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65392&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65392&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65392&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65392&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65392&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=65392&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=65392&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65392&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65392&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65392&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65392&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65392&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65392&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65392&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65392&r=mysqlcfg

Reply via email to