1

When I try to update wordpress from 3.2.1 to the latest one it stalls and does nothing. It used to ask for my ftp details, which I looked up online and added this to the wp-config:

/** Setup FTP Details **/
define("FTP_HOST", "localhost");
define("FTP_USER", "your-ftp-username");
define("FTP_PASS", "your-ftp-password");

This seems to have stopped it asking for ftp details, but it gets to a page and just does nothing, below is a screen shot of what I see. Any ideas of whats going wrong?

enter image description here

4
  • What do your error logs say? Commented Aug 22, 2012 at 22:37
  • Where are they?
    – RSM
    Commented Aug 22, 2012 at 22:38
  • If you're on a shared hosting env...probably somewhere in your docroot. If you have a linux install using apache try looking in /etc/apache2/ Commented Aug 22, 2012 at 22:39
  • error_log has nothing in it
    – RSM
    Commented Aug 22, 2012 at 22:39

1 Answer 1

1

Try adding all of the following:

define('FS_METHOD', 'ftpext');
define('FTP_BASE', '/path/to/wordpress/');
define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/');
define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/');
#define('FTP_PUBKEY', '/home/username/.ssh/id_rsa.pub');
#define('FTP_PRIKEY', '/home/username/.ssh/id_rsa');
define('FTP_USER', 'username');
define('FTP_PASS', 'password');
define('FTP_HOST', 'ftp.example.org');
define('FTP_SSL', false);

This is sourced from the official wp-config document here.

4
  • unfortunately didn't work
    – RSM
    Commented Aug 23, 2012 at 8:56
  • @RyanMurphy You will need to take a look at your folder permissions and make sure your Apache user or group it belongs to can write to your directories. Commented Aug 23, 2012 at 12:09
  • i done a chmod 777 on folders etc and still didnt work
    – RSM
    Commented Aug 23, 2012 at 15:08
  • @RyanMurphy I would contact your host and see if they have any restrictions... Commented Aug 23, 2012 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.