I upgraded from UC 2.4 to 2.6, and now users can't download the files they've purchased. Clicking on any file simply increments the download counter and re-loads the */purchased-files page. The log doesn't show any error, and there's an entry that says the user has started the download of that particular file.
When I log in as an admin and try to download the file from their profile page, it increments the counter and redirects me to my own user's */purchased-files page.
For now I've reverted back to UC 2.4 which has solved the problem (though switching between versions has in itself has caused a few issues...). I'd greatly appreciate any help!
Comment | File | Size | Author |
---|---|---|---|
#3 | file_downloads.patch | 443 bytes | TR |
Comments
Comment #1
TR CreditAttribution: TR commentedDid you run update.php? There have been very few changes to uc_file between 2.4 and 2.6, and those changes were minor.
Comment #2
ktf CreditAttribution: ktf commentedYes, I ran update.php. With the exception of a minor uc_coupon issue (that has since been resolved), everything else has been fine with 2.6. I'm not sure what else could be causing this behavior, but I've gotten enough emails about it to know it's not just a local problem. Maybe there've been other changes elsewhere that have affected uc_file? Or maybe I'm just unlucky :P
Comment #3
TR CreditAttribution: TR commentedTry this patch and see if it fixes the problem.
Comment #4
TR CreditAttribution: TR commented@ktf: So, does the patch work?
Comment #5
TR CreditAttribution: TR commented@ktf: I cannot reproduce this error, so I cannot test the fix. If this problem is happening to you, I need you to apply the patch and tell us if it worked.
Comment #6
ktf CreditAttribution: ktf commentedSorry TR, been out of town, haven't had a chance to test. But your patch seems to have solved the problem! Thanks for the fast response.
Comment #7
TR CreditAttribution: TR commentedI committed the patch.
Linking to related issue: #1199206: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush. in _uc_file_download_transfer()
Comment #9
plato1123 CreditAttribution: plato1123 commentedI had this issue so I updated to ubercart 6.x.29 and now nothing related to digital downloads works at all. Any ideas?
Comment #10
plato1123 CreditAttribution: plato1123 commentedI spent a day troubleshooting this and finally rolled back to 6.x.24 to get working again. I'm also following this issue here:
http://drupal.org/node/1679310
http://drupal.org/node/1463304
http://www.ubercart.org/forum/support/32025/updating_ubercart_6x29_broke...
http://drupal.org/node/1247034