Attaching/uploading seems to work just fine. When viewing a node with an attachmen on the main page, the link to the attachment works fine. But whan viewing the node on any other page, the link is built with a relative path and it doesn't point to the file.

For example, let's say I attach a file to node 59. On the main page, the link to the file is built as http://mysite.com/files/active/0/file.gif

But if I click on the title for node 59, I go to http://mysite.com/node/59, and on that page, the link to the file is built as http://mysite/node/files/active/0/file.gif

Using:
Drupal 4.7
filemanager cvs April 20, 2006
attachment cvs April 7, 2006

Comments

skor’s picture

Also noticed some error messages in the log:

fopen(private/filemanager.lck): failed to open stream: No such file or directory in /home/username/public_html/drupal/modules/filemanager/filemanager.module on line 760.

flock(): supplied argument is not a valid stream resource in /home/usrname/public_html/drupal/modules/filemanager/filemanager.module on line 761.

flock(): supplied argument is not a valid stream resource in /home/username/public_html/drupal/modules/filemanager/filemanager.module on line 766.

fclose(): supplied argument is not a valid stream resource in /home/username/public_html/drupal/modules/filemanager/filemanager.module on line 767.
Julien PHAM’s picture

Priority: Normal » Critical

I have exactly the same problem, and I find it is a critical bug as it prevents attached files to work...