This is my third attempt in the last three days with different installs.

Current install is drupal-4.7.3, with the cvs head of CCK and cvs version of filefield. I have allowed the doc extension, but when I try to upload it nothing happens. Neither can I see the attachement nor can I see it in files.

I don't have any problem whatsoever with my hosting account so I am perplexed about this.

Comments

yched’s picture

I'm not sure CCK head is compatible with drupal 4.7 right now
You should probably use cck 4.7 instead

Then again, filefield currently does'nt have a 4.7 branch, so I don't know if it can be used with 4.7 cck / core...

venkat-rk’s picture

StatusFileSize
new2.31 KB

Thanks. One of the combinations I tried was cck-4.7 with the cvs version of filefield, but it didn't work.

I had made the filefield required for the content type, so everytime I upload a document and click on submit, I get the following error message and can't proceed further. Screenshot attached.

dopry’s picture

Did you apply the patch included with the module? may break many things.. filefield is not currently for the faint of heart.

venkat-rk’s picture

I can't see a patch file anywhere- not in cck, filefield or imagefield. The filefield version is // $Id: filefield.module,v 1.5 2006/08/11 07:18:18 dopry Exp $

Is it somewhere else? Thanks!

venkat-rk’s picture

StatusFileSize
new4.36 KB

I just tried the latest filefield cvs version on a new drupal install with cck-4.7. Doesn't work. The attached screenshot shows a blank field although I had selected a file to upload and clicked on 'update'.

venkat-rk’s picture

StatusFileSize
new3.55 KB

The doc didn't get uploaded to the files folder either.

venkat-rk’s picture

Hmm...Is it because filefield requires the cvs version of cck and I am using 4.7?

dopry’s picture

see: http://drupal.org/node/78417

that has the patch that is required for filefield.. I think its referenced in the commit log.

mmorris’s picture

Can anyone confirm exactly what versions of Drupal and CCK will work with this patch http://drupal.org/node/78417? I'm at Drupal 4.7.3 and CCK 4.7 from about a month ago. I tried installing Filefield with that configuration and had the same problems described above (not actually uploading the file). Has anyone actually gotten Filefield to work? And if so, would you mind specifying exactly what configuration did the trick? I would really love to get this module working.. Thanks!

venkat-rk’s picture

I gave up on using this until it becomes stable. In the meanwhile, you can probably use the standard file attachment field that is available by default for every node type. This one works with cck node types- you just cannot give that field its own title as you can with CCK.

dopry’s picture

Status: Active » Closed (won't fix)

this module is purely for the brave developers out there at this point. It should be wort of workign now. please provide detailed bug reports if there is an issue you need fixed. This module doesn't work doesn't help me find the issue you're havign at all.

caplain’s picture

Title: Filefield doesn't work » Alternative to Filefield

Ramdak said "...you can probably use the standard file attachment field that is available by default for every node type. This one works with cck node types..."

How would one go about adding the "standard file attachment field" to a cck content type?

thx

venkat-rk’s picture

It's quite simple. Make sure the upload module is enabled. If you want to provide uploading ability with your cck node for anonymous users, remember to check those permission too at administer>>access control>>permissions.

If you've done all this, go to administer>>settings>>content types>>your_cck_node_type>>configure, enable 'Attachments' and save the changes. You should now be able to see the upload field on the cck node form.