Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Please view the attached screenshots. You can see the difference quite readily. In the first, the file attachments are not displayed in a table; they're just splatted on the screen. If you look at the firebug console, you can see there is no <table> element. In the second, the table is rendered properly.
These two sites are served by the same instance of Drupal.
I just updated the server to Ubuntu 10.04 (w/ php 5.3), although I don't know for sure when this started happening, so I don't know if they're related. The theme in use on the site with issues is Pixture Reloaded.
Comment | File | Size | Author |
---|---|---|---|
#16 | 812194-private-upload-php-5.3.patch.2.txt | 554 bytes | jp.stacey |
#14 | 812194-private-upload-php-5.3.patch.txt | 574 bytes | jp.stacey |
#13 | private_upload_812194.patch | 677 bytes | Firewolf |
Screen shot 2010-05-28 at 11.23.28 AM.png | 116.32 KB | binford2k | |
Screen shot 2010-05-28 at 11.19.58 AM.png | 149.79 KB | binford2k |
Comments
Comment #1
binford2k CreditAttribution: binford2k commentedping
Comment #2
binford2k CreditAttribution: binford2k commentedMore information, I changed the theme to Garland and it did the same thing
Comment #3
binford2k CreditAttribution: binford2k commentedping
Comment #4
binford2k CreditAttribution: binford2k commentedComment #5
binford2k CreditAttribution: binford2k commentedping
Comment #6
binford2k CreditAttribution: binford2k commentedPING
Comment #7
binford2k CreditAttribution: binford2k commentedNow that I have actually had time to look at it, I find that it's caused by Private Upload, not Drupal core at all.
Comment #8
kbk CreditAttribution: kbk commentedSame problem here: Drupal 6.19, jQuery UI 1.7.3 (also tried 1.6), jQuery Update 1.3.2
Tried both Private Upload: 6.x-1.0-rc2 & 6.x-1.x-dev
Getting this error message:
Comment #9
jrsinclair CreditAttribution: jrsinclair commentedI'm having the same issue. It appears to be related to using PHP 5.3 (this kind of error message usually is). Does anyone have any workarounds?
Comment #10
kbk CreditAttribution: kbk commentedProbably not what you've got in mind but I've actually started using Private Download. Use CCK FileField to create a "Private" File Field and set the path to the private directory. Works well.
Comment #11
jrsinclair CreditAttribution: jrsinclair commentedThanks @kbk, the more I read, the more it seems that private_download is the way to go. Private upload would be fantastic if it was a little more mature.
Comment #12
Firewolf CreditAttribution: Firewolf commentedSame problem.
Subscribe.
Comment #13
Firewolf CreditAttribution: Firewolf commentedIt seemed to be a php 5.2 vs php 5.3 issue. Attached a patch to solve the problem.
Comment #14
jp.stacey CreditAttribution: jp.stacey commentedThe paths are wrong in that patch. The file private_upload_DEV_812194/private_upload.module doesn't exist, for example.
Otherwise I think it works fine. I've re-rolled it: can we get this patch committed? It's only a single character change.
Comment #15
jp.stacey CreditAttribution: jp.stacey commentedSetting to needs review, as I think the patch work is complete but it needs someone else to be able to apply it!
Comment #16
jp.stacey CreditAttribution: jp.stacey commentedWas getting a hunk offset - re-rolled (attached)
Comment #17
memcinto CreditAttribution: memcinto commentedApplied the patch in #16 and it fixed my problem. Hope this makes it into a new release of the module, along with http://drupal.org/node/1142534#comment-5491044!
Comment #18
mvc#16 works for me, thanks!
Comment #19
kehogo CreditAttribution: kehogo commented#16 works for me - thank you!
Comment #20
jszejner CreditAttribution: jszejner commentedAnother verification that #16 patch fixes this issue and that it is caused by php 5.3 vs php 5.2
Comment #21
caw67 CreditAttribution: caw67 commentedthe patches are not in the new version!