Hi,
Problem Summary:
We are trying to upgrade wordpress via Automatic upgrade plugin but in some hosting server you may get errors like:
Unable to locate WordPress Root directory.
Installation Failed
Possible Solutions:
1) Assign required permissions to FTP username and make sure that you are using the correct FTP username and password.
2) Create new FTP account with destination path to the wordpress root directory.
3) Add this code in wp-config.php file of your wordpress blog:
if(is_admin())
{
add_filter(’filesystem_method’, create_function(’$a’, ‘return “direct”;’ ));
define( ‘FS_CHMOD_DIR’, 0751 );
}
That’s it!
Thanks,
Shane G.
Popularity: 1%
