Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question
    
What do your error logs say? –  Brian Fegter Aug 22 '12 at 22:37
    
Where are they? –  RSM Aug 22 '12 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/ –  Brian Fegter Aug 22 '12 at 22:39
    
error_log has nothing in it –  RSM Aug 22 '12 at 22:39
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
unfortunately didn't work –  RSM Aug 23 '12 at 8:56
    
will manually do it. Thanks for your answer. –  RSM Aug 23 '12 at 11:01
    
@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. –  Brian Fegter Aug 23 '12 at 12:09
    
i done a chmod 777 on folders etc and still didnt work –  RSM Aug 23 '12 at 15:08
    
@RyanMurphy I would contact your host and see if they have any restrictions... –  Brian Fegter Aug 23 '12 at 16:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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