Closed (fixed)
Project:
Web File Manager
Version:
5.x-2.9
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2008 at 13:42 UTC
Updated:
12 Dec 2008 at 14:02 UTC
Hi - I'm pretty sure i'm missing something silly here.
I can't seem to find the 'attach to node' link when I right click a file in the webfm section.
I've been all through the permissions and everythings seems to be set right.
Any ideas?
Comments
Comment #1
robmilne commentedThis issue consistently arises for new users. I should add some wording to the settings page to be more helpful. Each node type has to have attachments enabled in ../admin/content/node-type/XXX within the 'Workflow' fieldset.
Comment #2
danbuntu commentedI have both attachments and webfm attachments enabled in my node type - which is page
Standard attachments are working fine.
Comment #3
robmilne commentedI assume that "Append file links to Node Body" in webfm settings is set? If so then perhaps you are not the owner of the file (or an admin) and the "Role Attach" permissions are not set?
Comment #4
danbuntu commentedhmm i seem to be going backwards
I have the settings as you suggest ticked and i'm using The main admin user and also a user with full permissions, still no dice.
So i thought I would give it a go with uploading a new file, thinking at least that file should be permissioned correctly. However when I try this I get;
user warning: Field 'fdesc' doesn't have a default value query: INSERT INTO webfm_file (fpath, uid, fsize, fcreatedate, perm, fmime) VALUES ('files/documents/dan.png', 1, 10375, 1229073629, 2, 'image/png') in E:\websites\jtnet2\includes\database.mysql.inc on line 174.
The ability to upload files has worked before. Looking through your support queue there is a fix for this problem for the 6.X version but not the 5.X version.
Comment #5
danbuntu commentedI fixed my problem
I went in MYSQL admin and found the web_fm table. Then I went to the fdesc and unticked the 'not null'
This then let me upload files into webfm
I then clicked the 'recursive add files to database' button and now i'm able to attached files to nodes correctly.
Thanks for your help and a great module
Comment #6
robmilne commentedYou are correct about the lack of a 5.x fix for this issue. I have to find time to re-synch the two branches.