Just to see if I might be running into a conflict with another module, I made a fresh installation in a new directory from the most recent tarball.

After installation, I created a files directory under the test directory, and a tmp directory under that. Both were given 777 permissions and set in File Settings. I also checked both upload permissions for authenticated users just to make sure.

The only user in the system is me, user 1.

Here's what I'm getting:

In IE, I browse to a file to upload and press the Attach button. A new window pops up (url: /?q=upload/js) and displays:


{ "status": true, "data": "\x3ctable\x3e\n \x3cthead\x3e\x3ctr\x3e\x3cth\x3eDelete\x3c/th\x3e\x3cth\x3eList\x3c/th\x3e\x3cth\x3eDescription\x3c/th\x3e\x3cth\x3eSize\x3c/th\x3e \x3c/tr\x3e\x3c/thead\x3e\n\x3ctbody\x3e\n \x3ctr class=\"odd\"\x3e\x3ctd\x3e\x3cdiv class=\"form-item\"\x3e\n \x3cinput type=\"checkbox\" name=\"edit[files][upload_0][remove]\" id=\"edit-files-upload_0-remove\" value=\"1\" class=\"form-checkbox\" /\x3e\n\x3c/div\x3e\n\x3c/td\x3e\x3ctd\x3e\x3cdiv class=\"form-item\"\x3e\n \x3cinput type=\"checkbox\" name=\"edit[files][upload_0][list]\" id=\"edit-files-upload_0-list\" value=\"1\" checked=\"checked\" class=\"form-checkbox\" /\x3e\n\x3c/div\x3e\n\x3c/td\x3e\x3ctd\x3e\x3cdiv class=\"form-item\"\x3e\n \x3cinput type=\"text\" maxlength=\"256\" name=\"edit[files][upload_0][description]\" id=\"edit-files-upload_0-description\" size=\"60\" value=\"Lindas_Bio.pdf\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3e\x3csmall\x3ehttp://www.powerkeyspub.com/test/?q=system/files/Lindas_Bio.pdf\x3c/small\x3e\x3c/div\x3e\n\x3c/div\x3e\n\x3c/td\x3e\x3ctd\x3e239.28 KB\x3c/td\x3e \x3c/tr\x3e\n\x3c/tbody\x3e\x3c/table\x3e\n\x3cdiv id=\"attach-hide\"\x3e\x3cdiv class=\"form-item\"\x3e\n \x3clabel for=\"edit-upload\"\x3eAttach new file: \x3c/label\x3e\n \x3cinput type=\"file\" name=\"edit[upload]\" class=\"form-file\" id=\"edit-upload\" size=\"40\" /\x3e\n\n\x3c/div\x3e\n\x3cinput type=\"submit\" name=\"attach\" value=\"Attach\" id=\"attach\" class=\"form-submit\" /\x3e\n\x3c/div\x3e\x3cinput type=\"hidden\" name=\"edit[attach]\" id=\"edit-attach\" value=\"http://www.powerkeyspub.com/test/?q=upload/js\" class=\"upload\" /\x3e\n\x3cinput type=\"hidden\" name=\"edit[vid]\" id=\"edit-vid\" value=\"\" /\x3e\n" }

The original page continues to show a animated graphic in place of the file upload box and never completes.

Pressing the Submit button for the new node doesn't change anything.

In Firefox, the same happens except that there is no popup window showing anything.

What can I do to fix the upload module?

New Info: I saw the file upload field on this page and noticed that there is no Attach button on it, so I went back to my test installation and tried adding a file without using the Attach button, but rather simply using the node Submit button. That worked.

So I guess my question is "Why is there an Attach button, and how do I make sure my users won't run into any problems with it?"