Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Dear drupalers,
Something strange happens with filefield. I'm currently using windows 2008 with apache as server and the miles directory of my drupal install is a symlink to another location on another drive. This all works well...
If I create a new node (page) and I upload a file it uploads it and works fine, the symlink is active. But as soon as I save it (or edit and save a node) it deletes my symlink of 'files'.
Could anyone please help me...
Comments
Comment #1
dmcdenissen CreditAttribution: dmcdenissen commentedWell, after searching for hours and going through a trail and error set, I've found the problem for some reason in the module of filefield_paths there is a function named: filefield_paths_cleanup_temp that caused the problem. It deleted my files symlink for some reason.
I commented the 'rmdir' lines of this function but does someone know if this can become a problem in the future ?
Comment #2
quicksketchComment #3
Deciphered CreditAttribution: Deciphered commentedNo longer supporting Drupal 6 issues for this module.