I cannot get the attachment module to work. Category permissions, node permissions, and workflow settings should allow attachments. The files directory exists and is writeable. Filemanager is installed and configured to allow large files and unlimited files in the directory (-1).
When I try to add an attachment I get the following message:
"File copy failed: no directory configured, or it could not be accessed.
Error saving upload to filestore"
Do I need filestore2 installed? I didn't think so, based on the readme and install documents for attachment.
Fscache has been uninstalled, along with filestore2, so I really don't know why I'm getting this message. My Drupal 4.5.2 installation is in a subfolder (www.mysite/drupal/), but filemanager seems to detect the directories just fine. I hope someone can help me with this issue, as I would like more functionality with file attachments. Thank you
Comments
Comment #1
ccourtne commentedAre you running on windows? If so try this patch
http://drupal.org/node/10885
Comment #2
bomarmonk commentedAlso, I would add that once I uninstalled attachment.module and filemanager.module, the core upload module started to work properly again! For awhile, I couldn't even upload pdf files without generating a bad document (I couldn't view the .pdf-- only an error message).
I'm not sure if this is because of a configuration/installation mistake on my end. But if this is a bug, it certainly is a nasty one. Either way, there should probably be more documentation at least.
I hope I can get the attachment module to work for me, because it allows attachment titles-- but maybe I can hack the upload module to include this...
Comment #3
bomarmonk commentedHmmm... I think my hosted account is on an apache server and I'm not running Drupal CVS, but Drupal 4.5.2... should I still try this patch? Thanks for the help...
Comment #4
bomarmonk commentedCcourtne, your suggested patch for file.inc did the trick. Now attachments load properly through the attachment module. Thank you!
Now, if I could get filestore2 and fscache to work, I could decide if I even need them... but that's a post for a different place. Thanks again!
Comment #5
bomarmonk commentedSetting this issue to fixed...
Comment #6
dan90@drupal.org commented...This isn't just a windows bug, no? It certainly fixed my Linux-Apache attachment issues.
Comment #7
(not verified) commented