Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
i have no idea why filefield paths didn't work. It doesen't matter what i write in to the path field. The files always copied to the main file directory. Bevor i used filefield paths i used upload path, but this doesn't support comment upload, so i want to change.
Has somebody an idea what is the reason. Or ist there a possibility to check if the path i entered correct? I'm a litte bit helpless :-). I need an impulse.
Thanks for your help.
strauch
Comment | File | Size | Author |
---|---|---|---|
#4 | comment_upload.inc_.patch | 624 bytes | aaron1234nz |
#1 | filefieldpaths.png | 16.3 KB | strauch |
Comments
Comment #1
strauch CreditAttribution: strauch commentedan image of my settings for forum comments.
Comment #2
strauch CreditAttribution: strauch commentedMhhh i checked on an second installation, i have the same problem, the modul don't move the files. When I Retroactive update the files it worked, but only for the forum content type not for the upload modul. What is my mistake? Thanks for any help.
Best Regards
strauch
Comment #3
strauch CreditAttribution: strauch commentedNobody any idea? For CCK Fields it works, for standard node uplaods oder comment upload it doesn't work. Is there a possibility to check the settings from the module?
thanks
strauch
Comment #4
aaron1234nz CreditAttribution: aaron1234nz commentedThis is an issue with the way PHP handles pass-by-reference calls in module_invoke_all.
Attached is a patch which alters the way calls are made to fix this issue in 5.3.
Issue background:
* http://api.drupal.org/api/drupal/includes--module.inc/function/module_in...
* http://drupal.org/node/353494
Comment #5
Deciphered CreditAttribution: Deciphered commentedPatch looks good, committed to 6.x-1.x.
Cheers,
Deciphered.
Comment #7
Exploratus CreditAttribution: Exploratus commentedPatch works. THanks!
Comment #8
Exploratus CreditAttribution: Exploratus commentedI have one small problem, basically I am trying to send an email automatically attached to a comment (through Ticket Support Module) and the url shown is the main file system directory, even though the file is in a subdirectory (tokens). Comment upload modules, after this patch, is correctly putting the file in the right place and with the correct link in the node. But the email sent though Ticket Support System Module, using file_create_url is sending out the wrong url (without the filefields path) - showing the file in the main file directory even though its in a subdirectory.
Comment #9
roball CreditAttribution: roball commentedThe fix is now officially available in version 6.x-1.5.