Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Looks like I figured out a solution others may want to try.

    1. Make sure your wp-config.php file is chmodded to 0644.

    2. Also make sure your .htaccess file is protecting the wp-config file using these lines:

    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>

    3. Backup your wp-config.php file.

    4. Edit your wp-config.php file putting these lines in underneath <?php:

    define(‘FS_METHOD’, ‘ftpsockets’);
    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_USER’, ‘username’);
    define(‘FTP_PASS’, ‘password’);
    define(‘FTP_HOST’, ‘ftp.example.org’);

    WordPress no longer asks me for FTP details and it seems that everything is now working as it should be as far as automatic upgrade/install of plugins.

    Make sure you leave the port (:21) off the end of the FTP_HOST line.

    Looks like I figured out a solution others may want to try.

    1. Make sure your wp-config.php file is chmodded to 0644.

    2. Also make sure your .htaccess file is protecting the wp-config file using these lines:

    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>

    3. Backup your wp-config.php file.

    4. Edit your wp-config.php file putting these lines in underneath <?php:

    define(‘FS_METHOD’, ‘ftpsockets’);
    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_USER’, ‘username’);
    define(‘FTP_PASS’, ‘password’);
    define(‘FTP_HOST’, ‘ftp.example.org’);

    WordPress no longer asks me for FTP details and it seems that everything is now working as it should be as far as automatic upgrade/install of plugins.

    Make sure you leave the port (:21) off the FTP_HOST line.

    Nothing.

    Oh and btw I run two blogs on the same host and this is the same for both of them.

    I’ve narrowed down the problem even more.

    The automatic upgrade will work but only after three tries.

    The first time it usually says could not remove old plugin.

    The second time it says could not activate new plugin.

    The third time it works and gives me the activate plugin link.

    It seems as though it takes an inordinately long time each time I try the auto update, takes around 4 minutes to successfully upgrade since I have to do it 3 times.

    I’m having the exact same problem as lindafar above.

    It doesn’t give me the same error every time. Sometimes it will be “cannot remove old plugin” and sometimes it will be “cannot copy file”.

    The weird thing is that it used to work fine and then all of a sudden it didn’t work at all.

    It seems the problem is also affecting the uploading of new plugins as I tried to manually update the plugins. Similar error messages and inordinate amount of time waiting for it to complete.

    Having the same problem here and it seems so are many others. It was working fine for some time and then all of a sudden it wasn’t working.

Viewing 7 replies - 1 through 7 (of 7 total)