• Resolved Runamok81

    (@runamok81)


    I recently upgraded to WP 3.5 on IIS6.
    Now, upgrading or downloading plugins no longer works.
    Download failed. Destination directory for file streaming does not exist or is not writable.

Viewing 7 replies - 16 through 22 (of 22 total)
  • Hi guys

    First a special “thanks” to Samuel for your advice and workaround

    As I am the admin of the Web Server IIS, I check in my php.ini and with an echo get_temp_dir(); whic directory was used by WP before adding the workaround line inwp-config.

    So I tried to add Full control permission to my App pool identity over this directory (the one in php.ini) and indeed, it works well ??

    Do you see any danger in working around the way I just explained instead of addingline to wp-config.php ?

    Thank you …

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    petrich: That’s probably not the safest thing in the world to do.

    The workaround we’re recommending for now is to add this to your wp-config.php file:

    define( 'WP_TEMP_DIR' , ABSPATH . 'wp-content/' );

    That has the affect of making WP try to use the wp-content directory as the temp directory, which tends to work a lot more often on IIS servers.

    Yep right,

    I actually a little while later the workaround about adding line with the ABSPATH . ‘wp-content/’ in wp-config.php. I like it better than creating a temp directory and explicitly declare it in wp-config.php

    So i changed my mind and finally followed this suggestion of workaround instead of my suggestion.

    Have a nice week end guys,

    I’m having the same issue, I echo WP_TEMP_DIR and it’s ‘C:\Inetpub\wwwroot\wordpress/wp-content/’

    I still get the ‘Download failed. Destination directory for file streaming does not exist or is not writable.’ error.

    When I try to install a plug in I also get prompted for ftp details, which I don’t understand at all.

    Anonymous User 7377746

    (@anonymized-7377746)

    Ignore this post, I posted something that didnt work

    https://viewoneworld.wordpress.com/2012/12/15/wordpress-3-5-and-windows-serve-plugin-update-install-issue-quick-fi/

    here you need to do 2 steps described on this post and its going to work ??

    Our site runs on a Windows Server and gave this error message when I had 2 plugins that wanted upgrading today after upgrading to WordPress 3.5 a couple of days ago. To get the 2 plugins to upgrade successfully, I first tried putting this code mentioned in this thread and it did not work.
    define(‘WP_TEMP_DIR’,’/path/to/a/temp/dir’);

    Then I tried this code mentioned in this thread and it did work.
    define( ‘WP_TEMP_DIR’ , ABSPATH . ‘wp-content/’ );

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Plugin upgrades fail after update to WP 3.5’ is closed to new replies.