Closed (fixed)
Project:
FileField
Version:
6.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2006 at 01:21 UTC
Updated:
17 Nov 2007 at 18:19 UTC
When I upload a file using filefield, it is uploaded to the /files directory, but only the label is redisplayed on the default output. I had anticipated that the filename and a link for downloading it would appear, much like with attachments.
Since this is CVS, I wasn't sure if it's a bug, or just something not implemented yet.
Comments
Comment #1
dopry commentedtry with the latest commit. I backported the formatter code provided by KarenS from imagefield. and it seems fixed locally.
Comment #2
eliza411 commentedI can now see files that were uploaded before installing the latest commit. However, I can't edit those nodes or create new ones. I get Call to undefined function drupal_add_css() in /var/wallace/modules/filefield/filefield.module on line 340
Comment #3
(not verified) commentedComment #4
javierggt commentedHi,
I have the same problem, I can't see the file, just the label. I'm using Drupal 4.7 with the latest version of the filefield module (the one from mid-November).
Also, I was trying to use the calculated field module to show the field value myself and I wasn't able to do it. I was defining a file field called 'archivo' and node->field_archivo is not defined.
Any idea?
Comment #5
seanrSeems like this is still active. Why was an anonymous user able to close it (or even post here?)
Comment #6
RayZ commentedThat anonymous user is a bot that closes automatically closes "fixed" issues after a specified period of time (don't know the details).
Comment #7
MaskedMarauder commentedThe problem I'm having is that when DLing the file, all I see is a rendered template without content. Mimetype isn't set in the header and its all text/html.
The correct file is there in the expected path with the correct mimetype in the files table. But it doesn't seem to do anything to make it render as the proper mimetype. A 13k application/pdf file appears as a 7k text/html to the browser.
Is there known interactions with the attachement module and phptemplate theme engine?
Can someone please point me to the correct module/hook that is used for serving a raw uploaded file? I can't figure out where the 'magic' is supposed to be happening.
Comment #8
dopry commentedHow is you field configured, how is the drupal file handling configured, which versions of CCK and filefield are you using, what platform are you running on? Can you provide directions for reproducing the error?
Comment #9
jpetso commentedNo info in 9 months, so I have no bad conscience to close this issue.