Closed (cannot reproduce)
Project:
Web File Manager
Version:
6.x-2.10-rc3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2008 at 18:33 UTC
Updated:
10 Jun 2012 at 18:36 UTC
Am on drupal 6.2.
Problem:
1) Uploading: get an "unspecified error" message (no extra info in debug console). Oddly the file gets created on the server just fine.
2) when browsing a directory that has files in it, it will not list the files. Directories however get listed fine and the tree works as well.
Issue 1) may simply be due to the fact that it calls 2) after the upload is complete.
Other info:
- using pathauto and freelinking modules and site is using SSL with a self-signed certificate.
Anyone else run into this?
Comments
Comment #1
stantale commentedFirebug Info:
?q=webfm_js&action=read¶m0=%252Fwebfm%252Fwiki (this is the correct path relative to the files directory)
the firebug response body is completely empty.
Response Headers
Date Thu, 11 Dec 2008 18:52:07 GMT
Server Apache/2.0.59 (CentOS)
X-Powered-By PHP/5.1.6
Expires Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified Thu, 11 Dec 2008 18:52:07 GMT
Cache-Control store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Length 0
Connection close
Content-Type text/html; charset=utf-8
Request Headers
Host myhost....
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Content-Type application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With XMLHttpRequest
Referer https://myhost...
Content-Length 38
Cookie SESS360d5a017bdcce41288656ed6d751760=pqgfhksp9gq6rbqkrnvji0gnb0; has_js=1
Comment #2
robmilne commentedOften there are bad synergies with the javascript of other modules. Experiment with disabling other contrib modules - I know from what others have said that Devel causes webfm to malfunction.
Comment #3
nhck commentedI get this error message in Drupal 6.8, Opera(9.63) as well, but only after the first upload.
this is the error log:
Comment #4
tlhong commentedThere may be a line missing ";". Check the js/webfm.js line 149. After I add semicolon at the end. It seems to work.
Webfm.attachFormInput = "edit-attachlist";
Comment #5
robmilne commentedThanks for noticing the missing ';'. I'm used to compilers which point out these kinds of omissions.
Comment #6
akeimou commentedi had exact same problem. moreover, the newly uploaded file shows up in the directory listing after a page refresh but the context menu on right-click disappears every now and then so that it was not possible to attach the file to a node.
tried disabling other contrib modules as suggested by robmilne and found that disabling Secure Pages module makes all webfm troubles disappear. this led to discovery that SSL Engine was not turned on in the Apache server settings for the site! so, had that turned on, enabled Secure Pages, and problem is gone.
i'm sure "Unspecified Error" problem can be caused by different things but mine was due to incorrect SSL setup.
Comment #7
cgmonroe commentedFWIW - The "Unspecified Error" is produced by the Drupal JSON function. This function is used on every Ajax call Drupal makes and I believe only returns this when the response string passed to it is null or empty. If it can't parse the response, it returns the string it was passed.
So, with SSL not responding to Ajax calls, you got an empty string (but with a 200 OK response?) and that caused the unspecified error.
Comment #8
nhck commented-
Comment #9
nhck commentedComment #10
nhck commentedI'm closing this ghost bug. We need more input with a more recent version.