No change were made to the download script, i haven’t noticed corrupted files on my dév . I’ve found this topic http://ww.wp.xz.cn/support/topic/unable-to-open-or-download-office-2007-files?replies=12 it looks like BuddyDrive doesn’t like that much Microsoft Servers…
@imath – tx for reply… we are on a Linux/apache server on Amazon EC2 – youu have account at smeak, is it possible to look ?
Well, i’ve look and i confirm there must be a trouble somewhere in your configuration..
Then, i’ve checked with another website that is using the latest version of BuddyDrive (1.1) and everything is working fine, you can test it by downloading my random doc from my BuddyDrive on his website :
http://bp-fr.net/buddydrive/file/new-word-document/
password : imath
@imath – yes i see you logged in – thank you for confirming that – could it be permissions (folder permissions) related? i find it strange, as it all worked b4, only upgrade i did was to 1.1 and offcourse BuddyPress to 1.8
i noticed that i still have the following code in my theme functions.php – is this still required after 1.1 upgrade?
‘function siel_automaticaly_enable_buddydrive_for_new_groups( $group_id = 0 ) {
if( empty( $group_id ) )
return;
groups_update_groupmeta( $group_id, ‘_buddydrive_enabled’, 1 );
}
add_action( ‘groups_group_create_complete’, ‘siel_automaticaly_enable_buddydrive_for_new_groups’, 10, 1 );
‘
No it’s not, as it’s now an option included in 1.1.
I’m really sorry, i’m not a network expert about the download trouble, i’m not sure it’s related to WordPress / BuddyPress or BuddyDrive but more in the server settings as it’s working on my friends website, and on my dév.
As i can’t reproduce, it’s not easy to find a fix, made a quick search and found this :
http://serverfault.com/questions/140404/downloads-are-consistently-corrupt-what-are-the-potential-causes
http://share.ez.no/forums/general/content-download-and-php-5.3-on-ubuntu-server-corrupted-downloads
What is the PHP version of your server ?
You can also temporarly reinstall BuddyDrive 1.0 to Be sure.. But i think the problem will still Be there..