Hi,
I am using wordpress 2.7.1 and when I tried to upgrade plugins version… received this error message:
Warning message: ftp_rawlist():
Warning message: ftp_rawlist():
Unable to locate WordPress Plugin directory.
Plugin upgrade Failed
I have applied correct FTP details…and this happens with all the installed Plugins when I try to upgrade it. I tried adding the define function to the config file as one of the bug fixes from 2.7 RC1 and RC2 recommended, but it did not help.
It seems that PHP function ftp_rawlist() which in turn ignores WP_TEMP_DIR completely. To resolve this issue please add this code in wp-config.php of your wordpress blog:
putenv(‘TMPDIR=’ . ini_get(‘upload_tmp_dir’));
Once you add this code it will resolve the case of upgrade problem with auto upgrade Plugin.
Thanks,
Shane G.
Popularity: 5%