Closed (cannot reproduce)
Project:
Web File Manager
Version:
6.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2009 at 15:16 UTC
Updated:
13 Nov 2010 at 15:23 UTC
I'm regularly getting the following error in my log files:
Missing argument 1 for webfm_send_file() in ... webfm.module on line 2316
This is always followed by a page not found error .../webfm_send/
These 2 errors are always followed by an identical pair of the same errors.
I can reproduce the error in IE8:
I'm assuming my users are opening the files OK, I certainly can, even though the error messages are being generated.
Thanks for any help.
Adi
Comments
Comment #1
a.bond commentedI'm experiencing this issue also, is there any progress in fixing it?
Comment #2
nhck commentedI just tested this real quick and noticed that besides the described problem the path is also not created correctly.
Comment #3
cgmonroe commentedDid some tracing on this and found the following sequence in my access.log file.
For some reason, IE is making an HTTP OPTIONS method (request for communication options) using the "directory URL", e.g. /webfm_send/ and not the full URL. This is being passed to the webfm_send function with out the required file id parameter. This causes the WARNING message about a function being called without a required parameter.
The download action occurs as it should via the GET command. Since IE (or Word Previewer?) is responsible for making the invalid request, the download requests works, and the message in the log is actually just a WARNING message, I'm downgrading this bug to minor.
If the message bothers you, here's a quick code change that will fix it:
Comment #4
nhck commentedHello,
thank you for reporting this. In my opinion this shouldn't happen with the latest dev version anymore.
Thanks.
Comment #5
nhck commentedHello,
thank you for reporting this. In my opinion this shouldn't happen with the latest dev version anymore.
Thanks.