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%

Related posts:
  1. How to give WordPress its Own Directory While Leaving Your Blog in the Root Directory? Many people want WordPress in their site’s root (e.g. http://domain.com)...
  2. Case Study: ERROR 1045 (28000): Access denied for user ‘root’@'localhost’ In WordPress Blog Hi, Problem Summary: Whenever I tries to do login into...
  3. Case Study: Can Not See Plugins Directory In WordPress Admin Hi, Problem Summary: After upgrading wordpress to 2.7.1…wordpress admin panel...
  4. Case Study: WordPress Broken Due to New Plugin Installation Hello All, If one has uploaded plugin and activated it...
  5. Case Study: CFormsII – Not able to locate CFormsII admin menu Hello All, If any one not able to locate CFormsII...

Leave a Reply

You must be logged in to post a comment.