File uploads but does not display in node.

bigbman - January 23, 2008 - 07:55
Project:FileField
Version:5.x-2.2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I'm able to upload a file, and can find it in my files folder, but the node view after posting does not show the fie link. I don't notice any errors either. What is the usual cause of this? I'm using organic groups. Any ideas? The normal upload file form field works if I turn it on for the content type. Could that be the issue?

#1

dopry - January 23, 2008 - 09:50
Category:bug report» support request
Status:active» active (needs more info)

did you click the list check box next to the file? or is the field configured to list all files?

#2

bigbman - January 23, 2008 - 17:41

The fiel's "List" option is not checked, which should automatically show all uploaded file(s), yes? Does this module conflict with any other upload or permissions based modules? I have quite a few installed.

When posting content, I've tried both using the upload button, and the content submit button. Both seem to upload the file to the files folder, but the filefield does not display the file.

#3

jpetso - January 23, 2008 - 18:01
Status:active (needs more info)» fixed

> The field's "List" option is not checked, which should automatically show all uploaded file(s), yes?

No, it's the other way round: Only files with "List" are shown, whereas files without "List" are hidden. That's a bit crufty, admittedly, but it's how Drupal core does it as well, and for the moment we stick with it. So, enable "List" for each file that should show on the page, and it will likely work then. (Marking as "fixed" as I assume the issue is resolved with this info.)

#4

bigbman - January 23, 2008 - 18:41

Ok, so when configuring the field itself (from Administer->...->Content Types...)

I see the following option:

--------------------------------------------------
X Show "List" option
If enabled, the user can choose for each file whether it should be listed or not. If disabled, the "List" checkbox will be hidden and files are always listed.
--------------------------------------------------

I checked it, but going back to the previous post, I'm not seeing the file, and not seeing any option to list or not list the file. I tried posting new content, and found the "List" option after uploading a file, but it was unchecked by default. I checked it, and posted the content.

Same problem - the post is not showing the uploaded file. From the administration configuration text above, it would seem that not checking the "List" configuration option would show the files by default. That's what it appears to say.

Anyways, it's not working regardless. Is there a table in the DB that would tell me whether or not the filefield module is working? Perhaps it has something to do with my theme? I kinda doubt it since the normal file upload module (when enabled for that content type) appears to work fine. Does this module clash with the normal file upload module if it is enabled for the same content type?

#5

jpetso - January 23, 2008 - 19:18
Status:fixed» active (needs more info)

Ah, you meant the configuration option, not the one next to the file itself. I retract my comments, then, you got that right indeed.

So yes, especially with "List" (next to the file entry) enabled, the file should indeed show up. No, filefield shouldn't clash with upload.module this way. If the files show up in the edit form but not in the node view, then the first thing I would check is if the field's "Display" configuration is enabled in the node view. Or maybe if the "view filefield uploads" permission has been granted to the role that you're using.

#6

charlieman - May 6, 2008 - 04:48
Version:5.x-2.2» 5.x-2.3-rc3

Hi, I have the same problem with 5.x-2.3-rc3, except the file doesn't even shows up in the files folder (but it does upload since it takes time to submit the page).

I've checked folder's permissions (both file/ and the folder i've set it to upload to) and have both with 777 permissions, I've tried removing the field, deactivating and reactivating the module and adding the field again, it doesn't work neither.

¿Is there a way to set drupal to show debug messages or something to see where's the problem?
Other modules like imagefield upload well so it's just a filefield problem.

#7

jpetso - May 6, 2008 - 06:33
Version:5.x-2.3-rc3» 5.x-2.2
Status:active (needs more info)» closed

charlieman: If the file doesn't show up in its original folder, it is clearly a very different issue and thus deserves its own issue. Please don't post different problems into other issues if you're not sure they are the same, open a new one instead.

I'm setting this issue back to the originally specified 5.x-2.2 version, and also closing it since the reporter didn't report back for more than three months after my last post.

#8

hendler - June 17, 2008 - 21:31

This bug likely comes from a theme which is controlling how the node displays.

#9

gbeisel - July 2, 2008 - 23:29
Status:closed» active

I am having this same problem. I upload the file check the list box, submit the page but when I go back into edit the node it is not listed. When I view the node it is not listed. I have installed, uninstalled, everything I can think of. The files did upload because they are in the correct files folder but not on the node.

#10

jpetso - July 3, 2008 - 09:41
Status:active» active (needs more info)

Drupal/FileField versions? Which permissions did you set? Which display formatter is configured for the node view? I need a bit more info, please.

#11

dopry - July 31, 2008 - 16:49
Status:active (needs more info)» closed

no comment from the original poster in 6 months.. You other yahoo's get your own issues or have you mouse hands chopped off with a machete.

 
 

Drupal is a registered trademark of Dries Buytaert.