Could not create directory. ?

Hello There

I have seen this on 2 sites 1) New with Multi DB 2) http://virtualstudentagency.com/ Multi Site

Could not create directory. /home/virtuals/public_html/wp-content/upgrade/wdp-un.tmp/wpmudev-updates

Now the server config is still the same the permissions are still set up

chmod -R 777 /home/virtuals/public_html
chmod -R 777 /home/virtuals/public_html/wp-content
chown -R virtuals:virtuals /home/virtuals/public_html
chown -R virtuals:virtuals /home/virtuals/public_html/wp-content

I have also tried to download it and upload trough WordPress 3.5 still now luck

I have used FTP and this Worked for me

I did also see this with any other plunging so this is telling me there is a server bug some were.

Please let me know if any of you have the same bug :slight_smile:

Thank you Kindly
Mark

  • Mark de Scande
    • Syntax Hero

    The fix :slight_smile:

    My toughts

    WordPress 3.5 no longer supports

    define('FS_METHOD', 'direct');

    I then remove it and i had to add my FTP details in the wordpress update screen and now it work 100% on BlogLines.co.za

    I will test it now and let you know if the outer sites are ok.

    Thx
    Mark

  • Timothy Bowers
    • Chief Pigeon

    Excellent glad your making some progress now, let us know how this goes with your other sites.

    I've not seen anything saying that FS_METHOD is depreciated and usually they would do a soft removal first.

    You may still like to consult with your host if you're still wanting to define FS_METHOD.

    Anyway, let us know how you gon on those other sites.

    Take care.

  • Mark de Scande
    • Syntax Hero

    Ok All sites fixed :slight_smile:

    Ref http://codex.wordpress.org/Editing_wp-config.php look for WordPress Upgrade Constants

    1) Set up new FTP Account in cpanel

    Make sure it shows /public_html NOT public_html/user/

    2) Add the details to wp-config.php

    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_USER', 'username');
    define('FTP_PASS', 'password');
    define('FTP_HOST', 'ftp.example.org');
    define('FTP_SSL', false);

    3) Pull up your site and go to the upgrade or add a plunging or theme if you added the details correctly it will just work, if not make sure your FTP details are correct.

    Thank you Kindly
    Mark

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.